geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r510488 - in /geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui: plugin.xml src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java
Date Thu, 22 Feb 2007 13:05:47 GMT
Author: sppatel
Date: Thu Feb 22 05:05:46 2007
New Revision: 510488

URL: http://svn.apache.org/viewvc?view=rev&rev=510488
Log:
enable missing test env section is server editor

Modified:
    geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/plugin.xml
    geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java

Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/plugin.xml?view=diff&rev=510488&r1=510487&r2=510488
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/plugin.xml
(original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/plugin.xml
Thu Feb 22 05:05:46 2007
@@ -23,7 +23,7 @@
     <extension point="org.eclipse.wst.server.ui.editorPageSections">
         <section id="org.apache.server.geronimo.testenv" order="20"
             insertionId="org.eclipse.wst.server.editor.overview.left"
-            typeIds="org.apache.geronimo.server.11"
+            typeIds="org.apache.geronimo.server.11, org.apache.geronimo.server.12"
             class="org.apache.geronimo.st.v11.ui.sections.ServerEditorTestEnvSection">
         </section>
     </extension>

Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java?view=diff&rev=510488&r1=510487&r2=510488
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java
Thu Feb 22 05:05:46 2007
@@ -16,6 +16,7 @@
  */
 package org.apache.geronimo.st.v11.ui.sections;
 
+import org.apache.geronimo.st.core.IGeronimoServer;
 import org.apache.geronimo.st.v11.core.GeronimoServer;
 import org.apache.geronimo.st.v11.ui.commands.SetInPlaceSharedLibCommand;
 import org.apache.geronimo.st.v11.ui.commands.SetRunFromWorkspaceCommand;
@@ -68,7 +69,7 @@
 		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
 		section.setClient(composite);
 		
-		GeronimoServer gs = (GeronimoServer) server.getAdapter(GeronimoServer.class);
+		IGeronimoServer gs = (IGeronimoServer) server.getAdapter(IGeronimoServer.class);
 
 		inPlaceSharedLib = toolkit.createButton(composite, Messages.editorSectionSharedLibrariesInPlace,
SWT.CHECK);
 		inPlaceSharedLib.setSelection(gs.isInPlaceSharedLib());
@@ -86,8 +87,7 @@
 
 		runFromWorkspace = toolkit.createButton(composite, Messages.editorSectionRunFromWorkspace,
SWT.CHECK);
 		runFromWorkspace.setSelection(gs.isRunFromWorkspace());
-		// TODO temporarily disable support until new implementation
-		//runFromWorkspace.setEnabled(false);
+		runFromWorkspace.setEnabled(false);	//FIXME disable support until supported
 		runFromWorkspace.addSelectionListener(new SelectionListener() {
 
 			public void widgetSelected(SelectionEvent e) {



Mime
View raw message