geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r351710 - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui: ./ src/org/apache/geronimo/ui/internal/ src/org/apache/geronimo/ui/sections/
Date Fri, 02 Dec 2005 13:10:48 GMT
Author: sppatel
Date: Fri Dec  2 05:10:43 2005
New Revision: 351710

URL: http://svn.apache.org/viewcvs?rev=351710&view=rev
Log:
add loglevel sec, rename other sections

Added:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorPortsSection.java
      - copied, changed from r350023, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerPortsEditorSection.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java
      - copied, changed from r350023, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerSecurityEditorSection.java
Removed:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerPortsEditorSection.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerSecurityEditorSection.java
Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/plugin.xml
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/plugin.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/plugin.xml?rev=351710&r1=351709&r2=351710&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/plugin.xml
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/plugin.xml
Fri Dec  2 05:10:43 2005
@@ -85,7 +85,7 @@
          order="10"
          insertionId="org.eclipse.wst.server.editor.overview.left"
          typeIds="org.apache.geronimo.generic.server.10"
-         class="org.apache.geronimo.ui.sections.ServerSecurityEditorSection">
+         class="org.apache.geronimo.ui.sections.ServerEditorSecuritySection">
       </section>
    </extension>
    
@@ -95,8 +95,18 @@
          order="10"
          insertionId="org.eclipse.wst.server.editor.overview.right"
          typeIds="org.apache.geronimo.generic.server.10"
-         class="org.apache.geronimo.ui.sections.ServerPortsEditorSection">
+         class="org.apache.geronimo.ui.sections.ServerEditorPortsSection">
       </section>
    </extension>
+   
+   <!-- <extension point="org.eclipse.wst.server.ui.editorPageSections">   
+      <section
+         id="org.apache.server.geronimo.loglevel"
+         order="10"
+         insertionId="org.eclipse.wst.server.editor.overview.left"
+         typeIds="org.apache.geronimo.generic.server.10"
+         class="org.apache.geronimo.ui.sections.ServerEditorLogLevelSection">
+      </section>
+   </extension> -->
 
 </plugin>

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java?rev=351710&r1=351709&r2=351710&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
Fri Dec  2 05:10:43 2005
@@ -276,6 +276,14 @@
 
 	public static String editorSectionPortsDescription;
 	
+	public static String editorSectionLogLevelTitle;
+
+	public static String editorSectionLogLevelDescription;
+	
+	public static String info;
+	
+	public static String debug;
+	
 	public static String httpPort;
 	
 	public static String rmiPort;

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties?rev=351710&r1=351709&r2=351710&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
Fri Dec  2 05:10:43 2005
@@ -28,6 +28,11 @@
 httpPort=HTTP Port:
 rmiPort=RMI Naming Port:
 
+editorSectionLogLevelTitle=Console Output
+editorSectionLogLevelDescription=Select the server console output log level.
+info=INFO
+debug=DEBUG
+
 editorConfigId=Config Id:
 editorParentId=Parent Id:
 editorContextRoot=Context Root:

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java?rev=351710&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java
(added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java
Fri Dec  2 05:10:43 2005
@@ -0,0 +1,82 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.ui.sections;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.forms.widgets.ExpandableComposite;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.Section;
+import org.eclipse.wst.server.ui.editor.ServerEditorSection;
+
+public class ServerEditorLogLevelSection extends ServerEditorSection {
+
+	Button info;
+
+	Button debug;
+
+	public ServerEditorLogLevelSection() {
+		super();
+	}
+
+	public void createSection(Composite parent) {
+		super.createSection(parent);
+
+		FormToolkit toolkit = getFormToolkit(parent.getDisplay());
+
+		Section section = toolkit.createSection(parent,
+				ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED
+						| ExpandableComposite.TITLE_BAR | Section.DESCRIPTION
+						| ExpandableComposite.FOCUS_TITLE);
+
+		section.setText(Messages.editorSectionLogLevelTitle);
+		section.setDescription(Messages.editorSectionLogLevelDescription);
+		section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
+
+		Composite composite = toolkit.createComposite(section);
+		GridLayout layout = new GridLayout();
+		layout.numColumns = 1;
+		layout.marginHeight = 5;
+		layout.marginWidth = 10;
+		layout.verticalSpacing = 5;
+		layout.horizontalSpacing = 15;
+		composite.setLayout(layout);
+		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+		section.setClient(composite);
+
+		info = toolkit.createButton(composite, Messages.info, SWT.RADIO);
+		debug = toolkit.createButton(composite, Messages.debug, SWT.RADIO);
+
+		info.addSelectionListener(new SelectionListener() {
+
+			public void widgetSelected(SelectionEvent e) {
+				//TODO
+			}
+
+			public void widgetDefaultSelected(SelectionEvent e) {
+				//TODO
+			}
+
+		});
+	}
+
+}

Copied: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorPortsSection.java
(from r350023, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerPortsEditorSection.java)
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorPortsSection.java?p2=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorPortsSection.java&p1=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerPortsEditorSection.java&r1=350023&r2=351710&rev=351710&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerPortsEditorSection.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorPortsSection.java
Fri Dec  2 05:10:43 2005
@@ -40,7 +40,7 @@
  * @author sppatel
  * 
  */
-public class ServerPortsEditorSection extends ServerEditorSection {
+public class ServerEditorPortsSection extends ServerEditorSection {
 
 	Text httpPort;
 
@@ -48,7 +48,7 @@
 
 	GeronimoServer gs;
 
-	public ServerPortsEditorSection() {
+	public ServerEditorPortsSection() {
 		super();
 	}
 

Copied: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java
(from r350023, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerSecurityEditorSection.java)
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java?p2=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java&p1=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerSecurityEditorSection.java&r1=350023&r2=351710&rev=351710&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerSecurityEditorSection.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java
Fri Dec  2 05:10:43 2005
@@ -40,7 +40,7 @@
  * 
  * 
  */
-public class ServerSecurityEditorSection extends ServerEditorSection {
+public class ServerEditorSecuritySection extends ServerEditorSection {
 
     Text username;
 
@@ -51,7 +51,7 @@
     /**
      * 
      */
-    public ServerSecurityEditorSection() {
+    public ServerEditorSecuritySection() {
         super();
     }
 



Mime
View raw message