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.WizardPageWizard page allowing the selection of whether a contribution to the view model extension point should be made.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIncludeViewModelProviderXmiFileExtensionPage(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 voidcreateControl(org.eclipse.swt.widgets.Composite parent)booleanisContributeToExtensionOptionSelected()Returnstrueif the option to contribute the view model to the extension point is selected.voidsetVisible(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()
Returnstrueif 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:
setVisiblein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisiblein classorg.eclipse.jface.dialogs.DialogPage
-
-