Class WizardTableViewer
java.lang.Object
org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
org.palladiosimulator.measurementsui.abstractviewer.WizardTableViewer
- Direct Known Subclasses:
AvailableMetricDescriptionSelectionViewer,ProcessingTypeSelectionViewer,SelectedMetricDescriptionSelectionViewer
Generates a Eclipse SWT TableViewer based on a TableViewer generated by Eclipse Parsley
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.emf.parsley.viewers.ViewerFactoryprotected TableViewerprotected WizardModelFields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWizardTableViewer(Composite parent, EObject modelRepository) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidInitialize the parsley drag and drop functionprotected voidinitParsley(Composite parent) Initialize the connection between the e4 plugin and the Parsley TreeViewvoidupdate()Updates the underlying resources of the tree and redraws the componentMethods inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
getModelRepository, initContextMenu, initEditingDomain, initInjector, setModelRepository, updateResource
-
Field Details
-
tableViewer
-
tableFactory
protected org.eclipse.emf.parsley.viewers.ViewerFactory tableFactory -
wizardModel
-
-
Constructor Details
-
WizardTableViewer
- Parameters:
parent- the container where the tree viewer is placed inmodelRepository- EObject which is shown in the view
-
-
Method Details
-
initParsley
Description copied from class:ComponentViewerInitialize the connection between the e4 plugin and the Parsley TreeView- Specified by:
initParsleyin classComponentViewer- Parameters:
parent- composite container
-
update
public void update()Description copied from class:ComponentViewerUpdates the underlying resources of the tree and redraws the component- Specified by:
updatein classComponentViewer
-
getViewer
- Specified by:
getViewerin classComponentViewer- Returns:
- the current viewer of the shown composite
-
initDragAndDrop
protected void initDragAndDrop()Description copied from class:ComponentViewerInitialize the parsley drag and drop function- Overrides:
initDragAndDropin classComponentViewer
-