Class ModelElementSelectionPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.modelversioning.emfprofile.diagram.part.ModelElementSelectionPage
-
- All Implemented Interfaces:
IDialogPage
,IMessageProvider
,IWizardPage
public class ModelElementSelectionPage extends WizardPage
Wizard page that allows to select element from model.- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected EObject
selectedModelElement
-
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
-
Constructor Summary
Constructors Constructor Description ModelElementSelectionPage(String pageName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(Composite parent)
EObject
getModelElement()
protected String
getSelectionTitle()
Override to provide custom model element description.void
setModelElement(EObject modelElement)
protected void
updateSelection(IStructuredSelection selection)
protected boolean
validatePage()
Override to provide specific validation of the selected model element.-
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, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
-
-
-
-
Field Detail
-
selectedModelElement
protected EObject selectedModelElement
- Generated class or method.
-
-
Constructor Detail
-
ModelElementSelectionPage
public ModelElementSelectionPage(String pageName)
- Generated class or method.
-
-
Method Detail
-
getModelElement
public EObject getModelElement()
- Generated class or method.
-
setModelElement
public void setModelElement(EObject modelElement)
- Generated class or method.
-
createControl
public void createControl(Composite parent)
- Generated class or method.
-
getSelectionTitle
protected String getSelectionTitle()
Override to provide custom model element description.- Generated class or method.
-
updateSelection
protected void updateSelection(IStructuredSelection selection)
- Generated class or method.
-
validatePage
protected boolean validatePage()
Override to provide specific validation of the selected model element.- Generated class or method.
-
-