Class CommonAttributeContentSwtView

    • Constructor Detail

      • CommonAttributeContentSwtView

        public CommonAttributeContentSwtView()
    • Method Detail

      • handleEventChannelEvent

        protected void handleEventChannelEvent​(IEvent event,
                                               TreeViewModel viewModel,
                                               org.eclipse.swt.widgets.Composite control)
        Description copied from class: View
        Handles events from IEventChannel. By default handles only focus events.
        Overrides:
        handleEventChannelEvent in class DtTreeView
        Parameters:
        event - the event, cannot be null.
        viewModel - the view model, cannot be null.
        control - the control, cannot be null.
      • creareTreeViewer

        protected TreeViewer creareTreeViewer​(org.eclipse.swt.widgets.Composite composite)
        Description copied from class: DtTreeView
        Creates a tree viewer.
        Overrides:
        creareTreeViewer in class DtTreeView
        Parameters:
        composite - the parent composite, cannot be null
        Returns:
        the tree viewer, never null
      • createColumns

        protected void createColumns​(TreeViewModel treeViewModel,
                                     TreeViewer treeViewer,
                                     CellLabelProvider labelProvider)
        Description copied from class: DtTreeView
        Create columns for the tree. Default implementation creates single column with configured label provider.
        Overrides:
        createColumns in class DtTreeView
        Parameters:
        treeViewModel - the view model, cannot be null
        treeViewer - the tree viewer, cannot be null