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
-
public class MonitorTreeViewer extends MeasurementsTreeViewer
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
Constructors Constructor Description MonitorTreeViewer(Composite parent, MDirtyable dirty, org.eclipse.e4.core.commands.ECommandService commandService, org.palladiosimulator.monitorrepository.MonitorRepository monitorRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitDragAndDrop()Initialize the parsley drag and drop functionprotected voidinitInjector()Initalizes the google guice injector attribute with the injector of the respective parsley viewvoidsetDropAdapter(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 Detail
-
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 Detail
-
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
-
setDropAdapter
public void setDropAdapter(ViewerDropAdapter adapter)
-
-