Popup Menu for Parts [message #559575] |
Fri, 17 September 2010 05:08  |
Eclipse User |
|
|
|
Hi,
I would like to define a popupMenu for a part i have. Please correct me if I'm wrong: Parts have a reference "menus" of type Menu. PopupMenu is derived from Menu. That means, Parts can have PopupMenus defined on them, right?
If I try that, nothing happens.
<children xsi:type="basic:Part" xmi:id="_-7wfwaYNEd-xn9JKIfqabw" elementId="456546" contributionURI="platform:/plugin/TestDragNDrop/testdragndrop.Part1" label="IGotAMenuPart">
<menus xsi:type="menu:PopupMenu" xmi:id="__V9UsMI2Ed-G988IsJVfAA" elementId="menuID" label="PartMenu" >
<children xsi:type="menu:HandledMenuItem" xmi:id="_-NlAEZYzEd-Klp4g7EF_Sg" label="Open" command="_-Nb2J5YzEd-Klp4g7EF_Sg"/>
</menus>
</children>
Please help me. Did I miss something or did/understood something wrong?
Many thanks in advance...
aRne
|
|
|
|
Powered by
FUDForum. Page generated in 0.04658 seconds