]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Gave SysdynBrowser its own context menu ID: #SysdynBrowserPopup
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 16 Mar 2010 09:24:33 +0000 (09:24 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 16 Mar 2010 09:24:33 +0000 (09:24 +0000)
to get rid of contributions made by ODE.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@14957 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/plugin.xml
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/SysdynBrowser.java

index f1ca3695a937d93d34d699389ffea6dbaf9caa5c..fffda765070ef894f9966549bee4cf3672436c9e 100644 (file)
             </command>\r
          </toolbar>\r
       </menuContribution>\r
+      <menuContribution\r
+            locationURI="popup:#SysdynBrowserPopup?after=wbStart">\r
+         <dynamic\r
+               class="org.simantics.ui.contribution.OpenWithMenuContribution"\r
+               id="org.simantics.sysdyn.ui.browser.openWithMenu">\r
+         </dynamic>\r
+      </menuContribution>\r
       <menuContribution\r
             locationURI="popup:#SysdynDiagramPopup?after=wbStart">\r
          <menu\r
index cdbd70981e1aeebec4714982c2e176fdb062a70c..6dd3043a93fcc96f6287fcbcc5a877a743b2b4df 100644 (file)
@@ -47,7 +47,7 @@ public class SysdynBrowser extends GraphExplorerView {
 \r
     @Override\r
     protected IContextMenuInitializer getContextMenuInitializer() {\r
-        return new ContextMenuInitializer("#OntologyExplorerPopup");\r
+        return new ContextMenuInitializer("#SysdynBrowserPopup");\r
     }\r
 \r
     @Override\r