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, treeViewerFields inherited from class org.palladiosimulator.measurementsui.abstractviewer.SaveableComponentViewer
commandService, dirtyFields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource -
Constructor Summary
ConstructorsConstructorDescriptionEmptyMeasuringPointsTreeViewer(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.ui.model.application.ui.MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository repository) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidInitialize the parsley drag and drop functionprotected voidInitalizes 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, updateMethods inherited from class org.palladiosimulator.measurementsui.abstractviewer.SaveableComponentViewer
redo, save, save, undo, undoAll, updateResourceMethods inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
getModelRepository, initContextMenu, initEditingDomain, setModelRepository
-
Constructor Details
-
EmptyMeasuringPointsTreeViewer
public EmptyMeasuringPointsTreeViewer(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.ui.model.application.ui.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:ComponentViewerInitalizes the google guice injector attribute with the injector of the respective parsley view- Specified by:
initInjectorin classComponentViewer
-
initDragAndDrop
protected void initDragAndDrop()Description copied from class:ComponentViewerInitialize the parsley drag and drop function- Overrides:
initDragAndDropin classComponentViewer
-