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.ViewerFactorytableFactoryprotected TableViewertableViewerprotected WizardModelwizardModel-
Fields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWizardTableViewer(Composite parent, EObject modelRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredViewergetViewer()protected voidinitDragAndDrop()Initialize the parsley drag and drop functionprotected voidinitParsley(Composite parent)Initialize the connection between the e4 plugin and the Parsley TreeViewvoidupdate()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:ComponentViewerInitialize the connection between the e4 plugin and the Parsley TreeView- Specified by:
initParsleyin classComponentViewer- Parameters:
parent- composite container
-
update
public void update()
Description copied from class:ComponentViewerUpdates the underlying resources of the tree and redraws the component- Specified by:
updatein classComponentViewer
-
getViewer
public StructuredViewer getViewer()
- Specified by:
getViewerin classComponentViewer- Returns:
- the current viewer of the shown composite
-
initDragAndDrop
protected void initDragAndDrop()
Description copied from class:ComponentViewerInitialize the parsley drag and drop function- Overrides:
initDragAndDropin classComponentViewer
-
-