Class DefaultQualityWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.analyzer.quality.presentation.DefaultQualityWizardPage
- All Implemented Interfaces:
EventListener,IDialogPage,IMessageProvider,IWizardPage,ModifyListener,SWTEventListener,Listener
Wizard page which allows to set precision defaults for all categories of the PCM.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(Composite parent) voiddispose()getRequiredElement(PCMRERequestCategory category) Returns a new required element instance according to the selection.voidhandleEvent(Event event) booleanvoidprotected voidvalidate()Validates the input and sets an appropriate error message.Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringMethods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, 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
getControl, getDescription, getMessage, getTitle, performHelp, setVisible
-
Constructor Details
-
DefaultQualityWizardPage
Create a new instance.- Parameters:
pageName- Name of the page.
-
-
Method Details
-
createControl
- Specified by:
createControlin interfaceIDialogPage
-
getErrorMessage
- Specified by:
getErrorMessagein interfaceIDialogPage- Overrides:
getErrorMessagein classDialogPage
-
isPageComplete
public boolean isPageComplete()- Specified by:
isPageCompletein interfaceIWizardPage- Overrides:
isPageCompletein classWizardPage
-
dispose
public void dispose()- Specified by:
disposein interfaceIDialogPage- Overrides:
disposein classDialogPage
-
getRequiredElement
Returns a new required element instance according to the selection.- Parameters:
category- The category for which the element is requested.- Returns:
- The required element.
-
validate
protected void validate()Validates the input and sets an appropriate error message. -
handleEvent
- Specified by:
handleEventin interfaceListener
-
modifyText
- Specified by:
modifyTextin interfaceModifyListener
-