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
ConstructorsConstructorDescriptionMeasurementsWizard(WizardModelType startingPage) The constructorMeasurementsWizard(WizardModelType startingPage, org.palladiosimulator.monitorrepository.Monitor monitor) The constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPages()voidAdds a PropertyChangeListener to the wizardManagerbooleanintReturns the height used for the wizard window, also considers the scaling of the OSintReturns the width used for the wizard window, also considers the scaling of the OSbooleanbooleanMethods 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:
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
-