Class ConfigureColumns


  • public class ConfigureColumns
    extends java.lang.Object
    Utilities for configuring columns of trees and tables in a keyboard-accessible way.
    Since:
    3.5
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean forTable​(Table table, IShellProvider shellProvider)
      Configure the columns of the given tree in a keyboard-accessible way, using the given shell provider to parent dialogs.
      static boolean forTree​(Tree tree, IShellProvider shellProvider)
      Configure the columns of the given tree in a keyboard-accessible way, using the given shell provider to parent dialogs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigureColumns

        public ConfigureColumns()
    • Method Detail

      • forTree

        public static boolean forTree​(Tree tree,
                                      IShellProvider shellProvider)
        Configure the columns of the given tree in a keyboard-accessible way, using the given shell provider to parent dialogs.
        Parameters:
        tree - the tree
        shellProvider - a shell provider
        Returns:
        false if the user canceled, true otherwise
      • forTable

        public static boolean forTable​(Table table,
                                       IShellProvider shellProvider)
        Configure the columns of the given tree in a keyboard-accessible way, using the given shell provider to parent dialogs.
        Parameters:
        table - the table
        shellProvider - a shell provider
        Returns:
        false if the user canceled, true otherwise