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 org.eclipse.jface.viewers.TableViewerprotected WizardModelFields inherited from class org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
editingDomain, injector, modelRepository, resource -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWizardTableViewer(org.eclipse.swt.widgets.Composite parent, EObject modelRepository) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.viewers.StructuredViewerprotected voidInitialize the parsley drag and drop functionprotected voidinitParsley(org.eclipse.swt.widgets.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
protected org.eclipse.jface.viewers.TableViewer 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
protected void initParsley(org.eclipse.swt.widgets.Composite parent) 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
public org.eclipse.jface.viewers.StructuredViewer 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
-