Class WizardTableViewer
- java.lang.Object
-
- org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
-
- org.palladiosimulator.measurementsui.abstractviewer.WizardTableViewer
-
- Direct Known Subclasses:
AvailableMetricDescriptionSelectionViewer
,ProcessingTypeSelectionViewer
,SelectedMetricDescriptionSelectionViewer
public abstract class WizardTableViewer extends ComponentViewer
Generates a Eclipse SWT TableViewer based on a TableViewer generated by Eclipse Parsley
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.parsley.viewers.ViewerFactory
tableFactory
protected TableViewer
tableViewer
protected WizardModel
wizardModel
-
Fields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WizardTableViewer(Composite parent, EObject modelRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredViewer
getViewer()
protected void
initDragAndDrop()
Initialize the parsley drag and drop functionprotected void
initParsley(Composite parent)
Initialize the connection between the e4 plugin and the Parsley TreeViewvoid
update()
Updates the underlying resources of the tree and redraws the component-
Methods inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
getModelRepository, initContextMenu, initEditingDomain, initInjector, setModelRepository, updateResource
-
-
-
-
Field Detail
-
tableViewer
protected TableViewer tableViewer
-
tableFactory
protected org.eclipse.emf.parsley.viewers.ViewerFactory tableFactory
-
wizardModel
protected WizardModel wizardModel
-
-
Method Detail
-
initParsley
protected void initParsley(Composite parent)
Description copied from class:ComponentViewer
Initialize the connection between the e4 plugin and the Parsley TreeView- Specified by:
initParsley
in classComponentViewer
- Parameters:
parent
- composite container
-
update
public void update()
Description copied from class:ComponentViewer
Updates the underlying resources of the tree and redraws the component- Specified by:
update
in classComponentViewer
-
getViewer
public StructuredViewer getViewer()
- Specified by:
getViewer
in classComponentViewer
- Returns:
- the current viewer of the shown composite
-
initDragAndDrop
protected void initDragAndDrop()
Description copied from class:ComponentViewer
Initialize the parsley drag and drop function- Overrides:
initDragAndDrop
in classComponentViewer
-
-