Class WizardTableViewer

java.lang.Object
org.palladiosimulator.measurementsui.abstractviewer.ComponentViewer
org.palladiosimulator.measurementsui.abstractviewer.WizardTableViewer
Direct Known Subclasses:
AvailableMetricDescriptionSelectionViewer, ProcessingTypeSelectionViewer, SelectedMetricDescriptionSelectionViewer

public abstract class WizardTableViewer extends ComponentViewer
Generates a Eclipse SWT TableViewer based on a TableViewer generated by Eclipse Parsley
  • Field Details

    • tableViewer

      protected org.eclipse.jface.viewers.TableViewer tableViewer
    • tableFactory

      protected org.eclipse.emf.parsley.viewers.ViewerFactory tableFactory
    • wizardModel

      protected WizardModel wizardModel
  • Constructor Details

    • WizardTableViewer

      protected WizardTableViewer(org.eclipse.swt.widgets.Composite parent, EObject modelRepository)
      Parameters:
      parent - the container where the tree viewer is placed in
      modelRepository - EObject which is shown in the view
  • Method Details

    • initParsley

      protected void initParsley(org.eclipse.swt.widgets.Composite parent)
      Description copied from class: ComponentViewer
      Initialize the connection between the e4 plugin and the Parsley TreeView
      Specified by:
      initParsley in class ComponentViewer
      Parameters:
      parent - composite container
    • update

      public void update()
      Description copied from class: ComponentViewer
      Updates the underlying resources of the tree and redraws the component
      Specified by:
      update in class ComponentViewer
    • getViewer

      public org.eclipse.jface.viewers.StructuredViewer getViewer()
      Specified by:
      getViewer in class ComponentViewer
      Returns:
      the current viewer of the shown composite
    • initDragAndDrop

      protected void initDragAndDrop()
      Description copied from class: ComponentViewer
      Initialize the parsley drag and drop function
      Overrides:
      initDragAndDrop in class ComponentViewer