Class SelectRepositoryWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.analyzer.quality.presentation.SelectRepositoryWizardPage
- All Implemented Interfaces:
EventListener
,IDialogPage
,IMessageProvider
,IWizardPage
,ModifyListener
,SWTEventListener
Allows to select a Palladio repository file.
Supports preselection of files.
-
Field Summary
Modifier and TypeFieldDescriptionprotected IStructuredSelection
The selection used to determine the repository.protected Text
Text field for the repository URI.Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(Composite parent) void
init
(IStructuredSelection selection) Initializes the page.void
protected void
validate()
Validates the input on this pages and set the status accordingly.Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, 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, 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
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
-
Field Details
-
txtRepository
Text field for the repository URI. -
selection
The selection used to determine the repository.
-
-
Constructor Details
-
SelectRepositoryWizardPage
Creates a new page.- Parameters:
pageName
- Name of the page.
-
-
Method Details
-
init
Initializes the page.- Parameters:
selection
- Preselected repository file.
-
getRepositoryFileUri
- Returns:
- EMF-parsable URI of the selected repository file.
-
createControl
- Specified by:
createControl
in interfaceIDialogPage
-
validate
protected void validate()Validates the input on this pages and set the status accordingly. -
modifyText
- Specified by:
modifyText
in interfaceModifyListener
-