This element contains information for a grouping on the menu. The commands added by this element can only be added and removed from the menu as a group.
A grouping is a set of two or more items which are related and their selection is mutually exclusive within EditLive! for Java. For example, the Source View and Design View commands exist in a menuItemGroup.
<editLiveForJava>
<menuBar>
<menu>
<menuItemGroup>
<editLiveForJava> ... <menuBar> <menu> <menuItemGroup ... /> </menu> </menuBar> ... </editLiveForJava> |
Attribute | Description |
name | This attribute gives the name for the command group. It
must be one of the following:
|
The following example demonstrates how to add the Design View and HTML View commands to the menu bar.
<editLiveForJava>
...
<menuBar>
<menu name="View">
<menuGroupItem
name="mnuSourceView"/>
</menu>
</menuBar>
...
</editLiveForJava>
The <menuGroupItem> element can appear multiple times within the <menu> element.
The <menuGroupItem> element must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. See the example below:
<menuGroupItem name=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.