Class EmptyMeasuringPointsTreeViewer
- java.lang.Object
-
- org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
-
- org.palladiosimulator.measurementsui.abstractviewer.SaveableComponentViewer
-
- org.palladiosimulator.measurementsui.abstractviewer.MeasurementsTreeViewer
-
- org.palladiosimulator.simulizar.ui.measurementsdashboard.viewer.EmptyMeasuringPointsTreeViewer
-
public class EmptyMeasuringPointsTreeViewer extends MeasurementsTreeViewer
Generates a tree view where all empty measuring points from all measuringpoint repositories in the workspace are shown.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.measurementsui.abstractviewer.MeasurementsTreeViewer
treeFactory, treeViewer
-
Fields inherited from class org.palladiosimulator.measurementsui.abstractviewer.SaveableComponentViewer
commandService, dirty
-
Fields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource
-
-
Constructor Summary
Constructors Constructor Description EmptyMeasuringPointsTreeViewer(Composite parent, MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initDragAndDrop()
Initialize the parsley drag and drop functionprotected void
initInjector()
Initalizes the google guice injector attribute with the injector of the respective parsley view-
Methods inherited from class org.palladiosimulator.measurementsui.abstractviewer.MeasurementsTreeViewer
addMouseListener, addSelectionListener, getViewer, initParsley, update, update
-
Methods inherited from class org.palladiosimulator.measurementsui.abstractviewer.SaveableComponentViewer
redo, save, save, undo, undoAll, updateResource
-
Methods inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
getModelRepository, initContextMenu, initEditingDomain, setModelRepository
-
-
-
-
Constructor Detail
-
EmptyMeasuringPointsTreeViewer
public EmptyMeasuringPointsTreeViewer(Composite parent, MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository repository)
- Parameters:
parent
- the container where the tree viewer is placed indirty
- the dirty state which indicates whether there were changes madecommandService
- a service of the eclipse application in order to make the tree view saveablerepository
- a measuring point repository which is displayed with all its measuring points in the tree view
-
-
Method Detail
-
initInjector
protected void initInjector()
Description copied from class:ComponentViewer
Initalizes the google guice injector attribute with the injector of the respective parsley view- Specified by:
initInjector
in classComponentViewer
-
initDragAndDrop
protected void initDragAndDrop()
Description copied from class:ComponentViewer
Initialize the parsley drag and drop function- Overrides:
initDragAndDrop
in classComponentViewer
-
-