Class AbstractTemplatePreferencePage.TemplateColumnSelectionAdapter

    • Field Detail

      • tableColumn

        protected final org.eclipse.swt.widgets.TableColumn tableColumn
        Column this provider is assgned for
      • columnIndex

        protected final int columnIndex
        The index of the column
      • tableViewer

        protected final TableViewer tableViewer
        The viewer containing column
    • Constructor Detail

      • TemplateColumnSelectionAdapter

        public TemplateColumnSelectionAdapter​(org.eclipse.swt.widgets.TableColumn tableColumn,
                                              int columnIndex,
                                              AbstractTemplatePreferencePage.TemplateViewerComparator viewerComparator,
                                              TableViewer tableViewer)
        Creates new instance of this
        Parameters:
        tableColumn - The tableColumn for this adapter, cannot be null
        columnIndex - The index of the column
        viewerComparator - The viewerComparator for this SelectiionAdapter, cannot be null
        tableViewer - The tableViewer of table, cannot be null
    • Method Detail

      • widgetSelected

        public void widgetSelected​(org.eclipse.swt.events.SelectionEvent e)
        Specified by:
        widgetSelected in interface org.eclipse.swt.events.SelectionListener
        Overrides:
        widgetSelected in class org.eclipse.swt.events.SelectionAdapter