This element places a horizontal separating line between commands within the Ephox
EditLive!
for Java shortcut menu. This line will appear between the commands defined by the
<shrtMenuItem>
elements immediately before and after the <shrtMenuSeparator> element.
Note: This element has no attributes or child elements.
<editLiveForJava>
<shortcutMenu>
<shrtMenu>
<shrtMenuSeparator>
<editLiveForJava> <shortcutMenu> <shrtMenu> <shrtMenuSeparator/> </shrtMenu> </shortcutMenu> </editLiveForJava> |
The following example places a shortcut menu separator between the Paste and the Select All commands in the EditLive! for Java shortcut menu.
<editLiveForJava>
...
<shortcutMenu>
<shrtMenu>
<shrtMenuItem
name="shrtCut" />
<shrtMenuItem
name="shrtCopy" />
<shrtMenuItem
name="shrtPaste" />
<shrtMenuSeparator/>
<shrtMenuItem
name="shrtSelectAll" />
</shrtMenu>
</shortcutMenu>
</editLiveForJava>
The <shrtMenuSeparator> element can appear multiple times within the <shrtMenu> element.
The <shrtMenuSeparator> 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:
<shortMenuSeparator/>
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.