Class MonitorTreeViewer
java.lang.Object
org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
org.palladiosimulator.measurementsui.abstractviewer.SaveableComponentViewer
org.palladiosimulator.measurementsui.abstractviewer.MeasurementsTreeViewer
org.palladiosimulator.simulizar.ui.measurementsdashboard.viewer.MonitorTreeViewer
Generates a tree view where all monitors from a selected monitorrepository 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
ConstructorDescriptionMonitorTreeViewer
(Composite parent, MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.monitorrepository.MonitorRepository monitorRepository) -
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 viewvoid
setDropAdapter
(ViewerDropAdapter adapter) 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 Details
-
MonitorTreeViewer
public MonitorTreeViewer(Composite parent, MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.monitorrepository.MonitorRepository monitorRepository) - Parameters:
parent
- composite where the tree view is embeddeddirty
- the dirty state which indicates whether there were changes madecommandService
- the eclipse commandservice in order to save the viewmonitorRepository
- a monitor repository which is displayed with all its monitors, measurementspecifications and processing types 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
-
setDropAdapter
-