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
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
ConstructorDescriptionEmptyMeasuringPointsTreeViewer
(Composite parent, MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository repository) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initialize the parsley drag and drop functionprotected void
Initalizes the google guice injector attribute with the injector of the respective parsley viewMethods 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 Details
-
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 Details
-
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
-