Dear M. Shafie,
We have added contextual menus bound to mouse-button-3 on some elements
('grp' in our case). For all other elements, we revert to the default
editMenu.
The contextual menu is defined with a label explaining the menu's
purpose briefly:
<cfg:command name="contextualMenuGrp">
<cfg:menu label="Add Child">
<cfg:separator/>
<cfg:item label="Group or Procedure"
command="insert" parameter="into
{http://www.cggveritas.com/geovation/module/2.0}grp" />
<cfg:item label="Optional Procedure"
command="insert" parameter="into
{http://www.cggveritas.com/geovation/module/2.0}opt" />
<cfg:menu label="Parameter">
<cfg:item label="Attribute"
command="insert" parameter="into
{http://www.cggveritas.com/geovation/module/2.0}attribute" />
The rest is skipped; this works fine, apart the fact that the top-menu
label is not displayed (the separator is displayed and so are the
sub-menus labels).
Is there something wrong in our code ? or did we misunderstood the
documentation ?
Many thanks,
Best regards.
Philippe.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support