Class AdapterWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- org.palladiosimulator.edp2.visualization.wizards.AdapterWizard
-
- All Implemented Interfaces:
IShellProvider
,IWizard
,INewWizard
,IWorkbenchWizard
public class AdapterWizard extends Wizard implements INewWizard
The main wizard, which shows available adapters for the currently selectedRawMeasurements
.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
-
Constructor Summary
Constructors Constructor Description AdapterWizard(AbstractDataSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPages()
boolean
canFinish()
void
createPageControls(Composite pageContainer)
AbstractAdapter
getAdapter()
void
init(IWorkbench workbench, IStructuredSelection selection)
boolean
isFinishable()
boolean
needsPreviousAndNextButtons()
boolean
performFinish()
void
setAdapter(AbstractAdapter adapter)
void
setFinishable(boolean finishable)
-
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.wizard.IWizard
dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsProgressMonitor, performCancel, setContainer
-
-
-
-
Constructor Detail
-
AdapterWizard
public AdapterWizard(AbstractDataSource source)
-
-
Method Detail
-
isFinishable
public boolean isFinishable()
-
setFinishable
public void setFinishable(boolean finishable)
-
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interfaceIWizard
- Specified by:
performFinish
in classWizard
-
addPages
public void addPages()
-
needsPreviousAndNextButtons
public boolean needsPreviousAndNextButtons()
- Specified by:
needsPreviousAndNextButtons
in interfaceIWizard
- Overrides:
needsPreviousAndNextButtons
in classWizard
-
createPageControls
public void createPageControls(Composite pageContainer)
- Specified by:
createPageControls
in interfaceIWizard
- Overrides:
createPageControls
in classWizard
-
init
public void init(IWorkbench workbench, IStructuredSelection selection)
- Specified by:
init
in interfaceIWorkbenchWizard
-
canFinish
public boolean canFinish()
-
getAdapter
public AbstractAdapter getAdapter()
-
setAdapter
public void setAdapter(AbstractAdapter adapter)
-
-