Class RepresentationCreationPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.editors.sirius.ui.wizard.model.RepresentationCreationPage
- All Implemented Interfaces:
EventListener,IDialogPage,IMessageProvider,IWizardPage,ModifyListener,SelectionListener,SWTEventListener
public class RepresentationCreationPage
extends WizardPage
implements SelectionListener, ModifyListener
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(Composite parent) Returns the entered representation name.booleanbooleanReturns whether the user wants to create a representation or not.voidvoidsetDefaultRepresentationName(String defaultRepresentationName) voidvoidMethods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
-
Constructor Details
-
RepresentationCreationPage
protected RepresentationCreationPage()
-
-
Method Details
-
isPageComplete
public boolean isPageComplete()- Specified by:
isPageCompletein interfaceIWizardPage- Overrides:
isPageCompletein classWizardPage
-
setDefaultRepresentationName
-
createControl
- Specified by:
createControlin interfaceIDialogPage
-
widgetSelected
- Specified by:
widgetSelectedin interfaceSelectionListener
-
widgetDefaultSelected
- Specified by:
widgetDefaultSelectedin interfaceSelectionListener
-
getRepresentationName
Returns the entered representation name. Only valid ifisRepresentationCreationEnabled()returns true.- Returns:
- the representation name
- See Also:
-
isRepresentationCreationEnabled
public boolean isRepresentationCreationEnabled()Returns whether the user wants to create a representation or not.- Returns:
- the decision
-
modifyText
- Specified by:
modifyTextin interfaceModifyListener
-