You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2007/03/27 19:08:23 UTC

svn commit: r522999 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerVMArgsSection.java

Author: sppatel
Date: Tue Mar 27 10:08:23 2007
New Revision: 522999

URL: http://svn.apache.org/viewvc?view=rev&rev=522999
Log:
class removed, use factory

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerVMArgsSection.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerVMArgsSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerVMArgsSection.java?view=diff&rev=522999&r1=522998&r2=522999
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerVMArgsSection.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerVMArgsSection.java Tue Mar 27 10:08:23 2007
@@ -20,7 +20,7 @@
 import org.apache.geronimo.st.ui.commands.SetVMArgsCommand;
 import org.apache.geronimo.st.ui.internal.Messages;
 import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.debug.internal.ui.SWTUtil;
+import org.eclipse.debug.internal.ui.SWTFactory;
 import org.eclipse.debug.ui.StringVariableSelectionDialog;
 import org.eclipse.jdt.internal.debug.ui.launcher.LauncherMessages;
 import org.eclipse.swt.SWT;
@@ -101,8 +101,9 @@
 				execute(new SetVMArgsCommand(server, getAttributeValueFrom(fVMArgumentsText)));
 			}
 		});
-				
-		fPgrmArgVariableButton = SWTUtil.createPushButton(composite, LauncherMessages.VMArgumentsBlock_4, null);
+		
+		
+		fPgrmArgVariableButton = SWTFactory.createPushButton(composite, LauncherMessages.VMArgumentsBlock_4, null);
 		fPgrmArgVariableButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
 		fPgrmArgVariableButton.addSelectionListener(new SelectionListener() {
 			public void widgetSelected(SelectionEvent e) {