Class SLODialogChooseSLOPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.servicelevelobjective.edp2.visualization.wizards.SLODialogChooseSLOPage
- All Implemented Interfaces:
IDialogPage
,IMessageProvider
,ISelectionChangedListener
,IWizardPage
A
WizardPage
prompting the user to select a
ServiceLevelObjective
from a list of available
ServiceLevelObjective
. The selected ServiceLevelObjective
is
forwarded to the Wizard
controlling this page. The list of available
ServiceLevelObjective
has to be added to the page via the
setAvailableSLOs method.-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(Composite parent) void
void
setAvailableSLOs
(List<ServiceLevelObjective> availableSLOs) Sets the availableServiceLevelObjective
list and initializes the choiceViewer.Method which handles the status of the wholeWizardPage
based on the different states resulting from inputs.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, 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 Details
-
SLODialogChooseSLOPage
Constructor.- Parameters:
pageName
-
-
-
Method Details
-
createControl
- Specified by:
createControl
in interfaceIDialogPage
-
selectionChanged
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
-
updatePageStatus
Method which handles the status of the wholeWizardPage
based on the different states resulting from inputs.- Returns:
- the page Status
-
setAvailableSLOs
Sets the availableServiceLevelObjective
list and initializes the choiceViewer.- Parameters:
availableSLOs
-
-