Class MeasurementsWizard

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

public class MeasurementsWizard extends org.eclipse.jface.wizard.Wizard
This class handles the wizard and its wizard pages for creating a new measuring point/monitor.
  • Field Summary

    Fields inherited from class org.eclipse.jface.wizard.Wizard

    DEFAULT_IMAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    The constructor
    MeasurementsWizard(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor)
    The constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    Adds a PropertyChangeListener to the wizardManager
    boolean
     
    org.eclipse.jface.wizard.IWizardPage
     
    int
    Returns the height used for the wizard window, also considers the scaling of the OS
    int
    Returns the width used for the wizard window, also considers the scaling of the OS
    boolean
     
    boolean
     

    Methods inherited from class org.eclipse.jface.wizard.Wizard

    addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 org.eclipse.jface.wizard.IWizardPage getStartingPage()
      Specified by:
      getStartingPage in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      getStartingPage in class org.eclipse.jface.wizard.Wizard
    • addPages

      public void addPages()
      Specified by:
      addPages in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      addPages in class org.eclipse.jface.wizard.Wizard
    • performCancel

      public boolean performCancel()
      Specified by:
      performCancel in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      performCancel in class org.eclipse.jface.wizard.Wizard
    • performFinish

      public boolean performFinish()
      Specified by:
      performFinish in interface org.eclipse.jface.wizard.IWizard
      Specified by:
      performFinish in class org.eclipse.jface.wizard.Wizard
    • canFinish

      public boolean canFinish()
      Specified by:
      canFinish in interface org.eclipse.jface.wizard.IWizard
      Overrides:
      canFinish in class org.eclipse.jface.wizard.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