Class SelectDefaultCombinationsPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.palladiosimulator.edp2.visualization.wizards.SelectDefaultCombinationsPage
-
- All Implemented Interfaces:
IDialogPage,IMessageProvider,ISelectionChangedListener,IWizardPage
public class SelectDefaultCombinationsPage extends WizardPage implements ISelectionChangedListener
Implementation of aWizardPagethat contains a list of visualizations which are able to display the selected data. The list contains both the basic defaults, i.e. registered visualizations only, and defaults as described by extensions to the extension pointorg.palladiosimulator.edp2.visualization.defaultSequences.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSelectDefaultCombinationsPage(String pageName, IDataSource selectedSource)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanFlipToNextPage()voidcreateControl(Composite parent)voidselectionChanged(SelectionChangedEvent event)voidsetSelectedDefault(ChainDescription selection)Forwards the chosen variant to the wizard.IStatusupdatePageStatus()Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
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
-
-
-
-
Constructor Detail
-
SelectDefaultCombinationsPage
protected SelectDefaultCombinationsPage(String pageName, IDataSource selectedSource)
Constructor- Parameters:
pageName- the name of thisWizardPageselectedSource- the source which was selected to invoke the wizard.
-
-
Method Detail
-
canFlipToNextPage
public boolean canFlipToNextPage()
- Specified by:
canFlipToNextPagein interfaceIWizardPage- Overrides:
canFlipToNextPagein classWizardPage
-
createControl
public void createControl(Composite parent)
- Specified by:
createControlin interfaceIDialogPage
-
selectionChanged
public void selectionChanged(SelectionChangedEvent event)
- Specified by:
selectionChangedin interfaceISelectionChangedListener
-
updatePageStatus
public IStatus updatePageStatus()
Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.- Returns:
- the page Status
-
setSelectedDefault
public void setSelectedDefault(ChainDescription selection)
Forwards the chosen variant to the wizard.- Parameters:
selection-
-
-