geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r325947 - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections: AbstractSectionPart.java CommonGeneralSection.java DynamicTableSection.java
Date Mon, 17 Oct 2005 18:22:59 GMT
Author: sppatel
Date: Mon Oct 17 11:22:47 2005
New Revision: 325947

URL: http://svn.apache.org/viewcvs?rev=325947&view=rev
Log:
push plan eobject to abstractsectionpart

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractSectionPart.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/CommonGeneralSection.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/DynamicTableSection.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractSectionPart.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractSectionPart.java?rev=325947&r1=325946&r2=325947&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractSectionPart.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractSectionPart.java
Mon Oct 17 11:22:47 2005
@@ -15,6 +15,7 @@
  */
 package org.apache.geronimo.ui.sections;
 
+import org.eclipse.emf.ecore.EObject;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.SectionPart;
 import org.eclipse.ui.forms.widgets.FormToolkit;
@@ -23,6 +24,8 @@
 public abstract class AbstractSectionPart extends SectionPart {
     
     protected FormToolkit toolkit;
+    
+    EObject plan;
 
     /**
      * @param section
@@ -36,9 +39,10 @@
      * @param toolkit
      * @param style
      */
-    public AbstractSectionPart(Composite parent, FormToolkit toolkit, int style) {
+    public AbstractSectionPart(Composite parent, FormToolkit toolkit, int style, EObject
plan) {
         super(parent, toolkit, style);
         this.toolkit = toolkit;
+        this.plan = plan;
     }
 
     /*

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/CommonGeneralSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/CommonGeneralSection.java?rev=325947&r1=325946&r2=325947&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/CommonGeneralSection.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/CommonGeneralSection.java
Mon Oct 17 11:22:47 2005
@@ -36,11 +36,8 @@
 
     protected Text parentId;
     
-    private EObject plan;
-    
     public CommonGeneralSection(Composite parent, FormToolkit toolkit, int style, EObject
plan) {
-        super(parent, toolkit, style);
-        this.plan = plan;
+        super(parent, toolkit, style, plan);
     }
 
     protected void createConfigAndParentComposite(Section section,

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/DynamicTableSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/DynamicTableSection.java?rev=325947&r1=325946&r2=325947&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/DynamicTableSection.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/DynamicTableSection.java
Mon Oct 17 11:22:47 2005
@@ -52,8 +52,6 @@
 
 public abstract class DynamicTableSection extends AbstractSectionPart {
 
-    private EObject plan;
-
     private Image image;
 
     protected Table table;
@@ -77,8 +75,7 @@
      */
     public DynamicTableSection(EObject plan, Composite parent,
             FormToolkit toolkit, int style) {
-        super(parent, toolkit, style);
-        this.plan = plan;
+        super(parent, toolkit, style, plan);
     }
 
     public void create() {



Mime
View raw message