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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(Composite parent) void
dispose()
getRequiredElement
(PCMRERequestCategory category) Returns a new required element instance according to the selection.void
handleEvent
(Event event) boolean
void
protected void
validate()
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, toString
Methods 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, 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
getControl, getDescription, getMessage, getTitle, performHelp, setVisible
-
Constructor Details
-
DefaultQualityWizardPage
Create a new instance.- Parameters:
pageName
- Name of the page.
-
-
Method Details
-
createControl
- Specified by:
createControl
in interfaceIDialogPage
-
getErrorMessage
- Specified by:
getErrorMessage
in interfaceIDialogPage
- Overrides:
getErrorMessage
in classDialogPage
-
isPageComplete
public boolean isPageComplete()- Specified by:
isPageComplete
in interfaceIWizardPage
- Overrides:
isPageComplete
in classWizardPage
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIDialogPage
- Overrides:
dispose
in 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:
handleEvent
in interfaceListener
-
modifyText
- Specified by:
modifyText
in interfaceModifyListener
-