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.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
-
Constructor Summary
Constructors Constructor Description MeasurementsWizard()MeasurementsWizard(WizardModelType startingPage)The constructorMeasurementsWizard(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor)The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPages()voidaddPropertyChangeListener(PropertyChangeListener listener)Adds a PropertyChangeListener to the wizardManagerbooleancanFinish()IWizardPagegetStartingPage()intgetWindowHeight()Returns the height used for the wizard window, also considers the scaling of the OSintgetWindowWidth()Returns the width used for the wizard window, also considers the scaling of the OSbooleanperformCancel()booleanperformFinish()-
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
-
-
-
-
Constructor Detail
-
MeasurementsWizard
public MeasurementsWizard()
-
MeasurementsWizard
public MeasurementsWizard(WizardModelType startingPage)
The constructor
-
MeasurementsWizard
public MeasurementsWizard(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor)
The constructor
-
-
Method Detail
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the wizardManager- Parameters:
listener- the PropertyChangeListener
-
getStartingPage
public IWizardPage getStartingPage()
- Specified by:
getStartingPagein interfaceIWizard- Overrides:
getStartingPagein classWizard
-
addPages
public void addPages()
-
performCancel
public boolean performCancel()
- Specified by:
performCancelin interfaceIWizard- Overrides:
performCancelin classWizard
-
performFinish
public boolean performFinish()
- Specified by:
performFinishin interfaceIWizard- Specified by:
performFinishin classWizard
-
canFinish
public boolean canFinish()
-
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
-
-