eclipse plugin: Add the wesnoth wizards directly to the new menu
This commit is contained in:
parent
175c7de3a2
commit
344e5ff25a
2 changed files with 13 additions and 3 deletions
|
@ -138,6 +138,9 @@
|
|||
icon="icons/wesnoth-icon_16.png"
|
||||
id="org.wesnoth.wizards.NewConfigFileWizard"
|
||||
name="Wesnoth file wizard (.cfg)">
|
||||
<description>
|
||||
Creates a new config file
|
||||
</description>
|
||||
</wizard>
|
||||
<wizard
|
||||
category="org.wesnoth.wizards"
|
||||
|
@ -158,7 +161,7 @@
|
|||
name="Wesnoth Campaign"
|
||||
project="true">
|
||||
<description>
|
||||
Create a Wesnoth campaign.
|
||||
Create a new Wesnoth campaign.
|
||||
</description>
|
||||
</wizard>
|
||||
<wizard
|
||||
|
|
|
@ -21,8 +21,15 @@ public class WMLPerspective implements IPerspectiveFactory
|
|||
public void createInitialLayout(IPageLayout layout)
|
||||
{
|
||||
// Add "new wizards".
|
||||
layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder"); //$NON-NLS-1$
|
||||
layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.file"); //$NON-NLS-1$
|
||||
layout.addNewWizardShortcut( "org.eclipse.ui.wizards.new.folder" ); //$NON-NLS-1$
|
||||
layout.addNewWizardShortcut( "org.eclipse.ui.wizards.new.file" ); //$NON-NLS-1$
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.NewConfigFileWizard" );
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.emptyProjectWizard" );
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.CampaignNewWizard" );
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.ScenarioNewWizard" );
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.eraNewWizard" );
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.factionNewWizard" );
|
||||
layout.addNewWizardShortcut( "org.wesnoth.wizards.wizardLauncher" );
|
||||
|
||||
// Add "show views".
|
||||
layout.addShowViewShortcut(IPageLayout.ID_PROJECT_EXPLORER);
|
||||
|
|
Loading…
Add table
Reference in a new issue