de.cau.cs.kieler.core.model.graphiti.ui
Class CreationWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewFileCreationPage
de.cau.cs.kieler.core.model.graphiti.ui.CreationWizardPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IWizardPage, Listener
public class CreationWizardPage
- extends WizardNewFileCreationPage
Wizard page to create diagram or model files.
- Rating

Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage |
createAdvancedControls, createFile, createFileHandle, createLinkTarget, createNewFile, createRule, getContainerFullPath, getFileExtension, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setAllowExistingResources, setContainerFullPath, setFileExtension, setFileName, 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 |
CreationWizardPage
public CreationWizardPage(String pageName,
IStructuredSelection selection,
String theextension)
- Creates a page with given settings.
- Parameters:
pageName
- the name of the pageselection
- the current resource selectiontheextension
- the file extension
createControl
public void createControl(Composite parent)
-
- Specified by:
createControl
in interface IDialogPage
- Overrides:
createControl
in class WizardNewFileCreationPage
getURI
public URI getURI()
- Creates a URI for the selected file path.
- Returns:
- a URI for the file
setVisible
public void setVisible(boolean visible)
-
- Specified by:
setVisible
in interface IDialogPage
- Overrides:
setVisible
in class WizardNewFileCreationPage