-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5442 from pentaho/wcag
Merging wcag into master
- Loading branch information
Showing
15 changed files
with
345 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
user-console/src/main/java/org/pentaho/mantle/client/ui/tabs/MantleTabMenuItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.pentaho.mantle.client.ui.tabs; | ||
|
||
import com.google.gwt.core.client.Scheduler; | ||
import com.google.gwt.user.client.ui.MenuBar; | ||
|
||
public class MantleTabMenuItem extends com.google.gwt.user.client.ui.MenuItem { | ||
private MantleTab mantleTab; | ||
|
||
public MantleTabMenuItem( MantleTab tab ) { | ||
super( tab.getLabelText(), (Scheduler.ScheduledCommand) null ); | ||
mantleTab = tab; | ||
refreshContextMenu(); | ||
} | ||
|
||
public void refreshContextMenu() { | ||
MenuBar contextMenuBar = mantleTab.getContextMenuBar( true ); | ||
contextMenuBar.addStyleName( "tabsMenuContextSubMenu" ); | ||
setSubMenu( contextMenuBar ); | ||
} | ||
} |
Oops, something went wrong.