geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r509383 - /geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.ui/plugin.xml
Date Mon, 19 Feb 2007 23:40:05 GMT
Author: sppatel
Date: Mon Feb 19 15:40:05 2007
New Revision: 509383

URL: http://svn.apache.org/viewvc?view=rev&rev=509383
Log:
enable console action only for Geronimo

Modified:
    geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.ui/plugin.xml

Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.ui/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.ui/plugin.xml?view=diff&rev=509383&r1=509382&r2=509383
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.ui/plugin.xml
(original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.ui/plugin.xml
Mon Feb 19 15:40:05 2007
@@ -73,14 +73,21 @@
     </extension>
 
 	<extension point="org.eclipse.ui.popupMenus">
-        <objectContribution id="org.apache.geronimo.ui.serveractions"
-            objectClass="org.eclipse.wst.server.core.IServer">
-            <action id="org.apache.geronimo.ui.launchconsole"
-                label="%PopupMenus.launchconsole" icon="icons/obj16/littleG.gif"
-                class="org.apache.geronimo.st.ui.actions.LaunchGeronimoConsoleAction"
-                enablesFor="1">
-            </action>
-        </objectContribution>
+		<objectContribution
+	      		adaptable="true"
+	      		id="org.apache.geronimo.ui.serveractions"
+	      		objectClass="org.eclipse.wst.server.core.IServer">
+	      	<enablement>
+	        	<test forcePluginActivation="true"
+	            	property="org.eclipse.wst.server.ui.serverType"
+	           		value="org.apache.geronimo.*" />
+	      	</enablement>
+	        <action id="org.apache.geronimo.ui.launchconsole"
+	        	label="%PopupMenus.launchconsole" icon="icons/obj16/littleG.gif"
+	            class="org.apache.geronimo.st.ui.actions.LaunchGeronimoConsoleAction"
+	           	enablesFor="1">
+	        </action>
+    	</objectContribution>
     </extension>
     
     <extension point="org.eclipse.wst.server.ui.editorPageSections">
@@ -89,7 +96,7 @@
             typeIds="org.apache.geronimo.server.*"
             class="org.apache.geronimo.st.ui.sections.ServerEditorSecuritySection">
         </section>
-    </extension>
+    </extension> 
     
     <extension point="org.eclipse.wst.server.ui.editorPageSections">
         <section id="org.apache.server.geronimo.port" order="10"



Mime
View raw message