geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r366939 [2/3] - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui: actions/ commands/ editors/ internal/ pages/ sections/ wizards/
Date Sat, 07 Jan 2006 23:08:28 GMT
Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbLocalRefSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbLocalRefSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbLocalRefSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbLocalRefSection.java Sat Jan  7 15:07:55 2006
@@ -32,79 +32,86 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class EjbLocalRefSection extends DynamicTableSection {
-    
-    EReference ejbLocalRefERef;
-
-    public EjbLocalRefSection(EObject plan, Composite parent,
-            FormToolkit toolkit, int style,  EReference ejbLocalRefERef) {
-        super(plan, parent, toolkit, style);
-        this.ejbLocalRefERef = ejbLocalRefERef;
-        create();
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
-     */
-    public String getTitle() {
-        return Messages.editorEjbLocalRefTitle;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
-     */
-    public String getDescription() {
-        return Messages.editorEjbLocalRefDescription;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
-     */
-    public EReference getEReference() {
-        return ejbLocalRefERef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
-     */
-    public String[] getTableColumnNames() {
-        return new String[] { Messages.editorEjbRefTargetName,
-                Messages.editorEjbRefEjbLink };
-
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
-     */
-    public Wizard getWizard() {
-        return new EjbLocalRefWizard(this);
-    }
-    
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getImageDescriptor()
-     */
-    public ImageDescriptor getImageDescriptor() {
-        return GeronimoUIPlugin.imageDescriptorFromPlugin(
-                "org.eclipse.jst.j2ee", "icons/full/obj16/ejb_local_ref_obj.gif");
-    }
-    
-    public List getFactories() {
-    	List factories = new ArrayList();
+public class EjbLocalRefSection extends AbstractTableSection {
+
+	EReference ejbLocalRefERef;
+
+	public EjbLocalRefSection(EObject plan, Composite parent,
+			FormToolkit toolkit, int style, EReference ejbLocalRefERef) {
+		super(plan, parent, toolkit, style);
+		this.ejbLocalRefERef = ejbLocalRefERef;
+		create();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
+	 */
+	public String getTitle() {
+		return Messages.editorEjbLocalRefTitle;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
+	 */
+	public String getDescription() {
+		return Messages.editorEjbLocalRefDescription;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
+	 */
+	public EReference getEReference() {
+		return ejbLocalRefERef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
+	 */
+	public String[] getTableColumnNames() {
+		return new String[] { Messages.editorEjbRefTargetName,
+				Messages.editorEjbRefEjbLink };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
+	 */
+	public Wizard getWizard() {
+		return new EjbLocalRefWizard(this);
+	}
+
+	public ImageDescriptor getImageDescriptor() {
+		return GeronimoUIPlugin.imageDescriptorFromPlugin(
+				"org.eclipse.jst.j2ee",
+				"icons/full/obj16/ejb_local_ref_obj.gif");
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
+	public List getFactories() {
+		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
 		factories.add(new NamingItemProviderAdapterFactory());
 		return factories;
-    }
+	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return NamingPackage.eINSTANCE.getEjbLocalRefType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbRefSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbRefSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbRefSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/EjbRefSection.java Sat Jan  7 15:07:55 2006
@@ -32,86 +32,91 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class EjbRefSection extends DynamicTableSection {
-    
-    EReference ejbRefERef;
-
-    /**
-     * @param plan
-     * @param parent
-     * @param toolkit
-     * @param style
-     */
-    public EjbRefSection(EObject plan, Composite parent, FormToolkit toolkit,
-            int style, EReference ejbRefERef) {
-        super(plan, parent, toolkit, style);
-        this.ejbRefERef = ejbRefERef;
-        create();
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
-     */
-    public String getTitle() {
-        return Messages.editorEjbRefTitle;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
-     */
-    public String getDescription() {
-        return Messages.editorEjbRefDescription;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
-     */
-    public EReference getEReference() {
-        return ejbRefERef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
-     */
-    public String[] getTableColumnNames() {
-        return new String[] { Messages.editorEjbRefTargetName,
-                Messages.editorEjbRefEjbLink };
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
-     */
-    public Wizard getWizard() {
-        return new EjbRefWizard(this);
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getImageDescriptor()
-     */
-    public ImageDescriptor getImageDescriptor() {
-        return GeronimoUIPlugin.imageDescriptorFromPlugin(
-                "org.eclipse.jst.j2ee", "icons/full/obj16/ejbRef_obj.gif");
-    }
-    
-    public List getFactories() {
-    	List factories = new ArrayList();
+public class EjbRefSection extends AbstractTableSection {
+
+	EReference ejbRefERef;
+
+	/**
+	 * @param plan
+	 * @param parent
+	 * @param toolkit
+	 * @param style
+	 */
+	public EjbRefSection(EObject plan, Composite parent, FormToolkit toolkit,
+			int style, EReference ejbRefERef) {
+		super(plan, parent, toolkit, style);
+		this.ejbRefERef = ejbRefERef;
+		create();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
+	 */
+	public String getTitle() {
+		return Messages.editorEjbRefTitle;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
+	 */
+	public String getDescription() {
+		return Messages.editorEjbRefDescription;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
+	 */
+	public EReference getEReference() {
+		return ejbRefERef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
+	 */
+	public String[] getTableColumnNames() {
+		return new String[] { Messages.editorEjbRefTargetName,
+				Messages.editorEjbRefEjbLink };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
+	 */
+	public Wizard getWizard() {
+		return new EjbRefWizard(this);
+	}
+
+	public ImageDescriptor getImageDescriptor() {
+		return GeronimoUIPlugin.imageDescriptorFromPlugin(
+				"org.eclipse.jst.j2ee", "icons/full/obj16/ejbRef_obj.gif");
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
+	public List getFactories() {
+		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
 		factories.add(new NamingItemProviderAdapterFactory());
 		return factories;
-    }
+	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return NamingPackage.eINSTANCE.getEjbRefType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanRefSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanRefSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanRefSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanRefSection.java Sat Jan  7 15:07:55 2006
@@ -30,7 +30,7 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class GBeanRefSection extends DynamicTableSection {
+public class GBeanRefSection extends AbstractTableSection {
 
 	EReference gbeanERef;
 
@@ -44,7 +44,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
 	 */
 	public String getTitle() {
 		return Messages.editorGBeanRefTitle;
@@ -53,7 +53,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
 	 */
 	public String getDescription() {
 		return Messages.editorGBeanRefDescription;
@@ -62,7 +62,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
 	 */
 	public EReference getEReference() {
 		return gbeanERef;
@@ -71,7 +71,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
 	 */
 	public String[] getTableColumnNames() {
 		return new String[] { Messages.editorGBeanRefName,
@@ -81,12 +81,17 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
 	 */
 	public Wizard getWizard() {
 		return new GBeanRefWizard(this);
 	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
 	public List getFactories() {
 		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
@@ -94,6 +99,11 @@
 		return factories;
 	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return NamingPackage.eINSTANCE.getGbeanRefType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/GBeanSection.java Sat Jan  7 15:07:55 2006
@@ -30,76 +30,86 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class GBeanSection extends DynamicTableSection {
+public class GBeanSection extends AbstractTableSection {
 
-    private EReference gBeanERef;
+	private EReference gBeanERef;
 
-    /**
-     * @param plan
-     * @param parent
-     * @param toolkit
-     * @param style
-     */
-    public GBeanSection(EObject plan, EReference gBeanERef, Composite parent,
-            FormToolkit toolkit, int style) {
-        super(plan, parent, toolkit, style);
-        this.gBeanERef = gBeanERef;
-        create();
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
-     */
-    public String getTitle() {
-        return Messages.editorSectionGBeanTitle;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
-     */
-    public String getDescription() {
-        return Messages.editorSectionGBeanDescription;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
-     */
-    public EReference getEReference() {
-        return gBeanERef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
-     */
-    public String[] getTableColumnNames() {
-        return new String[] { Messages.name, Messages.GbeanName,
-                Messages.className };
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
-     */
-    public Wizard getWizard() {
-        return new GBeanWizard(this);
-    }
-    
-    public List getFactories() {
-    	List factories = new ArrayList();
+	/**
+	 * @param plan
+	 * @param parent
+	 * @param toolkit
+	 * @param style
+	 */
+	public GBeanSection(EObject plan, EReference gBeanERef, Composite parent,
+			FormToolkit toolkit, int style) {
+		super(plan, parent, toolkit, style);
+		this.gBeanERef = gBeanERef;
+		create();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
+	 */
+	public String getTitle() {
+		return Messages.editorSectionGBeanTitle;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
+	 */
+	public String getDescription() {
+		return Messages.editorSectionGBeanDescription;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
+	 */
+	public EReference getEReference() {
+		return gBeanERef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
+	 */
+	public String[] getTableColumnNames() {
+		return new String[] { Messages.name, Messages.GbeanName,
+				Messages.className };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
+	 */
+	public Wizard getWizard() {
+		return new GBeanWizard(this);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
+	public List getFactories() {
+		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
 		factories.add(new DeploymentItemProviderAdapterFactory());
 		return factories;
-    }
+	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return DeploymentPackage.eINSTANCE.getGbeanType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java Sat Jan  7 15:07:55 2006
@@ -29,26 +29,32 @@
 			Composite parent, FormToolkit toolkit, int style) {
 		super(plan, dependenciesERef, parent, toolkit, style);
 	}
-	
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
 	 */
 	public String getTitle() {
 		return Messages.editorSectionImportTitle;
 	}
 
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
 	 */
 	public String getDescription() {
 		return Messages.editorSectionImportDescription;
 	}
 
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
-     */
-    public Wizard getWizard() {
-        return new ImportWizard(this);
-    }
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
+	 */
+	public Wizard getWizard() {
+		return new ImportWizard(this);
+	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/OpenEjbJarGeneralSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/OpenEjbJarGeneralSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/OpenEjbJarGeneralSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/OpenEjbJarGeneralSection.java Sat Jan  7 15:07:55 2006
@@ -24,35 +24,35 @@
 
 public class OpenEjbJarGeneralSection extends CommonGeneralSection {
 
-    OpenejbJarType plan;
+	OpenejbJarType plan;
 
-    public OpenEjbJarGeneralSection(Composite parent, FormToolkit toolkit,
-            int style, EObject plan) {
-        super(parent, toolkit, style, plan);
-        this.plan = (OpenejbJarType) plan;
-        createClient();
-    }
-    
-    protected void createClient() {
-        super.createClient();
-    }
+	public OpenEjbJarGeneralSection(Composite parent, FormToolkit toolkit,
+			int style, EObject plan) {
+		super(parent, toolkit, style, plan);
+		this.plan = (OpenejbJarType) plan;
+		createClient();
+	}
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getConfigIdEAttribute()
-     */
-    protected EAttribute getConfigIdEAttribute() {
-        return JarPackage.eINSTANCE.getOpenejbJarType_ConfigId();
-    }
+	protected void createClient() {
+		super.createClient();
+	}
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getParentIdEAttribute()
-     */
-    protected EAttribute getParentIdEAttribute() {
-        return JarPackage.eINSTANCE.getOpenejbJarType_ParentId();
-    }
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getConfigIdEAttribute()
+	 */
+	protected EAttribute getConfigIdEAttribute() {
+		return JarPackage.eINSTANCE.getOpenejbJarType_ConfigId();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getParentIdEAttribute()
+	 */
+	protected EAttribute getParentIdEAttribute() {
+		return JarPackage.eINSTANCE.getOpenejbJarType_ParentId();
+	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceEnvRefSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceEnvRefSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceEnvRefSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceEnvRefSection.java Sat Jan  7 15:07:55 2006
@@ -32,78 +32,85 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class ResourceEnvRefSection extends DynamicTableSection {
-    
-    EReference resourceEnvRefERef;
-
-    public ResourceEnvRefSection(EObject plan, Composite parent,
-            FormToolkit toolkit, int style,  EReference resourceEnvRefERef) {
-        super(plan, parent, toolkit, style);
-        this.resourceEnvRefERef = resourceEnvRefERef;
-        create();
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
-     */
-    public String getTitle() {
-        return Messages.editorResourceEnvRefTitle;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
-     */
-    public String getDescription() {
-        return Messages.editorResourceEnvRefDescription;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
-     */
-    public EReference getEReference() {
-        return resourceEnvRefERef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
-     */
-    public String[] getTableColumnNames() {
-        return new String[] { Messages.editorResEnvRefNameTitle,
-                Messages.editorResEnvRefMsgDestTitle };
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
-     */
-    public Wizard getWizard() {
-        return new ResourceEnvRefWizard(this);
-    }
-    
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getImageDescriptor()
-     */
-    public ImageDescriptor getImageDescriptor() {
-        return GeronimoUIPlugin.imageDescriptorFromPlugin(
-                "org.eclipse.jst.j2ee", "icons/full/obj16/res_env_ref_obj.gif");
-    }
-    
-    public List getFactories() {
-    	List factories = new ArrayList();
+public class ResourceEnvRefSection extends AbstractTableSection {
+
+	EReference resourceEnvRefERef;
+
+	public ResourceEnvRefSection(EObject plan, Composite parent,
+			FormToolkit toolkit, int style, EReference resourceEnvRefERef) {
+		super(plan, parent, toolkit, style);
+		this.resourceEnvRefERef = resourceEnvRefERef;
+		create();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
+	 */
+	public String getTitle() {
+		return Messages.editorResourceEnvRefTitle;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
+	 */
+	public String getDescription() {
+		return Messages.editorResourceEnvRefDescription;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
+	 */
+	public EReference getEReference() {
+		return resourceEnvRefERef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
+	 */
+	public String[] getTableColumnNames() {
+		return new String[] { Messages.editorResEnvRefNameTitle,
+				Messages.editorResEnvRefMsgDestTitle };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
+	 */
+	public Wizard getWizard() {
+		return new ResourceEnvRefWizard(this);
+	}
+
+	public ImageDescriptor getImageDescriptor() {
+		return GeronimoUIPlugin.imageDescriptorFromPlugin(
+				"org.eclipse.jst.j2ee", "icons/full/obj16/res_env_ref_obj.gif");
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
+	public List getFactories() {
+		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
 		factories.add(new NamingItemProviderAdapterFactory());
 		return factories;
-    }
+	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return NamingPackage.eINSTANCE.getResourceEnvRefType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceRefSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceRefSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceRefSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ResourceRefSection.java Sat Jan  7 15:07:55 2006
@@ -33,87 +33,90 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class ResourceRefSection extends DynamicTableSection {
-    
-    EReference resourceRefERef;
-    
-    AdapterFactory factory;
-    
-
-    public ResourceRefSection(EObject plan, Composite parent,
-            FormToolkit toolkit, int style, EReference resourceRefERef, AdapterFactory factory) {
-        super(plan, parent, toolkit, style);
-        this.resourceRefERef = resourceRefERef;
-        this.factory = factory;
-        create();
-    }  
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
-     */
-    public String getTitle() {
-        return Messages.editorResourceRefTitle;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
-     */
-    public String getDescription() {
-        return Messages.editorResourceRefDescription;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
-     */
-    public EReference getEReference() {
-        return resourceRefERef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
-     */
-    public String[] getTableColumnNames() {
-        return new String[] { Messages.editorResRefNameTitle,
-                Messages.editorResRefLinkTitle,
-                Messages.editorResRefTargetNameTitle };
-    }
-
-    public Class getWizardClass() {
-        return ResourceRefWizard.class;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
-     */
-    public Wizard getWizard() {
-        return new ResourceRefWizard(this);
-    }
-    
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.sections.DynamicTableSection#getImageDescriptor()
-     */
-    public ImageDescriptor getImageDescriptor() {
-        return GeronimoUIPlugin.imageDescriptorFromPlugin(
-                "org.eclipse.jst.j2ee", "icons/full/obj16/resourceRef_obj.gif");
-    }
-    
-    public List getFactories() {
-    	List factories = new ArrayList();
+public class ResourceRefSection extends AbstractTableSection {
+
+	EReference resourceRefERef;
+
+	AdapterFactory factory;
+
+	public ResourceRefSection(EObject plan, Composite parent,
+			FormToolkit toolkit, int style, EReference resourceRefERef,
+			AdapterFactory factory) {
+		super(plan, parent, toolkit, style);
+		this.resourceRefERef = resourceRefERef;
+		this.factory = factory;
+		create();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
+	 */
+	public String getTitle() {
+		return Messages.editorResourceRefTitle;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
+	 */
+	public String getDescription() {
+		return Messages.editorResourceRefDescription;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
+	 */
+	public EReference getEReference() {
+		return resourceRefERef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
+	 */
+	public String[] getTableColumnNames() {
+		return new String[] { Messages.editorResRefNameTitle,
+				Messages.editorResRefLinkTitle,
+				Messages.editorResRefTargetNameTitle };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
+	 */
+	public Wizard getWizard() {
+		return new ResourceRefWizard(this);
+	}
+
+	public ImageDescriptor getImageDescriptor() {
+		return GeronimoUIPlugin.imageDescriptorFromPlugin(
+				"org.eclipse.jst.j2ee", "icons/full/obj16/resourceRef_obj.gif");
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
+	public List getFactories() {
+		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
 		factories.add(new NamingItemProviderAdapterFactory());
 		return factories;
-    }
+	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return NamingPackage.eINSTANCE.getResourceRefType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecurityRootSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecurityRootSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecurityRootSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecurityRootSection.java Sat Jan  7 15:07:55 2006
@@ -38,123 +38,124 @@
 
 public class SecurityRootSection extends AbstractSectionPart {
 
-    EReference secERef;
+	EReference secERef;
 
-    Text defaultRole;
+	Text defaultRole;
 
-    Button doas;
+	Button doas;
 
-    Button useCtxHdl;
+	Button useCtxHdl;
 
-    /**
-     * @param section
-     */
-    public SecurityRootSection(Section section) {
-        super(section);
-    }
-
-    /**
-     * @param parent
-     * @param toolkit
-     * @param style
-     */
-    public SecurityRootSection(Composite parent, FormToolkit toolkit,
-            int style, EObject plan, EReference secERef) {
-        super(parent, toolkit, style, plan);
-        this.secERef = secERef;
-        createClient();
-    }
-
-    protected void createClient() {
-        Section section = getSection();
-
-        section.setText(Messages.editorSectionGeneralTitle);
-        section.setDescription(Messages.editorSectionGeneralDescription);
-        section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
-
-        Composite composite = toolkit.createComposite(section);
-        GridLayout layout = new GridLayout();
-        layout.numColumns = 2;
-        layout.marginHeight = 5;
-        layout.marginWidth = 10;
-        layout.verticalSpacing = 5;
-        layout.horizontalSpacing = 15;
-        composite.setLayout(layout);
-        composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
-        section.setClient(composite);
-
-        createLabel(composite, Messages.defaultRole, toolkit);
-        defaultRole = toolkit.createText(composite, getDefaultRole(),
-                SWT.BORDER);
-        GridData gd = new GridData();
-        gd.widthHint = 150;
-        defaultRole.setLayoutData(gd);
-        defaultRole.addModifyListener(new ModifyListener() {
-            public void modifyText(ModifyEvent e) {
-                getSecurityType().setDefaultRole(defaultRole.getText());
-                markDirty();
-            }
-        });
-
-        doas = toolkit.createButton(composite, Messages.doasCurrentCaller,
-                SWT.CHECK);
-        doas.setLayoutData(createGridData());
-        doas.addSelectionListener(new SelectionListener() {
-            public void widgetDefaultSelected(SelectionEvent e) {
-            }
-
-            public void widgetSelected(SelectionEvent e) {
-                getSecurityType().setDoasCurrentCaller(doas.getSelection());
-                markDirty();
-            }
-        });
-
-        useCtxHdl = toolkit.createButton(composite, Messages.useContextHandler,
-                SWT.CHECK);
-        useCtxHdl.setLayoutData(createGridData());
-        useCtxHdl.addSelectionListener(new SelectionListener() {
-            public void widgetDefaultSelected(SelectionEvent e) {
-            }
-
-            public void widgetSelected(SelectionEvent e) {
-                getSecurityType().setUseContextHandler(useCtxHdl.getSelection());
-                markDirty();
-            }
-        });
-
-    }
-
-    protected GridData createGridData() {
-        GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
-        gd.horizontalSpan = 2;
-        return gd;
-    }
-
-    protected Label createLabel(Composite parent, String text,
-            FormToolkit toolkit) {
-        Label label = toolkit.createLabel(parent, text);
-        label.setForeground(toolkit.getColors().getColor(FormColors.TITLE));
-        label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
-        return label;
-    }
-
-    private String getDefaultRole() {
-        SecurityType secType = (SecurityType) plan.eGet(secERef);
-        if (secType != null
-                && secType.eIsSet(SecurityPackage.eINSTANCE
-                        .getSecurityType_DefaultRole())) {
-            return secType.getDefaultRole();
-        }
-        return "";
-    }
-
-    private SecurityType getSecurityType() {
-        SecurityType secType = (SecurityType) plan.eGet(secERef);
-        if (secType == null) {
-            secType = SecurityFactory.eINSTANCE.createSecurityType();
-            plan.eSet(secERef, secType);
-        }
-        return secType;
-    }
+	/**
+	 * @param section
+	 */
+	public SecurityRootSection(Section section) {
+		super(section);
+	}
+
+	/**
+	 * @param parent
+	 * @param toolkit
+	 * @param style
+	 */
+	public SecurityRootSection(Composite parent, FormToolkit toolkit,
+			int style, EObject plan, EReference secERef) {
+		super(parent, toolkit, style, plan);
+		this.secERef = secERef;
+		createClient();
+	}
+
+	protected void createClient() {
+		Section section = getSection();
+
+		section.setText(Messages.editorSectionGeneralTitle);
+		section.setDescription(Messages.editorSectionGeneralDescription);
+		section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
+
+		Composite composite = toolkit.createComposite(section);
+		GridLayout layout = new GridLayout();
+		layout.numColumns = 2;
+		layout.marginHeight = 5;
+		layout.marginWidth = 10;
+		layout.verticalSpacing = 5;
+		layout.horizontalSpacing = 15;
+		composite.setLayout(layout);
+		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
+		section.setClient(composite);
+
+		createLabel(composite, Messages.defaultRole, toolkit);
+		defaultRole = toolkit.createText(composite, getDefaultRole(),
+				SWT.BORDER);
+		GridData gd = new GridData();
+		gd.widthHint = 150;
+		defaultRole.setLayoutData(gd);
+		defaultRole.addModifyListener(new ModifyListener() {
+			public void modifyText(ModifyEvent e) {
+				getSecurityType().setDefaultRole(defaultRole.getText());
+				markDirty();
+			}
+		});
+
+		doas = toolkit.createButton(composite, Messages.doasCurrentCaller,
+				SWT.CHECK);
+		doas.setLayoutData(createGridData());
+		doas.addSelectionListener(new SelectionListener() {
+			public void widgetDefaultSelected(SelectionEvent e) {
+			}
+
+			public void widgetSelected(SelectionEvent e) {
+				getSecurityType().setDoasCurrentCaller(doas.getSelection());
+				markDirty();
+			}
+		});
+
+		useCtxHdl = toolkit.createButton(composite, Messages.useContextHandler,
+				SWT.CHECK);
+		useCtxHdl.setLayoutData(createGridData());
+		useCtxHdl.addSelectionListener(new SelectionListener() {
+			public void widgetDefaultSelected(SelectionEvent e) {
+			}
+
+			public void widgetSelected(SelectionEvent e) {
+				getSecurityType()
+						.setUseContextHandler(useCtxHdl.getSelection());
+				markDirty();
+			}
+		});
+
+	}
+
+	protected GridData createGridData() {
+		GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
+		gd.horizontalSpan = 2;
+		return gd;
+	}
+
+	protected Label createLabel(Composite parent, String text,
+			FormToolkit toolkit) {
+		Label label = toolkit.createLabel(parent, text);
+		label.setForeground(toolkit.getColors().getColor(FormColors.TITLE));
+		label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
+		return label;
+	}
+
+	private String getDefaultRole() {
+		SecurityType secType = (SecurityType) getPlan().eGet(secERef);
+		if (secType != null
+				&& secType.eIsSet(SecurityPackage.eINSTANCE
+						.getSecurityType_DefaultRole())) {
+			return secType.getDefaultRole();
+		}
+		return "";
+	}
+
+	private SecurityType getSecurityType() {
+		SecurityType secType = (SecurityType) getPlan().eGet(secERef);
+		if (secType == null) {
+			secType = SecurityFactory.eINSTANCE.createSecurityType();
+			getPlan().eSet(secERef, secType);
+		}
+		return secType;
+	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java Sat Jan  7 15:07:55 2006
@@ -24,7 +24,6 @@
 import org.apache.geronimo.xml.ns.j2ee.web.provider.WebItemProviderAdapterFactory;
 import org.apache.geronimo.xml.ns.security.DescriptionType;
 import org.apache.geronimo.xml.ns.security.RoleType;
-import org.apache.geronimo.xml.ns.security.SecurityFactory;
 import org.apache.geronimo.xml.ns.security.SecurityPackage;
 import org.apache.geronimo.xml.ns.security.SecurityType;
 import org.apache.geronimo.xml.ns.security.provider.SecurityItemProviderAdapterFactory;
@@ -44,9 +43,8 @@
 import org.eclipse.swt.widgets.TableItem;
 import org.eclipse.swt.widgets.Text;
 import org.eclipse.ui.forms.widgets.FormToolkit;
-import org.eclipse.ui.forms.widgets.Section;
 
-public class SecuritySection extends DynamicTableSection {
+public class SecuritySection extends AbstractTableSection {
 
 	public EReference securityERef;
 
@@ -67,22 +65,28 @@
 		create();
 	}
 
-	/**
-	 * @return
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
 	 */
 	public String getTitle() {
 		return Messages.editorSectionSecurityRolesTitle;
 	}
 
-	/**
-	 * @return
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
 	 */
 	public String getDescription() {
 		return Messages.editorSectionSecurityRolesDescription;
 	}
 
-	/**
-	 * @return
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
 	 */
 	public EReference getEReference() {
 		return SecurityPackage.eINSTANCE.getRoleMappingsType_Role();
@@ -91,7 +95,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
 	 */
 	public String[] getTableColumnNames() {
 		return new String[] { Messages.name };
@@ -100,7 +104,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
 	 */
 	public Wizard getWizard() {
 		return new SecurityRoleWizard(this);
@@ -109,16 +113,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#configureSection(org.eclipse.ui.forms.widgets.Section)
-	 */
-	protected void configureSection(Section section) {
-		section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getFactories()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
 	 */
 	public List getFactories() {
 		List factories = new ArrayList();
@@ -130,7 +125,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableEntryObjectType()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
 	 */
 	public EClass getTableEntryObjectType() {
 		return SecurityPackage.eINSTANCE.getRoleType();
@@ -139,7 +134,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#showTableColumNames()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#isHeaderVisible()
 	 */
 	public boolean isHeaderVisible() {
 		return false;
@@ -148,7 +143,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#createClient()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#createClient()
 	 */
 	public void createClient() {
 
@@ -199,7 +194,7 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getInput()
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getInput()
 	 */
 	protected Object getInput() {
 		SecurityType secType = (SecurityType) getPlan().eGet(securityERef);
@@ -209,11 +204,6 @@
 		return super.getInput();
 	}
 
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getImageDescriptor()
-	 */
 	public ImageDescriptor getImageDescriptor() {
 		return GeronimoUIPlugin.imageDescriptorFromPlugin(
 				"org.eclipse.jst.j2ee", "icons/full/obj16/security_role.gif");

Modified: 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=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorLogLevelSection.java Sat Jan  7 15:07:55 2006
@@ -67,11 +67,12 @@
 
 		info = toolkit.createButton(composite, Messages.info, SWT.RADIO);
 		debug = toolkit.createButton(composite, Messages.debug, SWT.RADIO);
-		
-		SetConsoleLogLevelCommand cmd = new SetConsoleLogLevelCommand(server, null);
+
+		SetConsoleLogLevelCommand cmd = new SetConsoleLogLevelCommand(server,
+				null);
 		try {
 			String value = cmd.getCurrentValue();
-			if(value.indexOf("-vv") != -1) {
+			if (value.indexOf("-vv") != -1) {
 				debug.setSelection(true);
 			} else {
 				info.setSelection(true);
@@ -79,36 +80,37 @@
 		} catch (CoreException e1) {
 			e1.printStackTrace();
 		}
-	
 
 		info.addSelectionListener(new SelectionListener() {
 
 			public void widgetSelected(SelectionEvent e) {
-				if(info.getSelection()) {
-					SetConsoleLogLevelCommand cmd = new SetConsoleLogLevelCommand(server, SetConsoleLogLevelCommand.INFO);
+				if (info.getSelection()) {
+					SetConsoleLogLevelCommand cmd = new SetConsoleLogLevelCommand(
+							server, SetConsoleLogLevelCommand.INFO);
 					cmd.execute();
-				} 
+				}
 			}
 
 			public void widgetDefaultSelected(SelectionEvent e) {
 			}
 
 		});
-		
+
 		debug.addSelectionListener(new SelectionListener() {
 
 			public void widgetSelected(SelectionEvent e) {
-				if(debug.getSelection()) {
-					SetConsoleLogLevelCommand cmd = new SetConsoleLogLevelCommand(server, SetConsoleLogLevelCommand.DEBUG);
+				if (debug.getSelection()) {
+					SetConsoleLogLevelCommand cmd = new SetConsoleLogLevelCommand(
+							server, SetConsoleLogLevelCommand.DEBUG);
 					cmd.execute();
-				} 
+				}
 			}
 
 			public void widgetDefaultSelected(SelectionEvent e) {
 			}
 
 		});
-		
+
 	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.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?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerEditorSecuritySection.java Sat Jan  7 15:07:55 2006
@@ -42,109 +42,109 @@
  */
 public class ServerEditorSecuritySection extends ServerEditorSection {
 
-    Text username;
+	Text username;
 
-    Text password;
+	Text password;
 
-    GeronimoServer gs;
+	GeronimoServer gs;
 
-    /**
-     * 
-     */
-    public ServerEditorSecuritySection() {
-        super();
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.wst.server.ui.editor.ServerEditorSection#createSection(org.eclipse.swt.widgets.Composite)
-     */
-    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.editorSectionSecurityTitle);
-        section.setDescription(Messages.editorSectionSecurityDescription);
-        section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
-
-        Composite composite = toolkit.createComposite(section);
-        GridLayout layout = new GridLayout();
-        layout.numColumns = 2;
-        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);
-
-        // ------- Label and text field for the username -------
-        createLabel(composite, Messages.username, toolkit);
-
-        username = toolkit.createText(composite, getUserName(), SWT.BORDER);
-        username.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
-        username.addModifyListener(new ModifyListener() {
-            public void modifyText(ModifyEvent e) {
-                execute(new SetUsernameCommand(server, username.getText()));
-            }
-        });
-
-        // ------- Label and text field for the password -------
-        createLabel(composite, Messages.password, toolkit);
-
-        password = toolkit.createText(composite, getPassword(), SWT.BORDER);
-        password
-                .setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
-        password.addModifyListener(new ModifyListener() {
-            public void modifyText(ModifyEvent e) {
-                execute(new SetPasswordCommand(server, password.getText()));
-            }
-        });
-
-    }
-
-    protected Label createLabel(Composite parent, String text,
-            FormToolkit toolkit) {
-        Label label = toolkit.createLabel(parent, text);
-        label.setForeground(toolkit.getColors().getColor(FormColors.TITLE));
-        label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
-        return label;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.wst.server.ui.editor.ServerEditorSection#init(org.eclipse.ui.IEditorSite,
-     *      org.eclipse.ui.IEditorInput)
-     */
-    public void init(IEditorSite site, IEditorInput input) {
-        super.init(site, input);
-        gs = (GeronimoServer) server.getAdapter(GeronimoServer.class);
-        if (gs == null) {
-            gs = (GeronimoServer) server.loadAdapter(GeronimoServer.class,
-                    new NullProgressMonitor());
-        }
-    }
-
-    private String getUserName() {
-        if (gs != null) {
-            return gs.getAdminID();
-        }
-        return "";
-    }
-
-    private String getPassword() {
-        if (gs != null) {
-            return gs.getAdminPassword();
-        }
-        return "";
-    }
+	/**
+	 * 
+	 */
+	public ServerEditorSecuritySection() {
+		super();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.wst.server.ui.editor.ServerEditorSection#createSection(org.eclipse.swt.widgets.Composite)
+	 */
+	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.editorSectionSecurityTitle);
+		section.setDescription(Messages.editorSectionSecurityDescription);
+		section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
+
+		Composite composite = toolkit.createComposite(section);
+		GridLayout layout = new GridLayout();
+		layout.numColumns = 2;
+		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);
+
+		// ------- Label and text field for the username -------
+		createLabel(composite, Messages.username, toolkit);
+
+		username = toolkit.createText(composite, getUserName(), SWT.BORDER);
+		username.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
+		username.addModifyListener(new ModifyListener() {
+			public void modifyText(ModifyEvent e) {
+				execute(new SetUsernameCommand(server, username.getText()));
+			}
+		});
+
+		// ------- Label and text field for the password -------
+		createLabel(composite, Messages.password, toolkit);
+
+		password = toolkit.createText(composite, getPassword(), SWT.BORDER);
+		password
+				.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
+		password.addModifyListener(new ModifyListener() {
+			public void modifyText(ModifyEvent e) {
+				execute(new SetPasswordCommand(server, password.getText()));
+			}
+		});
+
+	}
+
+	protected Label createLabel(Composite parent, String text,
+			FormToolkit toolkit) {
+		Label label = toolkit.createLabel(parent, text);
+		label.setForeground(toolkit.getColors().getColor(FormColors.TITLE));
+		label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
+		return label;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.wst.server.ui.editor.ServerEditorSection#init(org.eclipse.ui.IEditorSite,
+	 *      org.eclipse.ui.IEditorInput)
+	 */
+	public void init(IEditorSite site, IEditorInput input) {
+		super.init(site, input);
+		gs = (GeronimoServer) server.getAdapter(GeronimoServer.class);
+		if (gs == null) {
+			gs = (GeronimoServer) server.loadAdapter(GeronimoServer.class,
+					new NullProgressMonitor());
+		}
+	}
+
+	private String getUserName() {
+		if (gs != null) {
+			return gs.getAdminID();
+		}
+		return "";
+	}
+
+	private String getPassword() {
+		if (gs != null) {
+			return gs.getAdminPassword();
+		}
+		return "";
+	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServiceRefSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServiceRefSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServiceRefSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServiceRefSection.java Sat Jan  7 15:07:55 2006
@@ -30,59 +30,79 @@
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 
-public class ServiceRefSection extends DynamicTableSection {
-	
+public class ServiceRefSection extends AbstractTableSection {
+
 	EReference serviceRefERef;
 
 	public ServiceRefSection(EObject plan, Composite parent,
-			FormToolkit toolkit, int style,  EReference serviceRefERef) {
+			FormToolkit toolkit, int style, EReference serviceRefERef) {
 		super(plan, parent, toolkit, style);
 		this.serviceRefERef = serviceRefERef;
 		create();
 	}
 
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTitle()
 	 */
 	public String getTitle() {
 		return Messages.editorServiceRefTitle;
 	}
 
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getDescription()
 	 */
 	public String getDescription() {
 		return Messages.editorServiceRefDescription;
 	}
 
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getEReference()
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getEReference()
 	 */
 	public EReference getEReference() {
 		return serviceRefERef;
 	}
 
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTableColumnNames()
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableColumnNames()
 	 */
 	public String[] getTableColumnNames() {
-		 return new String[] { Messages.editorServiceRefName};
+		return new String[] { Messages.editorServiceRefName };
 	}
 
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getWizard()
 	 */
 	public Wizard getWizard() {
 		return new ServiceRefWizard(this);
 	}
-	
-    public List getFactories() {
-    	List factories = new ArrayList();
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getFactories()
+	 */
+	public List getFactories() {
+		List factories = new ArrayList();
 		factories.add(new WebItemProviderAdapterFactory());
 		factories.add(new NamingItemProviderAdapterFactory());
 		return factories;
-    }
+	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.AbstractTableSection#getTableEntryObjectType()
+	 */
 	public EClass getTableEntryObjectType() {
 		return NamingPackage.eINSTANCE.getServiceRefType();
 	}

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java Sat Jan  7 15:07:55 2006
@@ -34,106 +34,110 @@
 
 public class WebGeneralSection extends CommonGeneralSection {
 
-    protected Text contextRoot;
+	protected Text contextRoot;
 
-    protected Text securityRealm;
+	protected Text securityRealm;
 
-    protected Button cpClassLoaderWebAppFirst;
+	protected Button cpClassLoaderWebAppFirst;
 
-    protected Button cpClassLoaderServerFirst;
+	protected Button cpClassLoaderServerFirst;
 
-    WebAppType plan;
-
-    public WebGeneralSection(Composite parent, FormToolkit toolkit, int style,
-            EObject plan) {
-        super(parent, toolkit, style, plan);
-        this.plan = (WebAppType) plan;
-        createClient();
-    }   
-
-    protected void createClient() {
-        
-        super.createClient();
-        
-        Composite composite = (Composite) getSection().getClient();
-
-        // ------- Label and text field for the context root -------
-        createLabel(composite, Messages.editorContextRoot, toolkit);
-
-        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();
-            }
-        });
-
-        // ------- Label and text field for the security realm -------
-        createLabel(composite, Messages.securityRealmName, toolkit);
-
-        securityRealm = toolkit.createText(composite, plan
-                .getSecurityRealmName(), SWT.BORDER);
-        securityRealm.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false,
-                false));
-        securityRealm.addModifyListener(new ModifyListener() {
-            public void modifyText(ModifyEvent e) {
-                plan.setSecurityRealmName(securityRealm.getText());
-                markDirty();
-            }
-        });
-
-        // ------- Label and check box for the Context Priority Classloader
-        // -------
-        Label classLoaderLabel = toolkit.createLabel(composite,
-                Messages.editorClassloader);
-        GridData data = new GridData(SWT.LEFT, SWT.CENTER, false, false);
-        data.horizontalSpan = 2;
-        classLoaderLabel.setLayoutData(data);
-
-        cpClassLoaderServerFirst = toolkit.createButton(composite,
-                Messages.editorClassloaderServer, SWT.RADIO);
-        data = new GridData(SWT.FILL, SWT.CENTER, false, false);
-        data.horizontalSpan = 2;
-        cpClassLoaderServerFirst.setLayoutData(data);
-        cpClassLoaderServerFirst.setSelection(!plan
-                .isContextPriorityClassloader());
-
-        cpClassLoaderWebAppFirst = toolkit.createButton(composite,
-                Messages.editorClassloaderWebApp, SWT.RADIO);
-        data = new GridData(SWT.FILL, SWT.CENTER, false, false);
-        data.horizontalSpan = 2;
-        cpClassLoaderWebAppFirst.setLayoutData(data);
-        cpClassLoaderWebAppFirst.setSelection(plan
-                .isContextPriorityClassloader());
-
-        cpClassLoaderWebAppFirst.addSelectionListener(new SelectionListener() {
-            public void widgetSelected(SelectionEvent e) {
-                plan.setContextPriorityClassloader(cpClassLoaderWebAppFirst
-                        .getSelection());
-                markDirty();
-            }
-
-            public void widgetDefaultSelected(SelectionEvent e) {
-                // Not invoked
-            }
-        });
-
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getConfigIdEAttribute()
-     */
-    protected EAttribute getConfigIdEAttribute() {
-        return WebPackage.eINSTANCE.getWebAppType_ConfigId();
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getParentIdEAttribute()
-     */
-    protected EAttribute getParentIdEAttribute() {
-        return WebPackage.eINSTANCE.getWebAppType_ParentId();
-    }
+	WebAppType plan;
+
+	public WebGeneralSection(Composite parent, FormToolkit toolkit, int style,
+			EObject plan) {
+		super(parent, toolkit, style, plan);
+		this.plan = (WebAppType) plan;
+		createClient();
+	}
+
+	protected void createClient() {
+
+		super.createClient();
+
+		Composite composite = (Composite) getSection().getClient();
+
+		// ------- Label and text field for the context root -------
+		createLabel(composite, Messages.editorContextRoot, toolkit);
+
+		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();
+			}
+		});
+
+		// ------- Label and text field for the security realm -------
+		createLabel(composite, Messages.securityRealmName, toolkit);
+
+		securityRealm = toolkit.createText(composite, plan
+				.getSecurityRealmName(), SWT.BORDER);
+		securityRealm.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false,
+				false));
+		securityRealm.addModifyListener(new ModifyListener() {
+			public void modifyText(ModifyEvent e) {
+				plan.setSecurityRealmName(securityRealm.getText());
+				markDirty();
+			}
+		});
+
+		// ------- Label and check box for the Context Priority Classloader
+		// -------
+		Label classLoaderLabel = toolkit.createLabel(composite,
+				Messages.editorClassloader);
+		GridData data = new GridData(SWT.LEFT, SWT.CENTER, false, false);
+		data.horizontalSpan = 2;
+		classLoaderLabel.setLayoutData(data);
+
+		cpClassLoaderServerFirst = toolkit.createButton(composite,
+				Messages.editorClassloaderServer, SWT.RADIO);
+		data = new GridData(SWT.FILL, SWT.CENTER, false, false);
+		data.horizontalSpan = 2;
+		cpClassLoaderServerFirst.setLayoutData(data);
+		cpClassLoaderServerFirst.setSelection(!plan
+				.isContextPriorityClassloader());
+
+		cpClassLoaderWebAppFirst = toolkit.createButton(composite,
+				Messages.editorClassloaderWebApp, SWT.RADIO);
+		data = new GridData(SWT.FILL, SWT.CENTER, false, false);
+		data.horizontalSpan = 2;
+		cpClassLoaderWebAppFirst.setLayoutData(data);
+		cpClassLoaderWebAppFirst.setSelection(plan
+				.isContextPriorityClassloader());
+
+		cpClassLoaderWebAppFirst.addSelectionListener(new SelectionListener() {
+			public void widgetSelected(SelectionEvent e) {
+				plan.setContextPriorityClassloader(cpClassLoaderWebAppFirst
+						.getSelection());
+				markDirty();
+			}
+
+			public void widgetDefaultSelected(SelectionEvent e) {
+				// Not invoked
+			}
+		});
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getConfigIdEAttribute()
+	 */
+	protected EAttribute getConfigIdEAttribute() {
+		return WebPackage.eINSTANCE.getWebAppType_ConfigId();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.sections.CommonGeneralSection#getParentIdEAttribute()
+	 */
+	protected EAttribute getParentIdEAttribute() {
+		return WebPackage.eINSTANCE.getWebAppType_ParentId();
+	}
 }

Copied: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java (from r366883, geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java)
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java?p2=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java&p1=geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java&r1=366883&r2=366939&rev=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java Sat Jan  7 15:07:55 2006
@@ -16,7 +16,7 @@
 package org.apache.geronimo.ui.wizards;
 
 import org.apache.geronimo.ui.internal.GeronimoUIPlugin;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.apache.geronimo.ui.sections.AbstractTableSection;
 import org.eclipse.emf.common.util.EList;
 import org.eclipse.emf.ecore.EAttribute;
 import org.eclipse.emf.ecore.EObject;
@@ -30,9 +30,9 @@
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
 
-public abstract class DynamicAddEditWizard extends Wizard implements TableWizard {
+public abstract class AbstractTableWizard extends Wizard implements TableWizard {
 
-	DynamicTableSection section;
+	AbstractTableSection section;
 
 	EObject eObject;
 
@@ -42,7 +42,7 @@
 	/**
 	 * 
 	 */
-	public DynamicAddEditWizard(DynamicTableSection section) {
+	public AbstractTableWizard(AbstractTableSection section) {
 		super();
 		this.section = section;
 		setWindowTitle(getAddWizardWindowTitle());
@@ -95,7 +95,7 @@
 	/**
 	 * @param section
 	 */
-	public void setSection(DynamicTableSection section) {
+	public void setSection(AbstractTableSection section) {
 		this.section = section;
 	}
 

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java Sat Jan  7 15:07:55 2006
@@ -16,7 +16,7 @@
 package org.apache.geronimo.ui.wizards;
 
 import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.apache.geronimo.ui.sections.AbstractTableSection;
 import org.apache.geronimo.xml.ns.deployment.DependencyType;
 import org.apache.geronimo.xml.ns.deployment.DeploymentFactory;
 import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
@@ -35,7 +35,7 @@
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Text;
 
-public class DependencyWizard extends DynamicAddEditWizard {
+public class DependencyWizard extends AbstractTableWizard {
 
 	public static String wizardNewTitle_Dependency;
 
@@ -68,23 +68,27 @@
 	/**
 	 * @param section
 	 */
-	public DependencyWizard(DynamicTableSection section) {
+	public DependencyWizard(AbstractTableSection section) {
 		super(section);
 	}
-	
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEFactory()
-     */
-    public EFactory getEFactory() {
-        return DeploymentFactory.eINSTANCE;
-    }
-    
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getTableColumnEAttributes()
-     */
-    public EAttribute[] getTableColumnEAttributes() {
-        return new EAttribute[] {};
-    }
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEFactory()
+	 */
+	public EFactory getEFactory() {
+		return DeploymentFactory.eINSTANCE;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getTableColumnEAttributes()
+	 */
+	public EAttribute[] getTableColumnEAttributes() {
+		return new EAttribute[] {};
+	}
 
 	/*
 	 * (non-Javadoc)

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java Sat Jan  7 15:07:55 2006
@@ -16,54 +16,62 @@
 package org.apache.geronimo.ui.wizards;
 
 import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.apache.geronimo.ui.sections.AbstractTableSection;
 import org.apache.geronimo.xml.ns.naming.NamingFactory;
 import org.apache.geronimo.xml.ns.naming.NamingPackage;
 import org.eclipse.emf.ecore.EAttribute;
 import org.eclipse.emf.ecore.EFactory;
 
-public class EjbLocalRefWizard extends DynamicAddEditWizard {
+public class EjbLocalRefWizard extends AbstractTableWizard {
 
-    public EjbLocalRefWizard(DynamicTableSection section) {
-        super(section);
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
-     */
-    public String getAddWizardWindowTitle() {
-        return Messages.wizardNewTitle_EjbLocalRef;
-    }
-    
-    public EFactory getEFactory() {
-        return NamingFactory.eINSTANCE;
-    }
-    
-    public EAttribute[] getTableColumnEAttributes() {
-        return new EAttribute[] {
-                NamingPackage.eINSTANCE.getEjbLocalRefType_TargetName(),
-                NamingPackage.eINSTANCE.getEjbLocalRefType_EjbLink() };
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
-     */
-    public String getEditWizardWindowTitle() {
-        return Messages.wizardEditTitle_EjbLocalRef;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
-     */
-    public String getWizardFirstPageTitle() {
-        return Messages.wizardPageTitle_EjbLocalRef;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
-     */
-    public String getWizardFirstPageDescription() {
-        return Messages.wizardPageDescription_EjbLocalRef;
-    }
+	public EjbLocalRefWizard(AbstractTableSection section) {
+		super(section);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+	 */
+	public String getAddWizardWindowTitle() {
+		return Messages.wizardNewTitle_EjbLocalRef;
+	}
+
+	public EFactory getEFactory() {
+		return NamingFactory.eINSTANCE;
+	}
+
+	public EAttribute[] getTableColumnEAttributes() {
+		return new EAttribute[] {
+				NamingPackage.eINSTANCE.getEjbLocalRefType_TargetName(),
+				NamingPackage.eINSTANCE.getEjbLocalRefType_EjbLink() };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+	 */
+	public String getEditWizardWindowTitle() {
+		return Messages.wizardEditTitle_EjbLocalRef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+	 */
+	public String getWizardFirstPageTitle() {
+		return Messages.wizardPageTitle_EjbLocalRef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+	 */
+	public String getWizardFirstPageDescription() {
+		return Messages.wizardPageDescription_EjbLocalRef;
+	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java Sat Jan  7 15:07:55 2006
@@ -16,62 +16,62 @@
 package org.apache.geronimo.ui.wizards;
 
 import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.apache.geronimo.ui.sections.AbstractTableSection;
 import org.apache.geronimo.xml.ns.naming.NamingFactory;
 import org.apache.geronimo.xml.ns.naming.NamingPackage;
 import org.eclipse.emf.ecore.EAttribute;
 import org.eclipse.emf.ecore.EFactory;
 
-public class EjbRefWizard extends DynamicAddEditWizard {
+public class EjbRefWizard extends AbstractTableWizard {
 
-    public EjbRefWizard(DynamicTableSection section) {
-        super(section);
-    }
-    
-    public EFactory getEFactory() {
-        return NamingFactory.eINSTANCE;
-    }
-    
-    public EAttribute[] getTableColumnEAttributes() {
-        return new EAttribute[] {
-                NamingPackage.eINSTANCE.getEjbRefType_TargetName(),
-                NamingPackage.eINSTANCE.getEjbRefType_EjbLink() };
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
-     */
-    public String getAddWizardWindowTitle() {
-        return Messages.wizardNewTitle_EjbRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
-     */
-    public String getEditWizardWindowTitle() {
-        return Messages.wizardEditTitle_EjbRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
-     */
-    public String getWizardFirstPageTitle() {
-        return Messages.wizardPageTitle_EjbRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
-     */
-    public String getWizardFirstPageDescription() {
-        return Messages.wizardPageDescription_EjbRef;
-    }
+	public EjbRefWizard(AbstractTableSection section) {
+		super(section);
+	}
+
+	public EFactory getEFactory() {
+		return NamingFactory.eINSTANCE;
+	}
+
+	public EAttribute[] getTableColumnEAttributes() {
+		return new EAttribute[] {
+				NamingPackage.eINSTANCE.getEjbRefType_TargetName(),
+				NamingPackage.eINSTANCE.getEjbRefType_EjbLink() };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+	 */
+	public String getAddWizardWindowTitle() {
+		return Messages.wizardNewTitle_EjbRef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+	 */
+	public String getEditWizardWindowTitle() {
+		return Messages.wizardEditTitle_EjbRef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+	 */
+	public String getWizardFirstPageTitle() {
+		return Messages.wizardPageTitle_EjbRef;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+	 */
+	public String getWizardFirstPageDescription() {
+		return Messages.wizardPageDescription_EjbRef;
+	}
 
 }

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanRefWizard.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanRefWizard.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanRefWizard.java Sat Jan  7 15:07:55 2006
@@ -16,22 +16,22 @@
 package org.apache.geronimo.ui.wizards;
 
 import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.apache.geronimo.ui.sections.AbstractTableSection;
 import org.apache.geronimo.xml.ns.naming.NamingFactory;
 import org.apache.geronimo.xml.ns.naming.NamingPackage;
 import org.eclipse.emf.ecore.EAttribute;
 import org.eclipse.emf.ecore.EFactory;
 
-public class GBeanRefWizard extends DynamicAddEditWizard {
+public class GBeanRefWizard extends AbstractTableWizard {
 
-	public GBeanRefWizard(DynamicTableSection section) {
+	public GBeanRefWizard(AbstractTableSection section) {
 		super(section);
 	}
-	
+
 	public EFactory getEFactory() {
 		return NamingFactory.eINSTANCE;
 	}
-	
+
 	public EAttribute[] getTableColumnEAttributes() {
 		return new EAttribute[] {
 				NamingPackage.eINSTANCE.getGbeanRefType_RefName(),
@@ -39,28 +39,36 @@
 				NamingPackage.eINSTANCE.getGbeanRefType_ProxyType() };
 	}
 
-	/* (non-Javadoc)
+	/*
+	 * (non-Javadoc)
+	 * 
 	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
 	 */
 	public String getAddWizardWindowTitle() {
 		return Messages.wizardNewTitle_GBeanRef;
 	}
 
-	/* (non-Javadoc)
+	/*
+	 * (non-Javadoc)
+	 * 
 	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
 	 */
-	public String getEditWizardWindowTitle() {		
+	public String getEditWizardWindowTitle() {
 		return Messages.wizardEditTitle_GBeanRef;
 	}
 
-	/* (non-Javadoc)
+	/*
+	 * (non-Javadoc)
+	 * 
 	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
 	 */
-	public String getWizardFirstPageTitle() {		
+	public String getWizardFirstPageTitle() {
 		return Messages.wizardPageTitle_GBeanRef;
 	}
 
-	/* (non-Javadoc)
+	/*
+	 * (non-Javadoc)
+	 * 
 	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
 	 */
 	public String getWizardFirstPageDescription() {

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java?rev=366939&r1=366938&r2=366939&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java Sat Jan  7 15:07:55 2006
@@ -16,58 +16,66 @@
 package org.apache.geronimo.ui.wizards;
 
 import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.apache.geronimo.ui.sections.AbstractTableSection;
 import org.apache.geronimo.xml.ns.deployment.DeploymentFactory;
 import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
 import org.eclipse.emf.ecore.EAttribute;
 import org.eclipse.emf.ecore.EFactory;
 
-public class GBeanWizard extends DynamicAddEditWizard {
+public class GBeanWizard extends AbstractTableWizard {
 
-    /**
-     * @param section
-     */
-    public GBeanWizard(DynamicTableSection section) {
-        super(section);
-    }
-    
-    public EFactory getEFactory() {
-        return DeploymentFactory.eINSTANCE;
-    }
-    
-    public EAttribute[] getTableColumnEAttributes() {
-        return new EAttribute[] {
-                DeploymentPackage.eINSTANCE.getGbeanType_Name(),
-                DeploymentPackage.eINSTANCE.getGbeanType_GbeanName(),
-                DeploymentPackage.eINSTANCE.getGbeanType_Class() };
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
-     */
-    public String getAddWizardWindowTitle() {
-        return Messages.wizardNewTitle_GBean;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
-     */
-    public String getEditWizardWindowTitle() {
-       return Messages.wizardEditTitle_GBean;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
-     */
-    public String getWizardFirstPageTitle() {
-       return Messages.wizardEditTitle_GBean;
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
-     */
-    public String getWizardFirstPageDescription() {
-        return Messages.wizardPageTitle_GBean;
-    }
+	/**
+	 * @param section
+	 */
+	public GBeanWizard(AbstractTableSection section) {
+		super(section);
+	}
+
+	public EFactory getEFactory() {
+		return DeploymentFactory.eINSTANCE;
+	}
+
+	public EAttribute[] getTableColumnEAttributes() {
+		return new EAttribute[] {
+				DeploymentPackage.eINSTANCE.getGbeanType_Name(),
+				DeploymentPackage.eINSTANCE.getGbeanType_GbeanName(),
+				DeploymentPackage.eINSTANCE.getGbeanType_Class() };
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+	 */
+	public String getAddWizardWindowTitle() {
+		return Messages.wizardNewTitle_GBean;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+	 */
+	public String getEditWizardWindowTitle() {
+		return Messages.wizardEditTitle_GBean;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+	 */
+	public String getWizardFirstPageTitle() {
+		return Messages.wizardEditTitle_GBean;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+	 */
+	public String getWizardFirstPageDescription() {
+		return Messages.wizardPageTitle_GBean;
+	}
 
 }



Mime
View raw message