org.eclipse.mtl.ide.ui.wizards.newproject
Class MTLNewProjectUIWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.mtl.ide.ui.wizards.newproject.MTLNewProjectUIWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class MTLNewProjectUIWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard

A wizard to create a new UI launcher (i.e an eclipse plug-in) for one or several MTL modules.


Field Summary
static java.lang.String MODULE_UI_NAME_PREFIX
          Default prefix of the new UI launcher.
static java.lang.String MODULE_UI_NAME_SUFFIX
          Default suffix of the new UI launcher.
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
MTLNewProjectUIWizard()
          Constructor.
 
Method Summary
 void addPages()
          
 void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
          
 MTLNewUIConfigurationPage getConfigurationPage()
          Gets the wizard page used to configure the UI of the new module launcher.
 org.eclipse.ui.dialogs.WizardNewProjectCreationPage getNewProjectPage()
          Gets the new project wizard page.
 org.eclipse.ui.dialogs.WizardNewProjectReferencePage getProjectReferencesPage()
          Gets the wizard page where the MTL modules have been selected.
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection aSelection)
          
 boolean performFinish()
          
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Field Detail

MODULE_UI_NAME_PREFIX

public static final java.lang.String MODULE_UI_NAME_PREFIX
Default prefix of the new UI launcher.

See Also:
Constant Field Values

MODULE_UI_NAME_SUFFIX

public static final java.lang.String MODULE_UI_NAME_SUFFIX
Default suffix of the new UI launcher.

See Also:
Constant Field Values
Constructor Detail

MTLNewProjectUIWizard

public MTLNewProjectUIWizard()
Constructor.

Method Detail

getNewProjectPage

public org.eclipse.ui.dialogs.WizardNewProjectCreationPage getNewProjectPage()
Gets the new project wizard page.

Returns:
the new project wizard page

getProjectReferencesPage

public org.eclipse.ui.dialogs.WizardNewProjectReferencePage getProjectReferencesPage()
Gets the wizard page where the MTL modules have been selected.

Returns:
the MTL modules wizard page

getConfigurationPage

public MTLNewUIConfigurationPage getConfigurationPage()
Gets the wizard page used to configure the UI of the new module launcher.

Returns:
the UI page of the new module launcher

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection aSelection)

Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard
See Also:
IWorkbenchWizard.init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)

addPages

public void addPages()

Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard
See Also:
Wizard.addPages()

createPageControls

public void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)

Specified by:
createPageControls in interface org.eclipse.jface.wizard.IWizard
Overrides:
createPageControls in class org.eclipse.jface.wizard.Wizard
See Also:
Wizard.createPageControls(org.eclipse.swt.widgets.Composite)

performFinish

public boolean performFinish()

Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard
See Also:
Wizard.performFinish()

Copyright 2008 Obeo
All Rights Reserved.