Package org.eclipse.jface.util
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 Summary
Constructors Constructor Description ConfigureColumns()
-
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.
-
-
-
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 treeshellProvider
- 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 tableshellProvider
- a shell provider- Returns:
false
if the user canceled,true
otherwise
-
-