Class FinalModelsToMeasuringpointWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.measurementsui.wizard.pages.FinalModelsToMeasuringpointWizardPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
public class FinalModelsToMeasuringpointWizardPage
extends org.eclipse.jface.wizard.WizardPage
This is the wizard page for the third and final step of the creation of a
wizard page. It needs to be shown if and only if certain elements are
selected in the first and second step of the measuring point creation
workflow. It creates all necessary ui elements.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionFinalModelsToMeasuringpointWizardPage(MeasuringPointSelectionWizardModel selectionWizardModel) the constructor with the needed wizard model -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite parent) creates the wizard page to choose the operation signatureorg.eclipse.jface.wizard.IWizardPageoverrides the getNextPage() method of the wizard page to allow a dynamic flow of the wizard pagesvoidloadData()loads the data for the tree.protected booleanperforms the operation to add the chosen model to the wizard modelvoidMethods 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, toStringMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, setVisible
-
Constructor Details
-
FinalModelsToMeasuringpointWizardPage
public FinalModelsToMeasuringpointWizardPage(MeasuringPointSelectionWizardModel selectionWizardModel) the constructor with the needed wizard model- Parameters:
selectionWizardModel- the needed wizard model
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) creates the wizard page to choose the operation signature -
loadData
public void loadData()loads the data for the tree. It's a separate method because it needs to be delayed, since the loaded data depends on a selection in a previous wizard page -
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage()overrides the getNextPage() method of the wizard page to allow a dynamic flow of the wizard pages- Specified by:
getNextPagein interfaceorg.eclipse.jface.wizard.IWizardPage- Overrides:
getNextPagein classorg.eclipse.jface.wizard.WizardPage
-
nextPressed
protected boolean nextPressed()performs the operation to add the chosen model to the wizard model -
performHelp
public void performHelp()- Specified by:
performHelpin interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
performHelpin classorg.eclipse.jface.dialogs.DialogPage
-