geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r239937 [73/73] - in /geronimo/trunk/sandbox/eclipse-plugin: org.apache.geronimo.core/src/org/apache/geronimo/core/internal/ org.apache.geronimo.core/src/org/apache/geronimo/core/operations/ org.apache.geronimo.deployment.model/src/org/apac...
Date Wed, 24 Aug 2005 21:36:53 GMT
Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java Wed Aug 24 14:34:34 2005
@@ -1,145 +1,145 @@
-/**
- * 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.apache.geronimo.ui.wizards.DynamicAddEditWizard;
-import org.apache.geronimo.xml.ns.security.SecurityFactory;
-import org.apache.geronimo.xml.ns.web.WebAppType;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EFactory;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-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 {
-
-    /**
-     * @param plan
-     * @param parent
-     * @param toolkit
-     * @param style
-     */
-    public SecuritySection(WebAppType plan, Composite parent,
-            FormToolkit toolkit, int style) {
-        super(plan, parent, toolkit, style);
-     
-    }
-    
-    /**
-     * @return
-     */
-    public String getTitle(){
-        return Messages.editorSectionSecurityRolesTitle;
-    }
-
-    /**
-     * @return
-     */
-    public String getDescription() {
-        return Messages.editorSectionSecurityRolesDescription;
-    }
-
-    /**
-     * @return
-     */
-    public EFactory getEFactory() {
-        return SecurityFactory.eINSTANCE;
-    }
-
-    /**
-     * @return
-     */
-    public EReference getEReference() {
-        return SecurityFactory.eINSTANCE.getSecurityPackage().getRoleMappingsType_Role();
-    }
-
-    /**
-     * @return
-     */
-    public String[] getTableColumnNames() {
-        return new String[0];
-    }
-
-    /**
-     * @return
-     */
-    public EAttribute[] getTableColumnEAttributes() {
-        return new EAttribute[0];
-    }
-
-    /**
-     * @return
-     */
-    public DynamicAddEditWizard getWizard() {
-        return null;
-    }
-    
-    /* (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#createClient(org.eclipse.ui.forms.widgets.Section, org.eclipse.ui.forms.widgets.FormToolkit)
-     */
-    public void createClient(Section section, FormToolkit toolkit) {
-        
-        super.createClient(section, toolkit);       
-        
-        Composite detail = toolkit.createComposite(table.getParent());
-        GridLayout gl = new GridLayout();
-        gl.marginWidth = 4;
-        gl.marginHeight = 8;
-        gl.numColumns = 2;
-        detail.setLayout(gl);
-        detail.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
-        Label roleNameLabel = toolkit.createLabel(detail, "Name");
-        roleNameLabel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
-        roleNameLabel.setEnabled(true);
-
-        Text roleNameText = toolkit.createText(detail, "", SWT.BORDER);
-        roleNameText.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-        roleNameText.setEnabled(true);
-        
-        Label roleDescriptionLabel = toolkit.createLabel(detail, "Description");
-        roleDescriptionLabel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
-        roleDescriptionLabel.setEnabled(true);
-
-        Text roleDescriptionText = toolkit.createText(detail, "", SWT.MULTI | SWT.BORDER);
-        GridData data = new GridData(SWT.FILL, SWT.FILL, true, false);
-        data.heightHint = 50;
-        roleDescriptionText.setLayoutData(data);
-        roleDescriptionText.setEnabled(true);
-
-    }
-    
-   
-
-}
+/**
+ * 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.apache.geronimo.ui.wizards.DynamicAddEditWizard;
+import org.apache.geronimo.xml.ns.security.SecurityFactory;
+import org.apache.geronimo.xml.ns.web.WebAppType;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EFactory;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+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 {
+
+    /**
+     * @param plan
+     * @param parent
+     * @param toolkit
+     * @param style
+     */
+    public SecuritySection(WebAppType plan, Composite parent,
+            FormToolkit toolkit, int style) {
+        super(plan, parent, toolkit, style);
+     
+    }
+    
+    /**
+     * @return
+     */
+    public String getTitle(){
+        return Messages.editorSectionSecurityRolesTitle;
+    }
+
+    /**
+     * @return
+     */
+    public String getDescription() {
+        return Messages.editorSectionSecurityRolesDescription;
+    }
+
+    /**
+     * @return
+     */
+    public EFactory getEFactory() {
+        return SecurityFactory.eINSTANCE;
+    }
+
+    /**
+     * @return
+     */
+    public EReference getEReference() {
+        return SecurityFactory.eINSTANCE.getSecurityPackage().getRoleMappingsType_Role();
+    }
+
+    /**
+     * @return
+     */
+    public String[] getTableColumnNames() {
+        return new String[0];
+    }
+
+    /**
+     * @return
+     */
+    public EAttribute[] getTableColumnEAttributes() {
+        return new EAttribute[0];
+    }
+
+    /**
+     * @return
+     */
+    public DynamicAddEditWizard getWizard() {
+        return null;
+    }
+    
+    /* (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#createClient(org.eclipse.ui.forms.widgets.Section, org.eclipse.ui.forms.widgets.FormToolkit)
+     */
+    public void createClient(Section section, FormToolkit toolkit) {
+        
+        super.createClient(section, toolkit);       
+        
+        Composite detail = toolkit.createComposite(table.getParent());
+        GridLayout gl = new GridLayout();
+        gl.marginWidth = 4;
+        gl.marginHeight = 8;
+        gl.numColumns = 2;
+        detail.setLayout(gl);
+        detail.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+
+        Label roleNameLabel = toolkit.createLabel(detail, "Name");
+        roleNameLabel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
+        roleNameLabel.setEnabled(true);
+
+        Text roleNameText = toolkit.createText(detail, "", SWT.BORDER);
+        roleNameText.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+        roleNameText.setEnabled(true);
+        
+        Label roleDescriptionLabel = toolkit.createLabel(detail, "Description");
+        roleDescriptionLabel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
+        roleDescriptionLabel.setEnabled(true);
+
+        Text roleDescriptionText = toolkit.createText(detail, "", SWT.MULTI | SWT.BORDER);
+        GridData data = new GridData(SWT.FILL, SWT.FILL, true, false);
+        data.heightHint = 50;
+        roleDescriptionText.setLayoutData(data);
+        roleDescriptionText.setEnabled(true);
+
+    }
+    
+   
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java Wed Aug 24 14:34:34 2005
@@ -1,203 +1,203 @@
-/**
- * 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.apache.geronimo.xml.ns.web.WebAppType;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-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.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.forms.FormColors;
-import org.eclipse.ui.forms.SectionPart;
-import org.eclipse.ui.forms.widgets.FormToolkit;
-import org.eclipse.ui.forms.widgets.Section;
-
-public class WebGeneralSection extends SectionPart {
-
-    protected Text configId;
-
-    protected Text parentId;
-
-    protected Text contextRoot;
-    
-    protected Text securityRealm;
-
-    protected Button cpClassLoaderWebAppFirst;
-
-    protected Button cpClassLoaderServerFirst;
-
-    WebAppType plan;
-
-    public WebGeneralSection(Section section) {
-        super(section);
-    }
-
-    public WebGeneralSection(Composite parent, FormToolkit toolkit, int style) {
-        super(parent, toolkit, style);
-    }
-
-    public WebGeneralSection(WebAppType plan, Composite parent,
-            FormToolkit toolkit, int style) {
-        this(parent, toolkit, style);
-        this.plan = plan;
-        createClient(getSection(), toolkit);
-    }
-
-    private void createClient(Section section, FormToolkit toolkit) {
-
-        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, true, false));
-        section.setClient(composite);
-
-        // ------- Label and text field for the config Id -------
-        createLabel(composite, Messages.editorConfigId, toolkit);
-
-        configId = toolkit
-                .createText(composite, plan.getConfigId(), SWT.BORDER);
-        configId.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
-        configId.addModifyListener(new ModifyListener() {
-            public void modifyText(ModifyEvent e) {
-                plan.setConfigId(configId.getText());
-                markDirty();
-            }
-        });
-
-        // ------- Label and text field for the parent Id -------
-        createLabel(composite, Messages.editorParentId, toolkit);
-
-        parentId = toolkit
-                .createText(composite, plan.getParentId(), SWT.BORDER);
-        parentId
-                .setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
-        parentId.addModifyListener(new ModifyListener() {
-            public void modifyText(ModifyEvent e) {
-                plan.setParentId(parentId.getText());
-                markDirty();
-            }
-        });
-
-        // ------- 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
-            }
-        });
-
-    }
-
-    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.ui.forms.IFormPart#commit(boolean)
-     * 
-     * Overriding this method as a workaround as switching tabs on a dirty
-     * editor commits the page and marks the part as not dirty.
-     */
-    public void commit(boolean onSave) {
-        boolean currentDirtyState = isDirty();
-        super.commit(onSave);
-        if (!onSave && currentDirtyState) {
-            markDirty();
-        }
-    }
-
-}
+/**
+ * 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.apache.geronimo.xml.ns.web.WebAppType;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+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.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.forms.FormColors;
+import org.eclipse.ui.forms.SectionPart;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.Section;
+
+public class WebGeneralSection extends SectionPart {
+
+    protected Text configId;
+
+    protected Text parentId;
+
+    protected Text contextRoot;
+    
+    protected Text securityRealm;
+
+    protected Button cpClassLoaderWebAppFirst;
+
+    protected Button cpClassLoaderServerFirst;
+
+    WebAppType plan;
+
+    public WebGeneralSection(Section section) {
+        super(section);
+    }
+
+    public WebGeneralSection(Composite parent, FormToolkit toolkit, int style) {
+        super(parent, toolkit, style);
+    }
+
+    public WebGeneralSection(WebAppType plan, Composite parent,
+            FormToolkit toolkit, int style) {
+        this(parent, toolkit, style);
+        this.plan = plan;
+        createClient(getSection(), toolkit);
+    }
+
+    private void createClient(Section section, FormToolkit toolkit) {
+
+        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, true, false));
+        section.setClient(composite);
+
+        // ------- Label and text field for the config Id -------
+        createLabel(composite, Messages.editorConfigId, toolkit);
+
+        configId = toolkit
+                .createText(composite, plan.getConfigId(), SWT.BORDER);
+        configId.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
+        configId.addModifyListener(new ModifyListener() {
+            public void modifyText(ModifyEvent e) {
+                plan.setConfigId(configId.getText());
+                markDirty();
+            }
+        });
+
+        // ------- Label and text field for the parent Id -------
+        createLabel(composite, Messages.editorParentId, toolkit);
+
+        parentId = toolkit
+                .createText(composite, plan.getParentId(), SWT.BORDER);
+        parentId
+                .setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
+        parentId.addModifyListener(new ModifyListener() {
+            public void modifyText(ModifyEvent e) {
+                plan.setParentId(parentId.getText());
+                markDirty();
+            }
+        });
+
+        // ------- 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
+            }
+        });
+
+    }
+
+    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.ui.forms.IFormPart#commit(boolean)
+     * 
+     * Overriding this method as a workaround as switching tabs on a dirty
+     * editor commits the page and marks the part as not dirty.
+     */
+    public void commit(boolean onSave) {
+        boolean currentDirtyState = isDirty();
+        super.commit(onSave);
+        if (!onSave && currentDirtyState) {
+            markDirty();
+        }
+    }
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/WebGeneralSection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java Wed Aug 24 14:34:34 2005
@@ -1,193 +1,193 @@
-/**
- * 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.wizards;
-
-import org.apache.geronimo.ui.sections.DynamicTableSection;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.TableItem;
-import org.eclipse.swt.widgets.Text;
-
-public abstract class DynamicAddEditWizard extends Wizard {
-
-    DynamicTableSection section;
-
-    EObject eObject;
-
-    /**
-     * 
-     */
-    public DynamicAddEditWizard(DynamicTableSection section) {
-        super();
-        this.section = section;
-        setWindowTitle(getAddWizardWindowTitle());
-    }
-
-    /**
-     * @return
-     */
-    abstract public String getAddWizardWindowTitle();
-
-    /**
-     * @return
-     */
-    abstract public String getEditWizardWindowTitle();
-
-    /**
-     * @return
-     */
-    abstract public String getWizardFirstPageTitle();
-
-    /**
-     * @return
-     */
-    abstract public String getWizardFirstPageDescription();
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.jface.wizard.Wizard#performFinish()
-     */
-    public boolean performFinish() {
-        DynamicWizardPage page = (DynamicWizardPage) getPages()[0];
-
-        boolean isNew = false;
-
-        if (eObject == null) {
-            eObject = section.getEFactory().create(
-                    section.getTableColumnEAttributes()[0]
-                            .getEContainingClass());
-            EObject plan = section.getPlan();
-            ((EList) plan.eGet(section.getEReference())).add(eObject);
-            isNew = true;
-        }
-
-        for (int i = 0; i < section.getTableColumnEAttributes().length; i++) {
-            String value = page.textEntries[i].getText();
-            eObject.eSet(section.getTableColumnEAttributes()[i], value);
-        }
-
-        String[] tableText = section.getTableText(eObject);
-
-        if (isNew) {
-            TableItem item = new TableItem(section.getTableViewer().getTable(),
-                    SWT.NONE);
-            item.setImage(section.getImage());
-            item.setData(eObject);
-            item.setText(tableText);
-        } else {
-            int index = section.getTableViewer().getTable().getSelectionIndex();
-            if (index != -1) {
-                TableItem item = section.getTableViewer().getTable().getItem(
-                        index);
-                item.setText(tableText);
-            }
-        }
-
-        return true;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.jface.wizard.IWizard#addPages()
-     */
-    public void addPages() {
-        WizardPage page = new DynamicWizardPage("Page0");
-        addPage(page);
-    }
-
-    /**
-     * @param section
-     */
-    public void setSection(DynamicTableSection section) {
-        this.section = section;
-    }
-
-    /**
-     * @param object
-     */
-    public void setEObject(EObject object) {
-        eObject = object;
-    }
-
-    public class DynamicWizardPage extends WizardPage {
-
-        Text[] textEntries = new Text[section.getTableColumnEAttributes().length];
-
-        public DynamicWizardPage(String pageName) {
-            super(pageName);
-            setTitle(getWizardFirstPageTitle());
-            setDescription(getWizardFirstPageDescription());
-        }
-
-        public DynamicWizardPage(String pageName, String title,
-                ImageDescriptor titleImage) {
-            super(pageName, title, titleImage);
-        }
-
-        public void createControl(Composite parent) {
-            Composite composite = new Composite(parent, SWT.NULL);
-            GridLayout layout = new GridLayout();
-            layout.numColumns = 2;
-            composite.setLayout(layout);
-            GridData data = new GridData();
-            data.verticalAlignment = GridData.FILL;
-            data.horizontalAlignment = GridData.FILL;
-            data.widthHint = 300;
-            composite.setLayoutData(data);
-
-            for (int i = 0; i < section.getTableColumnNames().length; i++) {
-                Label label = new Label(composite, SWT.LEFT);
-                label.setText(section.getTableColumnNames()[i] + ":");
-                data = new GridData();
-                data.horizontalAlignment = GridData.FILL;
-                label.setLayoutData(data);
-
-                Text text = new Text(composite, SWT.SINGLE | SWT.BORDER);
-                data = new GridData(GridData.HORIZONTAL_ALIGN_FILL
-                        | GridData.VERTICAL_ALIGN_FILL);
-                data.grabExcessHorizontalSpace = true;
-                data.widthHint = 100;
-                text.setLayoutData(data);
-
-                if (eObject != null) {
-                    String value = (String) eObject.eGet(section
-                            .getTableColumnEAttributes()[i]);
-                    if (value != null) {
-                        text.setText(value);
-                    }
-                }
-                textEntries[i] = text;
-            }
-
-            setControl(composite);
-
-            textEntries[0].setFocus();
-
-        }
-
-    }
-
-}
+/**
+ * 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.wizards;
+
+import org.apache.geronimo.ui.sections.DynamicTableSection;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.TableItem;
+import org.eclipse.swt.widgets.Text;
+
+public abstract class DynamicAddEditWizard extends Wizard {
+
+    DynamicTableSection section;
+
+    EObject eObject;
+
+    /**
+     * 
+     */
+    public DynamicAddEditWizard(DynamicTableSection section) {
+        super();
+        this.section = section;
+        setWindowTitle(getAddWizardWindowTitle());
+    }
+
+    /**
+     * @return
+     */
+    abstract public String getAddWizardWindowTitle();
+
+    /**
+     * @return
+     */
+    abstract public String getEditWizardWindowTitle();
+
+    /**
+     * @return
+     */
+    abstract public String getWizardFirstPageTitle();
+
+    /**
+     * @return
+     */
+    abstract public String getWizardFirstPageDescription();
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.jface.wizard.Wizard#performFinish()
+     */
+    public boolean performFinish() {
+        DynamicWizardPage page = (DynamicWizardPage) getPages()[0];
+
+        boolean isNew = false;
+
+        if (eObject == null) {
+            eObject = section.getEFactory().create(
+                    section.getTableColumnEAttributes()[0]
+                            .getEContainingClass());
+            EObject plan = section.getPlan();
+            ((EList) plan.eGet(section.getEReference())).add(eObject);
+            isNew = true;
+        }
+
+        for (int i = 0; i < section.getTableColumnEAttributes().length; i++) {
+            String value = page.textEntries[i].getText();
+            eObject.eSet(section.getTableColumnEAttributes()[i], value);
+        }
+
+        String[] tableText = section.getTableText(eObject);
+
+        if (isNew) {
+            TableItem item = new TableItem(section.getTableViewer().getTable(),
+                    SWT.NONE);
+            item.setImage(section.getImage());
+            item.setData(eObject);
+            item.setText(tableText);
+        } else {
+            int index = section.getTableViewer().getTable().getSelectionIndex();
+            if (index != -1) {
+                TableItem item = section.getTableViewer().getTable().getItem(
+                        index);
+                item.setText(tableText);
+            }
+        }
+
+        return true;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.jface.wizard.IWizard#addPages()
+     */
+    public void addPages() {
+        WizardPage page = new DynamicWizardPage("Page0");
+        addPage(page);
+    }
+
+    /**
+     * @param section
+     */
+    public void setSection(DynamicTableSection section) {
+        this.section = section;
+    }
+
+    /**
+     * @param object
+     */
+    public void setEObject(EObject object) {
+        eObject = object;
+    }
+
+    public class DynamicWizardPage extends WizardPage {
+
+        Text[] textEntries = new Text[section.getTableColumnEAttributes().length];
+
+        public DynamicWizardPage(String pageName) {
+            super(pageName);
+            setTitle(getWizardFirstPageTitle());
+            setDescription(getWizardFirstPageDescription());
+        }
+
+        public DynamicWizardPage(String pageName, String title,
+                ImageDescriptor titleImage) {
+            super(pageName, title, titleImage);
+        }
+
+        public void createControl(Composite parent) {
+            Composite composite = new Composite(parent, SWT.NULL);
+            GridLayout layout = new GridLayout();
+            layout.numColumns = 2;
+            composite.setLayout(layout);
+            GridData data = new GridData();
+            data.verticalAlignment = GridData.FILL;
+            data.horizontalAlignment = GridData.FILL;
+            data.widthHint = 300;
+            composite.setLayoutData(data);
+
+            for (int i = 0; i < section.getTableColumnNames().length; i++) {
+                Label label = new Label(composite, SWT.LEFT);
+                label.setText(section.getTableColumnNames()[i] + ":");
+                data = new GridData();
+                data.horizontalAlignment = GridData.FILL;
+                label.setLayoutData(data);
+
+                Text text = new Text(composite, SWT.SINGLE | SWT.BORDER);
+                data = new GridData(GridData.HORIZONTAL_ALIGN_FILL
+                        | GridData.VERTICAL_ALIGN_FILL);
+                data.grabExcessHorizontalSpace = true;
+                data.widthHint = 100;
+                text.setLayoutData(data);
+
+                if (eObject != null) {
+                    String value = (String) eObject.eGet(section
+                            .getTableColumnEAttributes()[i]);
+                    if (value != null) {
+                        text.setText(value);
+                    }
+                }
+                textEntries[i] = text;
+            }
+
+            setControl(composite);
+
+            textEntries[0].setFocus();
+
+        }
+
+    }
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DynamicAddEditWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java Wed Aug 24 14:34:34 2005
@@ -1,56 +1,56 @@
-/**
- * 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.wizards;
-
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
-
-public class EjbLocalRefWizard extends DynamicAddEditWizard {
-
-    public EjbLocalRefWizard(DynamicTableSection section) {
-        super(section);
-        // TODO Auto-generated constructor stub
-    }
-
-    /* (non-Javadoc)
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
-     */
-    public String getAddWizardWindowTitle() {
-        return Messages.wizardNewTitle_EjbLocalRef;
-    }
-
-    /* (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;
-    }
-
-}
+/**
+ * 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.wizards;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.DynamicTableSection;
+
+public class EjbLocalRefWizard extends DynamicAddEditWizard {
+
+    public EjbLocalRefWizard(DynamicTableSection section) {
+        super(section);
+        // TODO Auto-generated constructor stub
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+     */
+    public String getAddWizardWindowTitle() {
+        return Messages.wizardNewTitle_EjbLocalRef;
+    }
+
+    /* (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;
+    }
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java Wed Aug 24 14:34:34 2005
@@ -1,64 +1,64 @@
-/**
- * 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.wizards;
-
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
-
-public class EjbRefWizard extends DynamicAddEditWizard {
-
-    public EjbRefWizard(DynamicTableSection section) {
-        super(section);
-        // TODO Auto-generated constructor stub
-    }
-
-    /*
-     * (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;
-    }
-
-}
+/**
+ * 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.wizards;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.DynamicTableSection;
+
+public class EjbRefWizard extends DynamicAddEditWizard {
+
+    public EjbRefWizard(DynamicTableSection section) {
+        super(section);
+        // TODO Auto-generated constructor stub
+    }
+
+    /*
+     * (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;
+    }
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java Wed Aug 24 14:34:34 2005
@@ -1,66 +1,66 @@
-/**
- * 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.wizards;
-
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
-
-public class ResourceEnvRefWizard extends DynamicAddEditWizard {
-
-    /**
-     * @param section
-     */
-    public ResourceEnvRefWizard(DynamicTableSection section) {
-        super(section);
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
-     */
-    public String getAddWizardWindowTitle() {
-        return Messages.wizardPageTitle_ResEnvRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
-     */
-    public String getEditWizardWindowTitle() {
-        return Messages.wizardEditTitle_ResEnvRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
-     */
-    public String getWizardFirstPageTitle() {
-        return Messages.wizardPageTitle_ResEnvRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
-     */
-    public String getWizardFirstPageDescription() {
-        return Messages.wizardPageDescription_ResEnvRef;
-    }
-
-}
+/**
+ * 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.wizards;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.DynamicTableSection;
+
+public class ResourceEnvRefWizard extends DynamicAddEditWizard {
+
+    /**
+     * @param section
+     */
+    public ResourceEnvRefWizard(DynamicTableSection section) {
+        super(section);
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+     */
+    public String getAddWizardWindowTitle() {
+        return Messages.wizardPageTitle_ResEnvRef;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+     */
+    public String getEditWizardWindowTitle() {
+        return Messages.wizardEditTitle_ResEnvRef;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+     */
+    public String getWizardFirstPageTitle() {
+        return Messages.wizardPageTitle_ResEnvRef;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+     */
+    public String getWizardFirstPageDescription() {
+        return Messages.wizardPageDescription_ResEnvRef;
+    }
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java Wed Aug 24 14:34:34 2005
@@ -1,66 +1,66 @@
-/**
- * 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.wizards;
-
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.DynamicTableSection;
-
-public class ResourceRefWizard extends DynamicAddEditWizard {
-
-    /**
-     * @param section
-     */
-    public ResourceRefWizard(DynamicTableSection section) {
-        super(section);
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
-     */
-    public String getAddWizardWindowTitle() {
-        return Messages.wizardPageTitle_ResRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
-     */
-    public String getEditWizardWindowTitle() {
-        return Messages.wizardEditTitle_ResRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
-     */
-    public String getWizardFirstPageTitle() {
-        return Messages.wizardPageTitle_ResRef;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
-     */
-    public String getWizardFirstPageDescription() {
-        return Messages.wizardPageDescription_ResRef;
-    }
-
-}
+/**
+ * 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.wizards;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.DynamicTableSection;
+
+public class ResourceRefWizard extends DynamicAddEditWizard {
+
+    /**
+     * @param section
+     */
+    public ResourceRefWizard(DynamicTableSection section) {
+        super(section);
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+     */
+    public String getAddWizardWindowTitle() {
+        return Messages.wizardPageTitle_ResRef;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+     */
+    public String getEditWizardWindowTitle() {
+        return Messages.wizardEditTitle_ResRef;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+     */
+    public String getWizardFirstPageTitle() {
+        return Messages.wizardPageTitle_ResRef;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+     */
+    public String getWizardFirstPageDescription() {
+        return Messages.wizardPageDescription_ResRef;
+    }
+
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message