Class AbstractTemplatePreferencePage.TemplateViewerComparator

    • Field Detail

      • columnIndex

        protected int columnIndex
        The column index last selected
      • sortOrder

        protected int sortOrder
        The sort order of comparator
        See Also:
        getDirection()
    • Constructor Detail

      • TemplateViewerComparator

        public TemplateViewerComparator()
        Returns new instance of this
    • Method Detail

      • getDirection

        public int getDirection()
        Returns the style constant for the sort direction.
        Returns:
        SWT.DOWN for asc sorting, SWT.UP otherwise
      • setColumn

        public void setColumn​(int column)
        Sets the selected column to given one
        Parameters:
        column - The column to set