Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] LoadResourceAction implemented but not available

Hello,

Looking at the oep.diagram.common plugin.xml, I found an action which I can not see in the Papyrus UI.
This is the LoadResourceAction which enables loading an additional resource.

The current code is
<extension
      point="org.eclipse.ui.menus">
   <menuContribution
         locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContribution">
      <command
            commandId="org.eclipse.papyrus.diagram.commands.LoadResourceAction"
            label="Load resource..."
            style="push">
         <visibleWhen>
            <or>
               <with
                     variable="activePartId">
                  <equals
                        value="org.eclipse.papyrus.core.papyrusEditor">
                  </equals>
               </with>
            </or>
         </visibleWhen>
      </command>
   </menuContribution>
</extension>
<extension
      point="org.eclipse.ui.commands">
   <command
         categoryId="org.eclipse.papyrus.editor.category"
         defaultHandler="org.eclipse.papyrus.diagram.common.actions.LoadResourceAction"
         id="org.eclipse.papyrus.diagram.commands.LoadResourceAction"
         name="Load Resource">
   </command>


Does someone know where this popup menu is ? I found no other reference to it at all. Is it a deprecated menu ?
Instead, I would write :
<menuContribution locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu?endof=fileMenu"
        allPopups="false">
   <!--menuContribution
         locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContribution"-->


If anyone knows about this, please answer me, otherwise I will make the modification within a few days to make the action available again.

Best regards,
Vincent.

Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.


Back to the top