|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.nebula.widgets.nattable.ui.menu.MenuItemProviders
public class MenuItemProviders
Helper class that provides several IMenuItemProvider for menu items
that can be used within a popup menu in the NatTable to execute NatTable
specific actions.
| Field Summary | |
|---|---|
static String |
NAT_EVENT_DATA_KEY
Key that is used to put the NatEventData into the data of a menu. |
| Constructor Summary | |
|---|---|
MenuItemProviders()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAT_EVENT_DATA_KEY
| Constructor Detail |
|---|
public MenuItemProviders()
| Method Detail |
|---|
public static NatEventData getNatEventData(org.eclipse.swt.events.SelectionEvent selectionEvent)
Menu
selectionEvent - on the MenuItem
Menupublic static IMenuItemProvider hideColumnMenuItemProvider()
IMenuItemProvider that adds the action
for executing the ColumnHideCommand to a popup menu. This command
is intended to hide the current selected column immediately.
IMenuItemProvider for the MenuItem that
executes the ColumnHideCommand. The MenuItem will
be shown with the localized default text configured in NatTable
core.public static IMenuItemProvider hideColumnMenuItemProvider(String menuLabel)
IMenuItemProvider that adds the action
for executing the ColumnHideCommand to a popup menu. This command
is intended to hide the current selected column immediately.
The MenuItem will be shown with the given menu label.
menuLabel - The text that will be showed for the generated
MenuItem
IMenuItemProvider for the MenuItem that
executes the ColumnHideCommand.public static IMenuItemProvider showAllColumnsMenuItemProvider()
IMenuItemProvider that adds the action
for executing the ShowAllColumnsCommand to a popup menu. This
command is intended to show all columns of the NatTable and is used to
unhide previous hidden columns.
IMenuItemProvider for the MenuItem that
executes the ShowAllColumnsCommand. The MenuItem
will be shown with the localized default text configured in
NatTable core.public static IMenuItemProvider showAllColumnsMenuItemProvider(String menuLabel)
IMenuItemProvider that adds the action
for executing the ShowAllColumnsCommand to a popup menu. This
command is intended to show all columns of the NatTable and is used to
unhide previous hidden columns.
The MenuItem will be shown with the given menu label.
menuLabel - The text that will be showed for the generated
MenuItem
IMenuItemProvider for the MenuItem that
executes the ShowAllColumnsCommand.public static IMenuItemProvider hideRowMenuItemProvider()
IMenuItemProvider that adds the action
for executing the RowHideCommand to a popup menu. This command is
intended to hide the current selected row immediately.
IMenuItemProvider for the MenuItem that
executes the RowHideCommand. The MenuItem will be
shown with the localized default text configured in NatTable
core.public static IMenuItemProvider hideRowMenuItemProvider(String menuLabel)
IMenuItemProvider that adds the action
for executing the RowHideCommand to a popup menu. This command is
intended to hide the current selected row immediately.
The MenuItem will be shown with the given menu label.
menuLabel - The text that will be showed for the generated
MenuItem
IMenuItemProvider for the MenuItem that
executes the RowHideCommand.public static IMenuItemProvider showAllRowsMenuItemProvider()
IMenuItemProvider that adds the action
for executing the ShowAllRowsCommand to a popup menu. This
command is intended to show all rows of the NatTable and is used to
unhide previous hidden rows.
IMenuItemProvider for the MenuItem that
executes the ShowAllRowsCommand. The MenuItem
will be shown with the localized default text configured in
NatTable core.public static IMenuItemProvider showAllRowsMenuItemProvider(String menuLabel)
IMenuItemProvider that adds the action
for executing the ShowAllRowsCommand to a popup menu. This
command is intended to show all rows of the NatTable and is used to
unhide previous hidden rows.
The MenuItem will be shown with the given menu label.
menuLabel - The text that will be showed for the generated
MenuItem
IMenuItemProvider for the MenuItem that
executes the ShowAllRowsCommand.public static IMenuItemProvider autoResizeColumnMenuItemProvider()
public static IMenuItemProvider autoResizeColumnMenuItemProvider(String menuLabel)
public static IMenuItemProvider autoResizeRowMenuItemProvider()
public static IMenuItemProvider autoResizeRowMenuItemProvider(String menuLabel)
public static IMenuItemProvider autoResizeAllSelectedColumnMenuItemProvider()
public static IMenuItemProvider autoResizeAllSelectedColumnMenuItemProvider(String menuLabel)
public static IMenuItemProvider columnChooserMenuItemProvider()
public static IMenuItemProvider columnChooserMenuItemProvider(String menuLabel)
public static IMenuItemProvider columnStyleEditorMenuItemProvider()
public static IMenuItemProvider columnStyleEditorMenuItemProvider(String menuLabel)
public static IMenuItemProvider renameColumnMenuItemProvider()
public static IMenuItemProvider renameColumnMenuItemProvider(String label)
public static IMenuItemProvider createColumnGroupMenuItemProvider()
public static IMenuItemProvider createColumnGroupMenuItemProvider(String menuLabel)
public static IMenuItemProvider ungroupColumnsMenuItemProvider()
public static IMenuItemProvider ungroupColumnsMenuItemProvider(String menuLabel)
public static IMenuItemProvider inspectLabelsMenuItemProvider()
public static IMenuItemProvider categoriesBasedColumnChooserMenuItemProvider()
public static IMenuItemProvider categoriesBasedColumnChooserMenuItemProvider(String menuLabel)
public static IMenuItemProvider clearAllFiltersMenuItemProvider()
public static IMenuItemProvider clearAllFiltersMenuItemProvider(String menuLabel)
public static IMenuItemProvider clearToggleFilterRowMenuItemProvider()
public static IMenuItemProvider clearToggleFilterRowMenuItemProvider(String menuLabel)
public static IMenuItemProvider stateManagerMenuItemProvider()
IMenuItemProvider that adds the action
for executing the DisplayPersistenceDialogCommand to a popup
menu. This command is intended to open the DisplayPersistenceDialog for
managing NatTable states (also called view management).
IMenuItemProvider for the MenuItem that
executes the DisplayPersistenceDialogCommand The
MenuItem will be shown with the localized default text
configured in NatTable core.public static IMenuItemProvider stateManagerMenuItemProvider(String menuLabel)
IMenuItemProvider that adds the action
for executing the DisplayPersistenceDialogCommand to a popup
menu. This command is intended to open the DisplayPersistenceDialog for
managing NatTable states (also called view management).
The MenuItem will be shown with the given menu label.
menuLabel - The text that will be showed for the generated
MenuItem
IMenuItemProvider for the MenuItem that
executes the DisplayPersistenceDialogCommand The
MenuItem will be shown with the localized default text
configured in NatTable core.public static IMenuItemProvider separatorMenuItemProvider()
IMenuItemProvider for adding a separator to the popup
menu.public static IMenuItemProvider renameColumnGroupMenuItemProvider()
public static IMenuItemProvider renameColumnGroupMenuItemProvider(String menuLabel)
public static IMenuItemProvider removeColumnGroupMenuItemProvider()
public static IMenuItemProvider removeColumnGroupMenuItemProvider(String menuLabel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||