Class SLODialogSpecifiySLOThresholdsPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.servicelevelobjective.edp2.visualization.wizards.SLODialogSpecifiySLOThresholdsPage
All Implemented Interfaces:
EventListener, IDialogPage, IMessageProvider, IWizardPage, SelectionListener, SWTEventListener

public class SLODialogSpecifiySLOThresholdsPage extends WizardPage implements SelectionListener
A WizardPage prompting the user to enter upper, lower and if necessary, soft upper and soft lower thresholds for a selected ServiceLevelObjective. All inputs are checked for correctness.
  • Constructor Details

    • SLODialogSpecifiySLOThresholdsPage

      protected SLODialogSpecifiySLOThresholdsPage(String pageName)
      Constructor.
      Parameters:
      pageName -
  • Method Details

    • createControl

      public void createControl(Composite parent)
      Specified by:
      createControl in interface IDialogPage
    • updatePageStatus

      public IStatus updatePageStatus()
      Method which handles the status of the whole WizardPage based on the different states resulting from inputs.
      Returns:
      the page Status
    • setSelectedSLO

      public void setSelectedSLO(ServiceLevelObjective selectedSLO)
      Sets the selectedSLO and updates the UI accordingly, i.e. sets threshold input fields visible or invisible and inserts default values.
      Parameters:
      selectedSLO -
    • setMaxSimulationTime

      protected void setMaxSimulationTime(double max)
    • widgetSelected

      public void widgetSelected(SelectionEvent e)
      Specified by:
      widgetSelected in interface SelectionListener
    • widgetDefaultSelected

      public void widgetDefaultSelected(SelectionEvent e)
      Specified by:
      widgetDefaultSelected in interface SelectionListener