Class SelectAdapterPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.palladiosimulator.edp2.visualization.wizards.SelectAdapterPage
- All Implemented Interfaces:
IDialogPage,IMessageProvider,ISelectionChangedListener,IWizardPage
WizardPage, which provides a list of all available adapters AbstractAdapter, that
are registered as extensions.-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSelectAdapterPage(String pageName, AbstractDataSource selectedSource) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidcreateControl(Composite parent) protected List<IAdapterWizard>getApplicableAdapters(AbstractDataSource forSource) Method which is called when the "Next" Button in the Wizard is clicked.voidvoidsetAdapter(AbstractAdapter adapter) Methods inherited from class org.eclipse.jface.wizard.WizardPage
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, 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
-
Constructor Details
-
SelectAdapterPage
-
-
Method Details
-
canFlipToNextPage
public boolean canFlipToNextPage()- Specified by:
canFlipToNextPagein interfaceIWizardPage- Overrides:
canFlipToNextPagein classWizardPage
-
createControl
- Specified by:
createControlin interfaceIDialogPage
-
getApplicableAdapters
-
getNextPage
Method which is called when the "Next" Button in the Wizard is clicked. Must callIAdapterWizard.setSourceFromCaller(AbstractDataSource, SelectAdapterPage), where theAbstractDataSourceis the source handed from the RawMeasurements object, which was selected in the first place andthisa reference on thisSelectAdapterPage.- Specified by:
getNextPagein interfaceIWizardPage- Overrides:
getNextPagein classWizardPage
-
selectionChanged
- Specified by:
selectionChangedin interfaceISelectionChangedListener
-
updatePageStatus
-
setAdapter
-