Class ConfigureColumns

java.lang.Object
org.eclipse.jface.util.ConfigureColumns

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

    • ConfigureColumns

      public ConfigureColumns()
  • Method Details

    • 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