public class SelectEClassWizardPage
extends org.eclipse.jface.wizard.WizardPage
EClass
from a given container.Constructor and Description |
---|
SelectEClassWizardPage()
Creates a new EClass selection wizard page.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
List<org.eclipse.emf.ecore.EClass> |
getSelectedEClasses()
Returns the EClasses selected by the user in the wizard page.
|
org.eclipse.emf.ecore.EPackage |
getSelectedEPackage()
Returns the
EPackage container providing the EClasses displayed in the wizard page. |
boolean |
isGenerateViewModelOptionSelected()
Returns whether the option to generate the controls for the created view model is selected.
|
boolean |
isPageComplete() |
void |
setSelectedEClasses(List<org.eclipse.emf.ecore.EClass> selectedEClasses)
Sets the EClasses selected by this wizard page.
|
void |
setSelectedEPackage(org.eclipse.emf.ecore.EPackage selectedEPackage)
Sets the EPackage container from which the EClasses will be selected in the wizard page.
|
void |
setVisible(boolean visible) |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
public SelectEClassWizardPage()
public void createControl(org.eclipse.swt.widgets.Composite parent)
public void setVisible(boolean visible)
setVisible
in interface org.eclipse.jface.dialogs.IDialogPage
setVisible
in class org.eclipse.jface.dialogs.DialogPage
public boolean isGenerateViewModelOptionSelected()
true
if the option is selectedpublic org.eclipse.emf.ecore.EPackage getSelectedEPackage()
EPackage
container providing the EClasses displayed in the wizard page.public void setSelectedEPackage(org.eclipse.emf.ecore.EPackage selectedEPackage)
selectedEPackage
- the ePackage to setpublic void setSelectedEClasses(List<org.eclipse.emf.ecore.EClass> selectedEClasses)
selectedEClasses
- the selectedEClasses to setpublic List<org.eclipse.emf.ecore.EClass> getSelectedEClasses()
public boolean isPageComplete()
isPageComplete
in interface org.eclipse.jface.wizard.IWizardPage
isPageComplete
in class org.eclipse.jface.wizard.WizardPage
Copyright © 2018. All rights reserved.