Class ServiceLevelObjectiveThresholdPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.measurementsui.wizard.pages.ServiceLevelObjectiveThresholdPage
- All Implemented Interfaces:
IDialogPage
,IMessageProvider
,IWizardPage
Wizard page for creating and editing the thresholds of a Service Level Objective
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
ConstructorDescriptionConstructor for the threshold selection page -
Method Summary
Modifier and TypeMethodDescriptiondouble
chartSeriesHelper
(Double[] input, double i) void
createControl
(Composite parent) This method initializes and manages SWT-UI elements for the threshold wizard page.void
This method calls preparation methods for saving thresholds depending on the thresholds selected by the user.void
void
setVisible
(boolean visible) Is used to prevent bugs (force updates) in the graph if user switches back and forth between the wizard pages.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, setButtonLayoutData, setControl, setMessage
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
-
Constructor Details
-
ServiceLevelObjectiveThresholdPage
Constructor for the threshold selection page- Parameters:
model
- the model of the Service Level Objective Threshold page
-
-
Method Details
-
setVisible
public void setVisible(boolean visible) Is used to prevent bugs (force updates) in the graph if user switches back and forth between the wizard pages. This method is called if threshold page gets visible in the wizard.- Specified by:
setVisible
in interfaceIDialogPage
- Overrides:
setVisible
in classDialogPage
-
createControl
This method initializes and manages SWT-UI elements for the threshold wizard page. -
finishTresholds
public void finishTresholds()This method calls preparation methods for saving thresholds depending on the thresholds selected by the user. -
chartSeriesHelper
-
performHelp
public void performHelp()- Specified by:
performHelp
in interfaceIDialogPage
- Overrides:
performHelp
in classDialogPage
-