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 void
addPages()
void
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the wizardManagerboolean
canFinish()
IWizardPage
getStartingPage()
int
getWindowHeight()
Returns the height used for the wizard window, also considers the scaling of the OSint
getWindowWidth()
Returns the width used for the wizard window, also considers the scaling of the OSboolean
performCancel()
boolean
performFinish()
-
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:
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
-
-