Class WizardTableViewer
java.lang.Object
org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
org.palladiosimulator.measurementsui.abstractviewer.WizardTableViewer
- Direct Known Subclasses:
AvailableMetricDescriptionSelectionViewer
,ProcessingTypeSelectionViewer
,SelectedMetricDescriptionSelectionViewer
Generates a Eclipse SWT TableViewer based on a TableViewer generated by Eclipse Parsley
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.eclipse.emf.parsley.viewers.ViewerFactory
protected TableViewer
protected WizardModel
Fields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource
-
Constructor Summary
ModifierConstructorDescriptionprotected
WizardTableViewer
(Composite parent, EObject modelRepository) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
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 componentMethods inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
getModelRepository, initContextMenu, initEditingDomain, initInjector, setModelRepository, updateResource
-
Field Details
-
tableViewer
-
tableFactory
protected org.eclipse.emf.parsley.viewers.ViewerFactory tableFactory -
wizardModel
-
-
Constructor Details
-
WizardTableViewer
- Parameters:
parent
- the container where the tree viewer is placed inmodelRepository
- EObject which is shown in the view
-
-
Method Details
-
initParsley
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
- 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
-