<shrtMenuSeparator> Element

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.

Element Tree Structure

<editLiveForJava>
    <shortcutMenu>
        <shrtMenu>
            <shrtMenuSeparator>

<editLiveForJava>
     <shortcutMenu>
          <shrtMenu>
               <shrtMenuSeparator/>
          </shrtMenu>
     </shortcutMenu>
</editLiveForJava>

Example

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>

Remarks

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/>

See Also