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
ModifierConstructorDescriptionprotected
SelectAdapterPage
(String pageName, AbstractDataSource selectedSource) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
createControl
(Composite parent) protected List<IAdapterWizard>
getApplicableAdapters
(AbstractDataSource forSource) Method which is called when the "Next" Button in the Wizard is clicked.void
void
setAdapter
(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, 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
-
Constructor Details
-
SelectAdapterPage
-
-
Method Details
-
canFlipToNextPage
public boolean canFlipToNextPage()- Specified by:
canFlipToNextPage
in interfaceIWizardPage
- Overrides:
canFlipToNextPage
in classWizardPage
-
createControl
- Specified by:
createControl
in interfaceIDialogPage
-
getApplicableAdapters
-
getNextPage
Method which is called when the "Next" Button in the Wizard is clicked. Must callIAdapterWizard.setSourceFromCaller(AbstractDataSource, SelectAdapterPage)
, where theAbstractDataSource
is the source handed from the RawMeasurements object, which was selected in the first place andthis
a reference on thisSelectAdapterPage
.- Specified by:
getNextPage
in interfaceIWizardPage
- Overrides:
getNextPage
in classWizardPage
-
selectionChanged
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
-
updatePageStatus
-
setAdapter
-