Class ChooseMeasuringpointWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.measurementsui.wizard.pages.ChooseMeasuringpointWizardPage
- All Implemented Interfaces:
IDialogPage
,IMessageProvider
,IWizardPage
This is the wizard page for the first step of the creation of a measuring
point. It creates all necessary ui elements like the page itself, tabs and
tree viewers. It provides function to dynamically show info texts,
dynamically choose the next wizard page
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
ConstructorDescriptionChooseMeasuringpointWizardPage
(MeasuringPointSelectionWizardModel selectionWizardModel) Constructor for the second wizard page, sets structural features like the title, the name of the page and the description -
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(Composite parent) Creates the second page of the wizard, which shows a tabbed table of measuringpoints, either existing or those which can be createdoverrides the getNextPage() method of the wizard page to allow a dynamic flow of wizard pages, depending on the selected itemvoid
adds the created measuringpoint to the monitorvoid
void
showMessage
(TreeItem item) shows an informative message on the top, depending on the chosen element.Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setMessage, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, setVisible
-
Constructor Details
-
ChooseMeasuringpointWizardPage
Constructor for the second wizard page, sets structural features like the title, the name of the page and the description- Parameters:
selectionWizardModel
- the needed wizard model
-
-
Method Details
-
createControl
Creates the second page of the wizard, which shows a tabbed table of measuringpoints, either existing or those which can be created- Parameters:
parent
-
-
getNextPage
overrides the getNextPage() method of the wizard page to allow a dynamic flow of wizard pages, depending on the selected item- Specified by:
getNextPage
in interfaceIWizardPage
- Overrides:
getNextPage
in classWizardPage
-
showMessage
shows an informative message on the top, depending on the chosen element.- Parameters:
item
- the selected item
-
performAddingOperations
public void performAddingOperations()adds the created measuringpoint to the monitor- Parameters:
validatedNextPressed
-
-
performHelp
public void performHelp()- Specified by:
performHelp
in interfaceIDialogPage
- Overrides:
performHelp
in classDialogPage
-