Class SLOSelectDefaultCombinationsPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.servicelevelobjective.edp2.visualization.wizards.SLOSelectDefaultCombinationsPage
- All Implemented Interfaces:
IDialogPage,IMessageProvider,ISelectionChangedListener,IWizardPage
public class SLOSelectDefaultCombinationsPage
extends WizardPage
implements ISelectionChangedListener
Implementation of a
WizardPage that 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 point
org.palladiosimulator.edp2.visualization.defaultSequences.-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSLOSelectDefaultCombinationsPage(String pageName) Constructor.protectedSLOSelectDefaultCombinationsPage(String pageName, org.palladiosimulator.edp2.datastream.IDataSource selectedSource) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidcreateControl(Composite parent) voidinitializePage(org.palladiosimulator.edp2.datastream.IDataSource selectedSource, boolean showSLOonly) Initializes the page with a newIDataSourceand a new showSLOonly value.voidvoidsetSelectedDefault(org.palladiosimulator.edp2.datastream.chaindescription.ChainDescription selection) Forwards the chosen variant to the wizard.voidsetShowSLOonly(boolean showSLOonly) 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, toStringMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
-
Constructor Details
-
SLOSelectDefaultCombinationsPage
Constructor. Used if this page is invoked without assigning a source.- Parameters:
pageName- the name of thisWizardPage.
-
SLOSelectDefaultCombinationsPage
protected SLOSelectDefaultCombinationsPage(String pageName, org.palladiosimulator.edp2.datastream.IDataSource selectedSource) Constructor- Parameters:
pageName- the name of thisWizardPageselectedSource- the source which was selected to invoke the wizard.
-
-
Method Details
-
canFlipToNextPage
public boolean canFlipToNextPage()- Specified by:
canFlipToNextPagein interfaceIWizardPage- Overrides:
canFlipToNextPagein classWizardPage
-
createControl
- Specified by:
createControlin interfaceIDialogPage
-
selectionChanged
- Specified by:
selectionChangedin interfaceISelectionChangedListener
-
updatePageStatus
Method which handles the status of the wholeWizardPagebased on the different states resulting from inputs.- Returns:
- the page Status
-
setSelectedDefault
public void setSelectedDefault(org.palladiosimulator.edp2.datastream.chaindescription.ChainDescription selection) Forwards the chosen variant to the wizard.- Parameters:
selection-
-
initializePage
public void initializePage(org.palladiosimulator.edp2.datastream.IDataSource selectedSource, boolean showSLOonly) Initializes the page with a newIDataSourceand a new showSLOonly value.- Parameters:
selectedSource- the new sourceshowSLOonly- the new value for this.showSLOonly
-
setShowSLOonly
public void setShowSLOonly(boolean showSLOonly)
-