geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcco...@apache.org
Subject svn commit: r669202 - in /geronimo/devtools/eclipse-plugin/trunk/plugins: org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/ org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/sections/
Date Wed, 18 Jun 2008 15:15:27 GMT
Author: mcconne
Date: Wed Jun 18 08:15:27 2008
New Revision: 669202

URL: http://svn.apache.org/viewvc?rev=669202&view=rev
Log:
GERONIMODEVTOOLS-383 Fixes to web general page -- Thanks BJ Reed for this patch!!

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/sections/WebGeneralSection.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java?rev=669202&r1=669201&r2=669202&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.java
Wed Jun 18 08:15:27 2008
@@ -119,6 +119,8 @@
     public static String editorSectionGeneralTitle;
     public static String editorSectionGeneralDescription;
     public static String editorContextRoot;
+    public static String editorWorkDir;
+    public static String editorSecurityRealmName;
     public static String editorApplicationName;
     public static String editorCallbackHandler;
     public static String editorRealmName;

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties?rev=669202&r1=669201&r2=669202&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/internal/Messages.properties
Wed Jun 18 08:15:27 2008
@@ -82,6 +82,8 @@
 maxPingsTooltip=The number of pings to the server before startup is considered a failure.
 
 editorContextRoot=Context Root:
+editorWorkDir=Working Directory:
+editorSecurityRealmName=Security Realm Name:
 editorCallbackHandler=Callback Handler:
 editorRealmName=Realm Name:
 editorApplicationName=Application Name:

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/sections/WebGeneralSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/sections/WebGeneralSection.java?rev=669202&r1=669201&r2=669202&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/sections/WebGeneralSection.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v21.ui/src/main/java/org/apache/geronimo/st/v21/ui/sections/WebGeneralSection.java
Wed Jun 18 08:15:27 2008
@@ -32,6 +32,10 @@
 
 	protected Text contextRoot;
 
+    protected Text workDir;
+
+    protected Text securityRealmName;
+
 	WebApp plan;
 
 	public WebGeneralSection(Composite parent, FormToolkit toolkit, int style, JAXBElement plan)
{
@@ -46,13 +50,35 @@
 
 		createLabel(composite, CommonMessages.editorContextRoot);
 
-		contextRoot = toolkit.createText(composite, plan.getContextRoot(), SWT.BORDER);
-		contextRoot.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
-		contextRoot.addModifyListener(new ModifyListener() {
-			public void modifyText(ModifyEvent e) {
-				plan.setContextRoot(contextRoot.getText());
-				markDirty();
-			}
-		});
+        contextRoot = toolkit.createText(composite, plan.getContextRoot(), SWT.BORDER);
+        contextRoot.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
+        contextRoot.addModifyListener(new ModifyListener() {
+            public void modifyText(ModifyEvent e) {
+                plan.setContextRoot(contextRoot.getText());
+                markDirty();
+            }
+        });
+
+        createLabel(composite, CommonMessages.editorWorkDir);
+
+        workDir = toolkit.createText(composite, plan.getWorkDir(), SWT.BORDER);
+        workDir.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
+        workDir.addModifyListener(new ModifyListener() {
+            public void modifyText(ModifyEvent e) {
+                plan.setWorkDir(workDir.getText());
+                markDirty();
+            }
+        });
+
+        createLabel(composite, CommonMessages.editorSecurityRealmName);
+
+        securityRealmName = toolkit.createText(composite, plan.getSecurityRealmName(), SWT.BORDER);
+        securityRealmName.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
+        securityRealmName.addModifyListener(new ModifyListener() {
+            public void modifyText(ModifyEvent e) {
+                plan.setSecurityRealmName(securityRealmName.getText());
+                markDirty();
+            }
+        });
 	}
 }



Mime
View raw message