Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8091153: Customize the Table Button Menu #1135

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -465,11 +465,12 @@ protected NestedTableColumnHeader createRootHeader() {
}

/**
* Shows a menu with all leaf columns.
* These can selected/deselected to make the corresponding column visible/invisible.
* This method can be overridden if there is a desire to create and show a custom menu.
* Shows a menu containing all leaf columns as item.
* An item can be selected/deselected to make the corresponding column visible/invisible.
*
* @param mouseEvent the {@link MouseEvent} which was generated when the corner region was pressed.
* @implNote This method can be overridden to create and show a custom menu.
* @param mouseEvent the {@link MouseEvent} which was generated when the table menu button was pressed.
* @since 21
*/
protected void showColumnMenu(MouseEvent mouseEvent) {
if (columnPopupMenu == null) {