Class MeasurementsWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.palladiosimulator.measurementsui.wizard.main.MeasurementsWizard
- All Implemented Interfaces:
IShellProvider
,IWizard
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
ConstructorDescriptionMeasurementsWizard
(WizardModelType startingPage) The constructorMeasurementsWizard
(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor) The constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPages()
void
Adds a PropertyChangeListener to the wizardManagerboolean
int
Returns the height used for the wizard window, also considers the scaling of the OSint
Returns the width used for the wizard window, also considers the scaling of the OSboolean
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
-
Constructor Details
-
MeasurementsWizard
public MeasurementsWizard() -
MeasurementsWizard
The constructor -
MeasurementsWizard
public MeasurementsWizard(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor) The constructor
-
-
Method Details
-
addPropertyChangeListener
Adds a PropertyChangeListener to the wizardManager- Parameters:
listener
- the PropertyChangeListener
-
getStartingPage
- Specified by:
getStartingPage
in interfaceIWizard
- Overrides:
getStartingPage
in classWizard
-
addPages
public void addPages() -
performCancel
public boolean performCancel()- Specified by:
performCancel
in interfaceIWizard
- Overrides:
performCancel
in classWizard
-
performFinish
public boolean performFinish()- Specified by:
performFinish
in interfaceIWizard
- Specified by:
performFinish
in 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
-