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
public class ServiceLevelObjectiveThresholdPage extends WizardPage
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
Constructors Constructor Description ServiceLevelObjectiveThresholdPage(SloThresholdWizardModel model)
Constructor for the threshold selection page
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
chartSeriesHelper(Double[] input, double i)
void
createControl(Composite parent)
This method initializes and manages SWT-UI elements for the threshold wizard page.void
finishTresholds()
This method calls preparation methods for saving thresholds depending on the thresholds selected by the user.void
performHelp()
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 Detail
-
ServiceLevelObjectiveThresholdPage
public ServiceLevelObjectiveThresholdPage(SloThresholdWizardModel model)
Constructor for the threshold selection page- Parameters:
model
- the model of the Service Level Objective Threshold page
-
-
Method Detail
-
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
public void createControl(Composite parent)
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
public double chartSeriesHelper(Double[] input, double i)
-
performHelp
public void performHelp()
- Specified by:
performHelp
in interfaceIDialogPage
- Overrides:
performHelp
in classDialogPage
-
-