be.ac.vub.cocompose.eclipse.wizards
Class ModelWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewFileCreationPage
be.ac.vub.cocompose.eclipse.wizards.ModelWizardPage
- All Implemented Interfaces:
- EventListener, IDialogPage, IMessageProvider, IWizardPage, Listener, SelectionListener, SWTEventListener
- public class ModelWizardPage
- extends WizardNewFileCreationPage
- implements SelectionListener
Page for the NewModelWizard.
- Since:
- 0.2.0
- Version:
- 0.2.6, 08/03/2004
- Author:
- Dennis Wagelaar
- See Also:
NewModelWizard
Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage |
createAdvancedControls, createFile, createFileHandle, createLinkTarget, createNewFile, getContainerFullPath, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setContainerFullPath, setFileName, setVisible, validateLinkedResource, validatePage |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage |
ModelWizardPage
public ModelWizardPage(IWorkbench workbench,
IStructuredSelection selection)
- Creates a ModelWizardPage.
- Parameters:
workbench
- - The Eclipse workbench.selection
- - The selection to listen for.
createControl
public void createControl(Composite parent)
- Specified by:
createControl
in interface IDialogPage
- See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)
widgetSelected
public void widgetSelected(SelectionEvent e)
- Specified by:
widgetSelected
in interface SelectionListener
- See Also:
SelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent e)
- Specified by:
widgetDefaultSelected
in interface SelectionListener
- See Also:
SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
finish
public boolean finish()
- Finishes this wizard page.
- Returns:
- true if and only if this page finished succesfully.