eclipse plugin: More updates for the 'Wesnoth_Eclipse_plugin'...
...to 'org.wesnoth' transition
This commit is contained in:
parent
9716060a65
commit
6ece0da5d1
9 changed files with 35 additions and 32 deletions
|
@ -13,7 +13,7 @@ DEL keystore
|
|||
echo generating key...
|
||||
keytool.exe -genkey -dname "cn=Battle for Wesnoth, ou=Wesnoth, o=Wesnoth" -alias wesnoth -keypass %1 -keystore keystore -storepass %2 -validity 1095
|
||||
echo signing feature
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/Wesnoth_Eclipse_Plugin_%PLUGIN_VERSION%.jar wesnoth
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/org.wesnoth.feature_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml_%PLUGIN_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml.ui_%PLUGIN_VERSION%.jar
|
||||
|
|
|
@ -382,8 +382,11 @@ litigation.
|
|||
</plugins>
|
||||
|
||||
<features>
|
||||
<feature id="Wesnoth_Eclipse_Plugin" version="1.0.2"/>
|
||||
<feature id="org.eclipse.equinox.executable"/>
|
||||
<feature id="org.wesnoth.feature" version="1.0.3"/>
|
||||
<feature id="org.eclipse.rcp" version="3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY"/>
|
||||
<feature id="org.eclipse.equinox.p2.discovery.feature" version="1.0.1.R36x_v20110210-4-09oB5865H6L02434"/>
|
||||
<feature id="org.eclipse.equinox.p2.user.ui" version="2.0.1.r361_v20100903-897HFa-FX0z-z-ntoaavz0JPX628"/>
|
||||
</features>
|
||||
|
||||
<configurations>
|
||||
|
|
|
@ -289,7 +289,7 @@
|
|||
pattern="org.eclipse.ui.navigator.resources.filters.*">
|
||||
</contentExtension>
|
||||
<contentExtension
|
||||
pattern="wesnoth_eclipse_plugin.navigator.filters.*">
|
||||
pattern="org.wesnoth.navigator.filters.*">
|
||||
</contentExtension>
|
||||
</includes>
|
||||
</viewerContentBinding>
|
||||
|
@ -482,7 +482,7 @@
|
|||
<visibility>
|
||||
<objectState
|
||||
name="projectNature"
|
||||
value="Wesnoth_Eclipse_Plugin.wesnothNature">
|
||||
value="org.wesnoth.builder.WesnothProjectNature">
|
||||
</objectState>
|
||||
</visibility>
|
||||
</objectContribution>
|
||||
|
@ -527,49 +527,49 @@
|
|||
<extension
|
||||
point="org.eclipse.ui.commands">
|
||||
<category
|
||||
id="Wesnoth_Eclipse_Plugin.commands.category"
|
||||
id="org.wesnoth.commands.category"
|
||||
name="Wesnoth">
|
||||
</category>
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.OpenEditorHandler"
|
||||
description="Opens the wesnoth editor"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.openEditor"
|
||||
id="org.wesnoth.commands.openEditor"
|
||||
name="openeditor">
|
||||
</command>
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.ImportMapHandler"
|
||||
description="Import an existing map into the current maps folder"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.importMap"
|
||||
id="org.wesnoth.commands.importMap"
|
||||
name="importMap">
|
||||
</command>
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.OpenGameHandler"
|
||||
description="Opens the game"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.openGame"
|
||||
id="org.wesnoth.commands.openGame"
|
||||
name="openGame">
|
||||
</command>
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.OpenMapInEditorHandler"
|
||||
description="Opens the selected map in the map editor"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.openMapInEditor"
|
||||
id="org.wesnoth.commands.openMapInEditor"
|
||||
name="openMapInEditor">
|
||||
</command>
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.SetupWorkspaceHandler"
|
||||
description="Setups the workspace"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.setupWorkspace"
|
||||
id="org.wesnoth.commands.setupWorkspace"
|
||||
name="setupWorkspace">
|
||||
</command>
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.ReloadFilesHandler"
|
||||
description="Reloads all plugin related files"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.reloadFiles"
|
||||
id="org.wesnoth.commands.reloadFiles"
|
||||
name="reloadFiles">
|
||||
</command>
|
||||
<!--
|
||||
<command
|
||||
defaultHandler="org.wesnoth.handlers.TestHandler"
|
||||
id="Wesnoth_Eclipse_Plugin.commands.test"
|
||||
id="org.wesnoth.commands.test"
|
||||
name="test command">
|
||||
</command>
|
||||
-->
|
||||
|
@ -580,20 +580,20 @@
|
|||
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
|
||||
<menu
|
||||
icon="icons/wesnoth-icon_16.png"
|
||||
id="Wesnoth_Eclipse_Plugin.menus.wesnothMenu"
|
||||
id="org.wesnoth.menus.wesnothMenu"
|
||||
label="Wesnoth"
|
||||
mnemonic="s">
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.openEditor"
|
||||
commandId="org.wesnoth.commands.openEditor"
|
||||
icon="icons/wesnoth_editor-icon_16.png"
|
||||
id="Wesnoth_Eclipse_Plugin.menus.openEditor"
|
||||
id="org.wesnoth.menus.openEditor"
|
||||
label="Open editor"
|
||||
mnemonic="e">
|
||||
</command>
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.openGame"
|
||||
commandId="org.wesnoth.commands.openGame"
|
||||
icon="icons/wesnoth-icon_16.png"
|
||||
id="Wesnoth_Eclipse_Plugin.menus.openGame"
|
||||
id="org.wesnoth.menus.openGame"
|
||||
label="Open game"
|
||||
mnemonic="g">
|
||||
</command>
|
||||
|
@ -602,12 +602,12 @@
|
|||
visible="true">
|
||||
</separator>
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.importMap"
|
||||
commandId="org.wesnoth.commands.importMap"
|
||||
icon="icons/wesnoth_editor-icon_16.png"
|
||||
label="Import Map">
|
||||
</command>
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.openMapInEditor"
|
||||
commandId="org.wesnoth.commands.openMapInEditor"
|
||||
icon="icons/wesnoth_editor-icon_16.png"
|
||||
label="Open map with editor"
|
||||
style="push">
|
||||
|
@ -617,12 +617,12 @@
|
|||
visible="true">
|
||||
</separator>
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.setupWorkspace"
|
||||
commandId="org.wesnoth.commands.setupWorkspace"
|
||||
label="Setup Workspace"
|
||||
style="push">
|
||||
</command>
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.reloadFiles"
|
||||
commandId="org.wesnoth.commands.reloadFiles"
|
||||
label="Reload cache"
|
||||
style="push">
|
||||
</command>
|
||||
|
@ -641,7 +641,7 @@
|
|||
</separator>
|
||||
<!--
|
||||
<command
|
||||
commandId="Wesnoth_Eclipse_Plugin.commands.test"
|
||||
commandId="org.wesnoth.commands.test"
|
||||
label="Test (FOR DEBUG ONLY!!)"
|
||||
style="push">
|
||||
</command>
|
||||
|
@ -676,12 +676,12 @@
|
|||
</page>
|
||||
</extension>
|
||||
<extension
|
||||
id="Wesnoth_Eclipse_Plugin.perspectives"
|
||||
id="org.wesnoth.perspectives"
|
||||
point="org.eclipse.ui.perspectives">
|
||||
<perspective
|
||||
class="org.wesnoth.product.WMLPerspective"
|
||||
icon="icons/wesnoth_editor-icon_16.png"
|
||||
id="Wesnoth_Eclipse_Plugin.product.perspective"
|
||||
id="org.wesnoth.product.WMLPerspective"
|
||||
name="Wesnoth">
|
||||
</perspective>
|
||||
</extension>
|
||||
|
|
|
@ -20,7 +20,7 @@ public class Constants
|
|||
/** Plugin related */
|
||||
public static final String PLUGIN_FULL_PATH =
|
||||
Constants.class.getProtectionDomain().getCodeSource().getLocation().getPath() + "/"; //$NON-NLS-1$
|
||||
public static final String PLUGIN_ID = "Wesnoth_Eclipse_Plugin"; //$NON-NLS-1$
|
||||
public static final String PLUGIN_ID = "org.wesnoth"; //$NON-NLS-1$
|
||||
|
||||
/**
|
||||
* The boolean value whether this machine is running windows or not
|
||||
|
@ -71,7 +71,7 @@ public class Constants
|
|||
public static final int WIZ_MaxWizardPageHeight = 220;
|
||||
|
||||
/** Builder Constants **/
|
||||
public static final String BUIILDER_WESNOTH = "Wesnoth_Eclipse_Plugin.projectBuilder"; //$NON-NLS-1$
|
||||
public static final String BUIILDER_WESNOTH = "org.wesnoth.builder.WesnothProjectBuilder"; //$NON-NLS-1$
|
||||
public static final String BUILDER_XTEXT = XtextProjectHelper.BUILDER_ID;
|
||||
|
||||
/** Markers **/
|
||||
|
@ -79,7 +79,7 @@ public class Constants
|
|||
public static final String MARKER_WMLLINT = "org.wesnoth.marker.wmllint"; //$NON-NLS-1$
|
||||
|
||||
/** Nature Constants **/
|
||||
public static final String NATURE_WESNOTH = "Wesnoth_Eclipse_Plugin.wesnothNature"; //$NON-NLS-1$
|
||||
public static final String NATURE_WESNOTH = "org.wesnoth.builder.WesnothProjectNature"; //$NON-NLS-1$
|
||||
public static final String NATURE_XTEXT = XtextProjectHelper.NATURE_ID;
|
||||
|
||||
/** Templates related */
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.wesnoth.utils.WorkspaceUtils;
|
|||
|
||||
public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisorHack {
|
||||
|
||||
private static final String PERSPECTIVE_ID = "Wesnoth_Eclipse_Plugin.product.perspective"; //$NON-NLS-1$
|
||||
private static final String PERSPECTIVE_ID = "org.wesnoth.product.WMLPerspective"; //$NON-NLS-1$
|
||||
|
||||
@Override
|
||||
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
|
||||
|
|
|
@ -42,7 +42,7 @@ public class WizardUtils
|
|||
wizardDialog.getShell().setLocation(x, y);
|
||||
wizardDialog.setHelpAvailable(true);
|
||||
Activator.getDefault().getWorkbench().getHelpSystem().setHelp(wizardDialog.getShell(),
|
||||
"Wesnoth_Eclipse_Plugin.wizardHelp"); //$NON-NLS-1$
|
||||
"org.wesnoth.help.wizardHelp"); //$NON-NLS-1$
|
||||
|
||||
return wizardDialog.open();
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public class NewWizardPageTemplate extends WizardPage
|
|||
public void createControl(Composite parent)
|
||||
{
|
||||
Activator.getDefault().getWorkbench().getHelpSystem().setHelp(getShell(),
|
||||
"Wesnoth_Eclipse_Plugin.wizardHelp"); //$NON-NLS-1$
|
||||
"org.wesnoth.wizardHelp"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,7 +28,7 @@ public class CampaignPage0 extends WizardNewProjectCreationPage
|
|||
setMessage(Messages.CampaignPage0_2);
|
||||
|
||||
Activator.getDefault().getWorkbench().getHelpSystem().setHelp(getShell(),
|
||||
"Wesnoth_Eclipse_Plugin.wizardHelp"); //$NON-NLS-1$
|
||||
"org.wesnoth.wizardHelp"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,6 +28,6 @@ public class EmptyProjectPage0 extends WizardNewProjectCreationPage
|
|||
setMessage(Messages.EmptyProjectPage0_2);
|
||||
|
||||
Activator.getDefault().getWorkbench().getHelpSystem().setHelp(getShell(),
|
||||
"Wesnoth_Eclipse_Plugin.wizardHelp"); //$NON-NLS-1$
|
||||
"org.wesnoth.wizardHelp"); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue