Class IncludeViewModelProviderXmiFileExtensionPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.eclipse.emf.ecp.view.model.presentation.IncludeViewModelProviderXmiFileExtensionPage
-
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.wizard.IWizardPage
public class IncludeViewModelProviderXmiFileExtensionPage extends org.eclipse.jface.wizard.WizardPage
Wizard page allowing the selection of whether a contribution to the view model extension point should be made.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IncludeViewModelProviderXmiFileExtensionPage(java.lang.String pageName)
Creates a new wizard page with the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(org.eclipse.swt.widgets.Composite parent)
boolean
isContributeToExtensionOptionSelected()
Returnstrue
if the option to contribute the view model to the extension point is selected.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)
-
isContributeToExtensionOptionSelected
public boolean isContributeToExtensionOptionSelected()
Returnstrue
if the option to contribute the view model to the extension point is selected.- Returns:
- whether the contribution to the extension point was selected
-
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in classorg.eclipse.jface.dialogs.DialogPage
-
-