Class AdditionalModelsToMeasuringpointWizardPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.palladiosimulator.measurementsui.wizard.pages.AdditionalModelsToMeasuringpointWizardPage
-
- All Implemented Interfaces:
IDialogPage
,IMessageProvider
,IWizardPage
public class AdditionalModelsToMeasuringpointWizardPage extends WizardPage
This is the wizard page for the second step of the creation of a measuring point. It only needs to be shown if certain elements are selected in the first step. It creates all necessary ui elements and provides functions to dynamically choose the next wizard page.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
-
Constructor Summary
Constructors Constructor Description AdditionalModelsToMeasuringpointWizardPage(MeasuringPointSelectionWizardModel selectionWizardModel)
the constructor with the needed wizard model
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(Composite parent)
creates the wizard page which shows additional models, which are needed depending on the chosen element from the ChooseMeasuringpointWizardpage for the creation of a new measuringpointIWizardPage
getNextPage()
overrides the getNextPage() method of the wizard page to allow a dynamic flow of wizard pagesvoid
loadData()
delays the loading of the data, because it needs to be loaded dynamically depending on the chosen element from the ChooseMeasuringpointWizardpageprotected void
nextPressed()
performs the operations to set the chosen model to the wizard modelvoid
performHelp()
-
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 Detail
-
AdditionalModelsToMeasuringpointWizardPage
public AdditionalModelsToMeasuringpointWizardPage(MeasuringPointSelectionWizardModel selectionWizardModel)
the constructor with the needed wizard model- Parameters:
selectionWizardModel
- the needed wizard model
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
creates the wizard page which shows additional models, which are needed depending on the chosen element from the ChooseMeasuringpointWizardpage for the creation of a new measuringpoint
-
loadData
public void loadData()
delays the loading of the data, because it needs to be loaded dynamically depending on the chosen element from the ChooseMeasuringpointWizardpage
-
getNextPage
public IWizardPage getNextPage()
overrides the getNextPage() method of the wizard page to allow a dynamic flow of wizard pages- Specified by:
getNextPage
in interfaceIWizardPage
- Overrides:
getNextPage
in classWizardPage
-
nextPressed
protected void nextPressed()
performs the operations to set the chosen model to the wizard model
-
performHelp
public void performHelp()
- Specified by:
performHelp
in interfaceIDialogPage
- Overrides:
performHelp
in classDialogPage
-
-