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
FieldsModifier and TypeFieldDescriptionprotected IStructuredSelectionThe selection used to determine the repository.protected TextText field for the repository URI.Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(Composite parent) voidinit(IStructuredSelection selection) Initializes the page.voidprotected voidvalidate()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, 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, 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
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:
createControlin interfaceIDialogPage
-
validate
protected void validate()Validates the input on this pages and set the status accordingly. -
modifyText
- Specified by:
modifyTextin interfaceModifyListener
-