Class SelectEcorePage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.eclipse.emf.ecp.view.internal.editor.handler.SelectEcorePage
-
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.wizard.IWizardPage
public class SelectEcorePage extends org.eclipse.jface.wizard.WizardPage
Wizard page for selecting an Ecore.
-
-
Constructor Summary
Constructors Constructor Description SelectEcorePage(java.lang.String pageName)
Creates a new Ecore selection wizard page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(org.eclipse.swt.widgets.Composite parent)
java.lang.Object
getSelectedContainer()
java.lang.String
getText1()
Returns the path of the selected Ecore as specified in the text field of the page.void
setSelectedContainer(java.lang.Object object)
Sets the selected Ecore container.void
setVisible(boolean visible)
-
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
-
-
-
-
Method Detail
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
-
getText1
public java.lang.String getText1()
Returns the path of the selected Ecore as specified in the text field of the page.- Returns:
- the path as a String
-
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in classorg.eclipse.jface.dialogs.DialogPage
- See Also:
DialogPage.setVisible(boolean)
-
setSelectedContainer
public void setSelectedContainer(java.lang.Object object)
Sets the selected Ecore container.- Parameters:
object
- the container
-
getSelectedContainer
public java.lang.Object getSelectedContainer()
- Returns:
- the container of the EClass. It can either be an IFile or an EPackage.
-
-