eclipse plugin: structuring the files in packages
This commit is contained in:
parent
9b8aba0e82
commit
69a832412b
8 changed files with 13 additions and 9 deletions
|
@ -201,7 +201,7 @@
|
|||
<wizard name="Wesnoth Campaign"
|
||||
icon="icons/wesnoth-icon_16.png"
|
||||
category="wesnoth.eclipse.newWizards"
|
||||
class="wesnoth_eclipse_plugin.wizards.CampaignNewWizard"
|
||||
class="wesnoth_eclipse_plugin.wizards.campaign.CampaignNewWizard"
|
||||
id="wesnoth_eclipse_plugin.wizards.CampaignNewWizard"
|
||||
project="true">
|
||||
<description>Create a Wesnoth campaign.</description>
|
||||
|
@ -216,7 +216,7 @@
|
|||
<wizard name="Wesnoth Scenario"
|
||||
icon="icons/wesnoth-icon_16.png"
|
||||
category="wesnoth.eclipse.newWizards"
|
||||
class="wesnoth_eclipse_plugin.wizards.ScenarioNewWizard"
|
||||
class="wesnoth_eclipse_plugin.wizards.scenario.ScenarioNewWizard"
|
||||
id="wesnoth_eclipse_plugin.wizards.ScenarioNewWizard"
|
||||
project="false">
|
||||
<description>Create a Wesnoth campaign.</description>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.campaign;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -19,6 +19,8 @@ import org.eclipse.ui.IWorkbench;
|
|||
import wesnoth_eclipse_plugin.builder.WesnothProjectNature;
|
||||
import wesnoth_eclipse_plugin.utils.Pair;
|
||||
import wesnoth_eclipse_plugin.utils.ResourceUtils;
|
||||
import wesnoth_eclipse_plugin.wizards.ReplaceableParameter;
|
||||
import wesnoth_eclipse_plugin.wizards.TemplateProvider;
|
||||
|
||||
public class CampaignNewWizard extends Wizard implements INewWizard
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.campaign;
|
||||
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @author Timotei Dolean
|
||||
*/
|
||||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.campaign;
|
||||
|
||||
import org.eclipse.jface.wizard.WizardPage;
|
||||
import org.eclipse.swt.SWT;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @author Timotei Dolean
|
||||
*/
|
||||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.campaign;
|
||||
|
||||
import org.eclipse.jface.wizard.WizardPage;
|
||||
import org.eclipse.swt.SWT;
|
|
@ -1,4 +1,4 @@
|
|||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.scenario;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -32,6 +32,8 @@ import org.eclipse.ui.ide.IDE;
|
|||
|
||||
import wesnoth_eclipse_plugin.utils.GUIUtils;
|
||||
import wesnoth_eclipse_plugin.utils.WorkspaceUtils;
|
||||
import wesnoth_eclipse_plugin.wizards.ReplaceableParameter;
|
||||
import wesnoth_eclipse_plugin.wizards.TemplateProvider;
|
||||
|
||||
/**
|
||||
* This is a sample new wizard. Its role is to create a new file resource in the
|
|
@ -1,4 +1,4 @@
|
|||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.scenario;
|
||||
|
||||
import org.eclipse.core.resources.IContainer;
|
||||
import org.eclipse.core.resources.IResource;
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @author Timotei Dolean
|
||||
*/
|
||||
package wesnoth_eclipse_plugin.wizards;
|
||||
package wesnoth_eclipse_plugin.wizards.scenario;
|
||||
|
||||
import org.eclipse.jface.wizard.WizardPage;
|
||||
import org.eclipse.swt.SWT;
|
Loading…
Add table
Reference in a new issue