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, 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
ConstructorsConstructorDescriptionMonitorTreeViewer(Composite parent, MDirtyable dirty, ECommandService commandService, org.palladiosimulator.monitorrepository.MonitorRepository monitorRepository) -
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 viewvoidsetDropAdapter(ViewerDropAdapter adapter) Methods 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
-
MonitorTreeViewer
public MonitorTreeViewer(Composite parent, MDirtyable dirty, 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: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
-