Skip to content

Commit

Permalink
Bug 511341 - XViewer.getCustomizeAction returns Drop-Down Action
Browse files Browse the repository at this point in the history
Change-Id: I314097e01ce66c9c121f62bb37d45b5a3169389a
  • Loading branch information
dondunne committed Feb 2, 2017
1 parent 5ef250c commit 2555b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ public void updateMenuActionsForHeader() {
}

public Action getCustomizeAction() {
return new TableCustomizationAction(this);
return new TableCustomizationDropDownAction(this);
}

public Action getCustomizeDropDownAction() {
return new TableCustomizationDropDownAction(this);
public Action getCustomizeActionWithoutDropDown() {
return new TableCustomizationAction(this);
}

public void addCustomizeToViewToolbar(IToolBarManager toolbarManager) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void run() {
}

public void createTableCustomizationMenuItem(Menu popupMenu) {
new ActionContributionItem(xViewer.getCustomizeAction()).fill(popupMenu, -1);
new ActionContributionItem(xViewer.getCustomizeActionWithoutDropDown()).fill(popupMenu, -1);
}

public void createViewTableReportMenuItem(Menu popupMenu) {
Expand Down

0 comments on commit 2555b5a

Please sign in to comment.