Class ServiceLevelObjectiveThresholdPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.measurementsui.wizard.pages.ServiceLevelObjectiveThresholdPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class ServiceLevelObjectiveThresholdPage extends org.eclipse.jface.wizard.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
    Constructor for the threshold selection page
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    chartSeriesHelper(Double[] input, double i)
     
    void
    createControl(org.eclipse.swt.widgets.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

      public ServiceLevelObjectiveThresholdPage(SloThresholdWizardModel model)
      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 interface org.eclipse.jface.dialogs.IDialogPage
      Overrides:
      setVisible in class org.eclipse.jface.dialogs.DialogPage
    • createControl

      public void createControl(org.eclipse.swt.widgets.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 interface org.eclipse.jface.dialogs.IDialogPage
      Overrides:
      performHelp in class org.eclipse.jface.dialogs.DialogPage