Class MeasurementsWizard

java.lang.Object
org.eclipse.jface.wizard.Wizard
org.palladiosimulator.measurementsui.wizard.main.MeasurementsWizard
All Implemented Interfaces:
IShellProvider, IWizard

public class MeasurementsWizard extends Wizard
This class handles the wizard and its wizard pages for creating a new measuring point/monitor.
  • Constructor Details

    • MeasurementsWizard

      public MeasurementsWizard()
    • MeasurementsWizard

      public MeasurementsWizard(WizardModelType startingPage)
      The constructor
    • MeasurementsWizard

      public MeasurementsWizard(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor)
      The constructor
  • Method Details

    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
      Adds a PropertyChangeListener to the wizardManager
      Parameters:
      listener - the PropertyChangeListener
    • getStartingPage

      public IWizardPage getStartingPage()
      Specified by:
      getStartingPage in interface IWizard
      Overrides:
      getStartingPage in class Wizard
    • addPages

      public void addPages()
      Specified by:
      addPages in interface IWizard
      Overrides:
      addPages in class Wizard
    • performCancel

      public boolean performCancel()
      Specified by:
      performCancel in interface IWizard
      Overrides:
      performCancel in class Wizard
    • performFinish

      public boolean performFinish()
      Specified by:
      performFinish in interface IWizard
      Specified by:
      performFinish in class Wizard
    • canFinish

      public boolean canFinish()
      Specified by:
      canFinish in interface IWizard
      Overrides:
      canFinish in class Wizard
    • getWindowWidth

      public int getWindowWidth()
      Returns the width used for the wizard window, also considers the scaling of the OS
      Returns:
      the width used for the wizard window, also considers the scaling of the OS
    • getWindowHeight

      public int getWindowHeight()
      Returns the height used for the wizard window, also considers the scaling of the OS
      Returns:
      the height used for the wizard window, also considers the scaling of the OS