| java.lang.Object org.eclipse.ui.menus.MenuUtil
MenuUtil | public class MenuUtil (Code) | | Provides utilities and constants for use with the
new menus API.
since: 3.3 |
ANY_POPUP | final public static String ANY_POPUP(Code) | | -Any- Popup Menu
|
MAIN_MENU | final public static String MAIN_MENU(Code) | | Main Menu
|
MAIN_TOOLBAR | final public static String MAIN_TOOLBAR(Code) | | Main ToolBar (CoolBar)
|
TRIM_COMMAND1 | final public static String TRIM_COMMAND1(Code) | | Top Left Trim Area
|
TRIM_COMMAND2 | final public static String TRIM_COMMAND2(Code) | | Top Right Trim Area
|
TRIM_STATUS | final public static String TRIM_STATUS(Code) | | Bottom (Status) Trim Area
|
TRIM_VERTICAL1 | final public static String TRIM_VERTICAL1(Code) | | Left Vertical Trim Area
|
TRIM_VERTICAL2 | final public static String TRIM_VERTICAL2(Code) | | Right Vertical Trim Area
|
menuAddition | public static String menuAddition(String id, String location, String refId)(Code) | | Parameters: id - The id of the menu Parameters: location - The relative location specifier Parameters: refId - The id of the menu element to be relative toA location URI formatted with the given parameters |
menuAddition | public static String menuAddition(String id)(Code) | | Convenience method to create a standard menu addition
The resulting string has the format:
"menu:[id]?after=additions"
Parameters: id - The id of the root element to contribute to The formatted string |
menuUri | public static String menuUri(String id)(Code) | | Parameters: id - The menu's idThe lcoation URI for a menu with the given id |
toolbarAddition | public static String toolbarAddition(String id, String location, String refId)(Code) | | Parameters: id - The id of the toolbar Parameters: location - The relative location specifier Parameters: refId - The id of the toolbar element to be relative toA location URI formatted with the given parameters |
toolbarAddition | public static String toolbarAddition(String id)(Code) | | Convenience method to create a standard toolbar addition
The resulting string has the format:
"toolbar:[id]?after=additions"
Parameters: id - The id of the root element to contribute to The formatted string |
toolbarUri | public static String toolbarUri(String id)(Code) | | Parameters: id - The toolbar's idThe lcoation URI for a toolbar with the given id |
|
|