Class TableSelectionCompositeImpl

    • Constructor Detail

      • TableSelectionCompositeImpl

        public TableSelectionCompositeImpl​(java.util.Collection<? extends org.eclipse.emf.ecore.EObject> extent,
                                           VTableControl tableControl,
                                           org.eclipse.emf.ecore.EObject owner,
                                           org.eclipse.emf.ecore.EReference reference)
        Initializes me with the table view model to render.
        Parameters:
        extent - the collection of objects from which to make a selection
        tableControl - the view model description of the table
        owner - the owner of the reference being edited
        reference - the reference being edited
    • Method Detail

      • createViewer

        protected org.eclipse.jface.viewers.TableViewer createViewer​(org.eclipse.swt.widgets.Composite composite)
        Description copied from class: SelectModelElementCompositeImpl
        Creates a StructuredViewer on top of the provided Composite. The result is the created StructuredViewer.
        Overrides:
        createViewer in class SelectModelElementCompositeImpl
        Parameters:
        composite - the Composite to create the viewer on
        Returns:
        the created StructuredViewer
      • createColumnLabelProvider

        protected org.eclipse.jface.viewers.CellLabelProvider createColumnLabelProvider​(org.eclipse.jface.viewers.ILabelProvider delegate)
        Create a column label provider that delegates to another label provider.
        Parameters:
        delegate - the label provider delegate
        Returns:
        the column label provider