geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r447667 - in /geronimo/devtools/eclipse-plugin/trunk/plugins: org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/ org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/
Date Tue, 19 Sep 2006 01:18:31 GMT
Author: sppatel
Date: Mon Sep 18 18:18:30 2006
New Revision: 447667

URL: http://svn.apache.org/viewvc?view=rev&rev=447667
Log:
remove unused persistant property/method, reorg test env editor configuration for buttons

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoServer.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoServer.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoServer.java?view=diff&rev=447667&r1=447666&r2=447667
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoServer.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoServer.java
Mon Sep 18 18:18:30 2006
@@ -29,8 +29,7 @@
 
 public class GeronimoServer extends GeronimoServerDelegate {
 	
-	public static final String PROPERTY_PERSISTENT = "persistent";
-	public static final String PROPERTY_IN_PLACE_SHARED_LIB = "inPlace";
+	public static final String PROPERTY_IN_PLACE_SHARED_LIB = "inPlaceSharedLib";
 	public static final String PROPERTY_RUN_FROM_WORKSPACE = "runFromWorkspace";
 
 	private static IGeronimoVersionHandler versionHandler = null;
@@ -109,13 +108,6 @@
 
 	public void setInPlaceDeployment(DeploymentManager dm, boolean enable) {
 		((JMXDeploymentManager) dm).setInPlace(enable);
-	}
-	
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.st.core.IGeronimoServer#isPersistant()
-	 */
-	public boolean isPersistant() {
-		return getAttribute(PROPERTY_PERSISTENT, false);
 	}
 	
 	/* (non-Javadoc)

Modified: geronimo/devtools/eclipse-plugin/trunk/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/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java?view=diff&rev=447667&r1=447666&r2=447667
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/ServerEditorTestEnvSection.java
Mon Sep 18 18:18:30 2006
@@ -66,24 +66,16 @@
 		composite.setLayout(layout);
 		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
 		section.setClient(composite);
+		
+		GeronimoServer gs = (GeronimoServer) server.getAdapter(GeronimoServer.class);
 
 		inPlaceSharedLib = toolkit.createButton(composite, Messages.editorSectionSharedLibrariesInPlace,
SWT.CHECK);
-		runFromWorkspace = toolkit.createButton(composite, Messages.editorSectionRunFromWorkspace,
SWT.CHECK);
-		runFromWorkspace.setToolTipText(Messages.seeRestrictions);
-
-		GeronimoServer gs = (GeronimoServer) server.getAdapter(GeronimoServer.class);
 		inPlaceSharedLib.setSelection(gs.isInPlaceSharedLib());
-		runFromWorkspace.setSelection(gs.isRunFromWorkspace());
-
-		GridData data = new GridData();
-		runFromWorkspace.setLayoutData(data);
-		// TODO temporarily disable support until new implementation
-		runFromWorkspace.setEnabled(false);
-
 		inPlaceSharedLib.addSelectionListener(new SelectionListener() {
-			
+
 			public void widgetSelected(SelectionEvent e) {
-				execute(new SetInPlaceSharedLibCommand(server, inPlaceSharedLib.getSelection()));
+				execute(new SetInPlaceSharedLibCommand(server, inPlaceSharedLib
+						.getSelection()));
 			}
 
 			public void widgetDefaultSelected(SelectionEvent e) {
@@ -91,10 +83,15 @@
 
 		});
 
+		runFromWorkspace = toolkit.createButton(composite, Messages.editorSectionRunFromWorkspace,
SWT.CHECK);
+		runFromWorkspace.setSelection(gs.isRunFromWorkspace());
+		// TODO temporarily disable support until new implementation
+		runFromWorkspace.setEnabled(false);
 		runFromWorkspace.addSelectionListener(new SelectionListener() {
 
 			public void widgetSelected(SelectionEvent e) {
-				execute(new SetRunFromWorkspaceCommand(server, runFromWorkspace.getSelection()));
+				execute(new SetRunFromWorkspaceCommand(server, runFromWorkspace
+						.getSelection()));
 			}
 
 			public void widgetDefaultSelected(SelectionEvent e) {



Mime
View raw message