geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r382997 [7/7] - in /geronimo/devtools/eclipse-plugin/trunk: ./ assembly/ etc/ features/org.apache.geronimo.feature.source/ features/org.apache.geronimo.feature/ features/org.apache.geronimo.installableruntime.tomcat.feature/ geronimo-emf/ m...
Date Sat, 04 Mar 2006 01:30:47 GMT
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java Fri Mar  3 17:30:38 2006
@@ -1,179 +1,179 @@
-/**
- * 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.GeronimoUIPlugin;
-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;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.IWizardPage;
-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.Text;
-
-public abstract class AbstractTableWizard extends Wizard implements TableWizard {
-
-	AbstractTableSection section;
-
-	EObject eObject;
-
-	ImageDescriptor descriptor = GeronimoUIPlugin.imageDescriptorFromPlugin(
-			"org.apache.geronimo.ui", "icons/bigG.gif");
-
-	/**
-	 * 
-	 */
-	public AbstractTableWizard(AbstractTableSection section) {
-		super();
-		this.section = section;
-		setWindowTitle(getAddWizardWindowTitle());
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
-	 */
-	public boolean performFinish() {
-
-		if (eObject == null) {
-			eObject = getEFactory().create(section.getTableEntryObjectType());
-			EObject plan = section.getPlan();
-			((EList) plan.eGet(section.getEReference())).add(eObject);
-		}
-
-		processEAttributes(getPages()[0]);
-
-		return true;
-	}
-
-	public void processEAttributes(IWizardPage page) {
-		if (page instanceof DynamicWizardPage) {
-			for (int i = 0; i < getTableColumnEAttributes().length; i++) {
-				String value = ((DynamicWizardPage) page).textEntries[i]
-						.getText();
-				EAttribute attribute = getTableColumnEAttributes()[i];
-				if (attribute.getEContainingClass().equals(eObject.eClass())) {
-					if (value != null && value.trim().length() != 0)
-						eObject.eSet(attribute, value);
-				} else {
-					// TODO
-				}
-			}
-		}
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.jface.wizard.IWizard#addPages()
-	 */
-	public void addPages() {
-		WizardPage page = new DynamicWizardPage("Page0");
-		page.setImageDescriptor(descriptor);
-		addPage(page);
-	}
-
-	/**
-	 * @param section
-	 */
-	public void setSection(AbstractTableSection section) {
-		this.section = section;
-	}
-
-	/**
-	 * @param object
-	 */
-	public void setEObject(EObject object) {
-		eObject = object;
-	}
-
-	public class DynamicWizardPage extends WizardPage {
-
-		Text[] textEntries = new Text[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 = createComposite(parent);
-			for (int i = 0; i < section.getTableColumnNames().length; i++) {
-				Label label = new Label(composite, SWT.LEFT);
-				String columnName = section.getTableColumnNames()[i];
-				if (!columnName.endsWith(":"))
-					columnName = columnName.concat(":");
-				label.setText(columnName);
-				GridData 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(getTableColumnEAttributes()[i]);
-					if (value != null) {
-						text.setText(value);
-					}
-				}
-				textEntries[i] = text;
-			}
-
-			doCustom(composite);
-			setControl(composite);
-			textEntries[0].setFocus();
-		}
-
-		public Composite createComposite(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);
-			return composite;
-		}
-
-		public void doCustom(Composite parent) {
-
-		}
-
-	}
-
-}
+/**
+ * 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.GeronimoUIPlugin;
+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;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.wizard.IWizardPage;
+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.Text;
+
+public abstract class AbstractTableWizard extends Wizard implements TableWizard {
+
+	AbstractTableSection section;
+
+	EObject eObject;
+
+	ImageDescriptor descriptor = GeronimoUIPlugin.imageDescriptorFromPlugin(
+			"org.apache.geronimo.ui", "icons/bigG.gif");
+
+	/**
+	 * 
+	 */
+	public AbstractTableWizard(AbstractTableSection section) {
+		super();
+		this.section = section;
+		setWindowTitle(getAddWizardWindowTitle());
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
+	 */
+	public boolean performFinish() {
+
+		if (eObject == null) {
+			eObject = getEFactory().create(section.getTableEntryObjectType());
+			EObject plan = section.getPlan();
+			((EList) plan.eGet(section.getEReference())).add(eObject);
+		}
+
+		processEAttributes(getPages()[0]);
+
+		return true;
+	}
+
+	public void processEAttributes(IWizardPage page) {
+		if (page instanceof DynamicWizardPage) {
+			for (int i = 0; i < getTableColumnEAttributes().length; i++) {
+				String value = ((DynamicWizardPage) page).textEntries[i]
+						.getText();
+				EAttribute attribute = getTableColumnEAttributes()[i];
+				if (attribute.getEContainingClass().equals(eObject.eClass())) {
+					if (value != null && value.trim().length() != 0)
+						eObject.eSet(attribute, value);
+				} else {
+					// TODO
+				}
+			}
+		}
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.jface.wizard.IWizard#addPages()
+	 */
+	public void addPages() {
+		WizardPage page = new DynamicWizardPage("Page0");
+		page.setImageDescriptor(descriptor);
+		addPage(page);
+	}
+
+	/**
+	 * @param section
+	 */
+	public void setSection(AbstractTableSection section) {
+		this.section = section;
+	}
+
+	/**
+	 * @param object
+	 */
+	public void setEObject(EObject object) {
+		eObject = object;
+	}
+
+	public class DynamicWizardPage extends WizardPage {
+
+		Text[] textEntries = new Text[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 = createComposite(parent);
+			for (int i = 0; i < section.getTableColumnNames().length; i++) {
+				Label label = new Label(composite, SWT.LEFT);
+				String columnName = section.getTableColumnNames()[i];
+				if (!columnName.endsWith(":"))
+					columnName = columnName.concat(":");
+				label.setText(columnName);
+				GridData 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(getTableColumnEAttributes()[i]);
+					if (value != null) {
+						text.setText(value);
+					}
+				}
+				textEntries[i] = text;
+			}
+
+			doCustom(composite);
+			setControl(composite);
+			textEntries[0].setFocus();
+		}
+
+		public Composite createComposite(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);
+			return composite;
+		}
+
+		public void doCustom(Composite parent) {
+
+		}
+
+	}
+
+}

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java Fri Mar  3 17:30:38 2006
@@ -1,314 +1,314 @@
-/**
- * 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.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;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EFactory;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-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.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-public class DependencyWizard extends AbstractTableWizard {
-
-	public static String wizardNewTitle_Dependency;
-
-	public static String wizardEditTitle_Dependency;
-
-	public static String wizardPageTitle_Dependency;
-
-	public static String wizardPageDescription_Dependency;
-
-	protected Button uriButton;
-
-	protected Button mavenButton;
-
-	protected Label uriLabel;
-
-	protected Label groupIdLabel;
-
-	protected Label artifactIdLabel;
-
-	protected Label versionLabel;
-
-	protected Text uriText;
-
-	protected Text groupIdText;
-
-	protected Text artifactIdText;
-
-	protected Text versionText;
-
-	/**
-	 * @param 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#getAddWizardWindowTitle()
-	 */
-	public String getAddWizardWindowTitle() {
-		return Messages.wizardNewTitle_Dependency;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
-	 */
-	public String getEditWizardWindowTitle() {
-		return Messages.wizardEditTitle_Dependency;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
-	 */
-	public String getWizardFirstPageTitle() {
-		return Messages.wizardPageTitle_Dependency;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
-	 */
-	public String getWizardFirstPageDescription() {
-		return Messages.wizardPageDescription_Dependency;
-	}
-
-	/* (non-Javadoc)
-	 * @see org.apache.geronimo.ui.wizards.AbstractTableWizard#processEAttributes(org.eclipse.jface.wizard.IWizardPage)
-	 */
-	public void processEAttributes(IWizardPage page) {
-		DependencyType dt = (DependencyType) eObject;
-
-		if (uriButton.getSelection()) {
-			dt.setUri(uriText.getText());
-			dt.eUnset(DeploymentPackage.eINSTANCE
-					.getDependencyType_ArtifactId());
-			dt.eUnset(DeploymentPackage.eINSTANCE.getDependencyType_GroupId());
-			dt.eUnset(DeploymentPackage.eINSTANCE.getDependencyType_Version());
-		} else {
-			dt.setArtifactId(artifactIdText.getText());
-			dt.setGroupId(groupIdText.getText());
-			dt.setVersion(versionText.getText());
-			dt.eUnset(DeploymentPackage.eINSTANCE.getDependencyType_Uri());
-		}
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.jface.wizard.IWizard#addPages()
-	 */
-	public void addPages() {
-		WizardPage page = new DependencyWizardPage("Page0");
-		addPage(page);
-	}
-
-	public class DependencyWizardPage extends WizardPage {
-
-		public DependencyWizardPage(String pageName) {
-			super(pageName);
-			setTitle(getWizardFirstPageTitle());
-			setDescription(getWizardFirstPageDescription());
-		}
-
-		public DependencyWizardPage(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;
-			layout.horizontalSpacing = 15;
-			composite.setLayout(layout);
-			composite
-					.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
-			GridData data = new GridData();
-			data = new GridData(GridData.FILL_HORIZONTAL);
-			data.horizontalSpan = 2;
-
-			Group group = new Group(composite, SWT.NONE);
-			group.setText(Messages.dependencyGroupLabel);
-			group.setLayoutData(data);
-			group.setLayout(layout);
-
-			uriButton = new Button(group, SWT.LEFT | SWT.RADIO);
-			uriButton.setText(Messages.serverRepos);
-			uriButton.setLayoutData(data);
-
-			uriLabel = new Label(group, SWT.LEFT);
-			uriLabel.setText(Messages.uri);
-			uriLabel.setLayoutData(createLabelGridData());
-
-			uriText = new Text(group, SWT.SINGLE | SWT.BORDER);
-			uriText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-			mavenButton = new Button(group, SWT.LEFT | SWT.RADIO);
-			mavenButton.setText(Messages.mavenArtifact);
-			mavenButton.setLayoutData(data);
-
-			groupIdLabel = new Label(group, SWT.LEFT);
-			groupIdLabel.setText(Messages.groupId);
-			groupIdLabel.setLayoutData(createLabelGridData());
-
-			groupIdText = new Text(group, SWT.SINGLE | SWT.BORDER);
-			groupIdText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-			artifactIdLabel = new Label(group, SWT.LEFT);
-			artifactIdLabel.setText(Messages.artifactId);
-			artifactIdLabel.setLayoutData(createLabelGridData());
-
-			artifactIdText = new Text(group, SWT.SINGLE | SWT.BORDER);
-			artifactIdText
-					.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-			versionLabel = new Label(group, SWT.LEFT);
-			versionLabel.setText(Messages.version);
-			versionLabel.setLayoutData(createLabelGridData());
-
-			versionText = new Text(group, SWT.SINGLE | SWT.BORDER);
-			versionText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-			uriButton.addSelectionListener(new SelectionAdapter() {
-				public void widgetSelected(SelectionEvent e) {
-					if (uriButton.getSelection()) {
-						toggle();
-					}
-				}
-			});
-
-			mavenButton.addSelectionListener(new SelectionAdapter() {
-				public void widgetSelected(SelectionEvent e) {
-					if (mavenButton.getSelection()) {
-						toggle();
-					}
-				}
-			});
-
-			if (eObject != null) {
-				if (eObject.eIsSet(DeploymentPackage.eINSTANCE
-						.getDependencyType_Uri())) {
-					uriButton.setSelection(true);
-					uriText.setText(eObject
-							.eGet(
-									DeploymentPackage.eINSTANCE
-											.getDependencyType_Uri())
-							.toString());
-				} else {
-					mavenButton.setSelection(true);
-					if (eObject.eIsSet(DeploymentPackage.eINSTANCE
-							.getDependencyType_ArtifactId())) {
-						artifactIdText.setText(eObject.eGet(
-								DeploymentPackage.eINSTANCE
-										.getDependencyType_ArtifactId())
-								.toString());
-					}
-					if (eObject.eIsSet(DeploymentPackage.eINSTANCE
-							.getDependencyType_GroupId())) {
-						groupIdText.setText(eObject.eGet(
-								DeploymentPackage.eINSTANCE
-										.getDependencyType_GroupId())
-								.toString());
-					}
-					if (eObject.eIsSet(DeploymentPackage.eINSTANCE
-							.getDependencyType_Version())) {
-						versionText.setText(eObject.eGet(
-								DeploymentPackage.eINSTANCE
-										.getDependencyType_Version())
-								.toString());
-					}
-				}
-			} else {
-				uriButton.setSelection(true);
-				uriLabel.setEnabled(true);
-				uriText.setEnabled(true);
-
-				mavenButton.setSelection(false);
-				groupIdLabel.setEnabled(false);
-				groupIdText.setEnabled(false);
-				artifactIdLabel.setEnabled(false);
-				artifactIdText.setEnabled(false);
-				versionLabel.setEnabled(false);
-				versionText.setEnabled(false);
-			}
-
-			setControl(composite);
-
-		}
-	}
-
-	public GridData createLabelGridData() {
-		GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
-		gd.horizontalIndent = 20;
-		return gd;
-	}
-
-	public void toggle() {
-		uriLabel.setEnabled(!uriLabel.isEnabled());
-		groupIdLabel.setEnabled(!groupIdLabel.isEnabled());
-		artifactIdLabel.setEnabled(!artifactIdLabel.isEnabled());
-		versionLabel.setEnabled(!versionLabel.isEnabled());
-		uriText.setEnabled(!uriText.isEnabled());
-		groupIdText.setEnabled(!groupIdText.isEnabled());
-		artifactIdText.setEnabled(!artifactIdText.isEnabled());
-		versionText.setEnabled(!versionText.isEnabled());
-	}
-
-}
+/**
+ * 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.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;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EFactory;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.wizard.IWizardPage;
+import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+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.Group;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+
+public class DependencyWizard extends AbstractTableWizard {
+
+	public static String wizardNewTitle_Dependency;
+
+	public static String wizardEditTitle_Dependency;
+
+	public static String wizardPageTitle_Dependency;
+
+	public static String wizardPageDescription_Dependency;
+
+	protected Button uriButton;
+
+	protected Button mavenButton;
+
+	protected Label uriLabel;
+
+	protected Label groupIdLabel;
+
+	protected Label artifactIdLabel;
+
+	protected Label versionLabel;
+
+	protected Text uriText;
+
+	protected Text groupIdText;
+
+	protected Text artifactIdText;
+
+	protected Text versionText;
+
+	/**
+	 * @param 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#getAddWizardWindowTitle()
+	 */
+	public String getAddWizardWindowTitle() {
+		return Messages.wizardNewTitle_Dependency;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+	 */
+	public String getEditWizardWindowTitle() {
+		return Messages.wizardEditTitle_Dependency;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+	 */
+	public String getWizardFirstPageTitle() {
+		return Messages.wizardPageTitle_Dependency;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+	 */
+	public String getWizardFirstPageDescription() {
+		return Messages.wizardPageDescription_Dependency;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.apache.geronimo.ui.wizards.AbstractTableWizard#processEAttributes(org.eclipse.jface.wizard.IWizardPage)
+	 */
+	public void processEAttributes(IWizardPage page) {
+		DependencyType dt = (DependencyType) eObject;
+
+		if (uriButton.getSelection()) {
+			dt.setUri(uriText.getText());
+			dt.eUnset(DeploymentPackage.eINSTANCE
+					.getDependencyType_ArtifactId());
+			dt.eUnset(DeploymentPackage.eINSTANCE.getDependencyType_GroupId());
+			dt.eUnset(DeploymentPackage.eINSTANCE.getDependencyType_Version());
+		} else {
+			dt.setArtifactId(artifactIdText.getText());
+			dt.setGroupId(groupIdText.getText());
+			dt.setVersion(versionText.getText());
+			dt.eUnset(DeploymentPackage.eINSTANCE.getDependencyType_Uri());
+		}
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.jface.wizard.IWizard#addPages()
+	 */
+	public void addPages() {
+		WizardPage page = new DependencyWizardPage("Page0");
+		addPage(page);
+	}
+
+	public class DependencyWizardPage extends WizardPage {
+
+		public DependencyWizardPage(String pageName) {
+			super(pageName);
+			setTitle(getWizardFirstPageTitle());
+			setDescription(getWizardFirstPageDescription());
+		}
+
+		public DependencyWizardPage(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;
+			layout.horizontalSpacing = 15;
+			composite.setLayout(layout);
+			composite
+					.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
+
+			GridData data = new GridData();
+			data = new GridData(GridData.FILL_HORIZONTAL);
+			data.horizontalSpan = 2;
+
+			Group group = new Group(composite, SWT.NONE);
+			group.setText(Messages.dependencyGroupLabel);
+			group.setLayoutData(data);
+			group.setLayout(layout);
+
+			uriButton = new Button(group, SWT.LEFT | SWT.RADIO);
+			uriButton.setText(Messages.serverRepos);
+			uriButton.setLayoutData(data);
+
+			uriLabel = new Label(group, SWT.LEFT);
+			uriLabel.setText(Messages.uri);
+			uriLabel.setLayoutData(createLabelGridData());
+
+			uriText = new Text(group, SWT.SINGLE | SWT.BORDER);
+			uriText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+			mavenButton = new Button(group, SWT.LEFT | SWT.RADIO);
+			mavenButton.setText(Messages.mavenArtifact);
+			mavenButton.setLayoutData(data);
+
+			groupIdLabel = new Label(group, SWT.LEFT);
+			groupIdLabel.setText(Messages.groupId);
+			groupIdLabel.setLayoutData(createLabelGridData());
+
+			groupIdText = new Text(group, SWT.SINGLE | SWT.BORDER);
+			groupIdText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+			artifactIdLabel = new Label(group, SWT.LEFT);
+			artifactIdLabel.setText(Messages.artifactId);
+			artifactIdLabel.setLayoutData(createLabelGridData());
+
+			artifactIdText = new Text(group, SWT.SINGLE | SWT.BORDER);
+			artifactIdText
+					.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+			versionLabel = new Label(group, SWT.LEFT);
+			versionLabel.setText(Messages.version);
+			versionLabel.setLayoutData(createLabelGridData());
+
+			versionText = new Text(group, SWT.SINGLE | SWT.BORDER);
+			versionText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+			uriButton.addSelectionListener(new SelectionAdapter() {
+				public void widgetSelected(SelectionEvent e) {
+					if (uriButton.getSelection()) {
+						toggle();
+					}
+				}
+			});
+
+			mavenButton.addSelectionListener(new SelectionAdapter() {
+				public void widgetSelected(SelectionEvent e) {
+					if (mavenButton.getSelection()) {
+						toggle();
+					}
+				}
+			});
+
+			if (eObject != null) {
+				if (eObject.eIsSet(DeploymentPackage.eINSTANCE
+						.getDependencyType_Uri())) {
+					uriButton.setSelection(true);
+					uriText.setText(eObject
+							.eGet(
+									DeploymentPackage.eINSTANCE
+											.getDependencyType_Uri())
+							.toString());
+				} else {
+					mavenButton.setSelection(true);
+					if (eObject.eIsSet(DeploymentPackage.eINSTANCE
+							.getDependencyType_ArtifactId())) {
+						artifactIdText.setText(eObject.eGet(
+								DeploymentPackage.eINSTANCE
+										.getDependencyType_ArtifactId())
+								.toString());
+					}
+					if (eObject.eIsSet(DeploymentPackage.eINSTANCE
+							.getDependencyType_GroupId())) {
+						groupIdText.setText(eObject.eGet(
+								DeploymentPackage.eINSTANCE
+										.getDependencyType_GroupId())
+								.toString());
+					}
+					if (eObject.eIsSet(DeploymentPackage.eINSTANCE
+							.getDependencyType_Version())) {
+						versionText.setText(eObject.eGet(
+								DeploymentPackage.eINSTANCE
+										.getDependencyType_Version())
+								.toString());
+					}
+				}
+			} else {
+				uriButton.setSelection(true);
+				uriLabel.setEnabled(true);
+				uriText.setEnabled(true);
+
+				mavenButton.setSelection(false);
+				groupIdLabel.setEnabled(false);
+				groupIdText.setEnabled(false);
+				artifactIdLabel.setEnabled(false);
+				artifactIdText.setEnabled(false);
+				versionLabel.setEnabled(false);
+				versionText.setEnabled(false);
+			}
+
+			setControl(composite);
+
+		}
+	}
+
+	public GridData createLabelGridData() {
+		GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
+		gd.horizontalIndent = 20;
+		return gd;
+	}
+
+	public void toggle() {
+		uriLabel.setEnabled(!uriLabel.isEnabled());
+		groupIdLabel.setEnabled(!groupIdLabel.isEnabled());
+		artifactIdLabel.setEnabled(!artifactIdLabel.isEnabled());
+		versionLabel.setEnabled(!versionLabel.isEnabled());
+		uriText.setEnabled(!uriText.isEnabled());
+		groupIdText.setEnabled(!groupIdText.isEnabled());
+		artifactIdText.setEnabled(!artifactIdText.isEnabled());
+		versionText.setEnabled(!versionText.isEnabled());
+	}
+
+}

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/DependencyWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java Fri Mar  3 17:30:38 2006
@@ -1,77 +1,77 @@
-/**
- * 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.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 AbstractTableWizard {
-
-	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;
-	}
-
-}
+/**
+ * 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.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 AbstractTableWizard {
+
+	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;
+	}
+
+}

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbLocalRefWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java Fri Mar  3 17:30:38 2006
@@ -1,77 +1,77 @@
-/**
- * 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.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 AbstractTableWizard {
-
-	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;
-	}
-
-}
+/**
+ * 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.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 AbstractTableWizard {
+
+	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;
+	}
+
+}

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/EjbRefWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanRefWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanRefWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java Fri Mar  3 17:30:38 2006
@@ -1,81 +1,81 @@
-/**
- * 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.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 AbstractTableWizard {
-
-	/**
-	 * @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;
-	}
-
-}
+/**
+ * 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.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 AbstractTableWizard {
+
+	/**
+	 * @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;
+	}
+
+}

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/GBeanWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java Fri Mar  3 17:30:38 2006
@@ -1,81 +1,81 @@
-/**
- * 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.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 ResourceEnvRefWizard extends AbstractTableWizard {
-
-	/**
-	 * @param section
-	 */
-	public ResourceEnvRefWizard(AbstractTableSection section) {
-		super(section);
-	}
-
-	public EFactory getEFactory() {
-		return NamingFactory.eINSTANCE;
-	}
-
-	public EAttribute[] getTableColumnEAttributes() {
-		return new EAttribute[] {
-				NamingPackage.eINSTANCE.getResourceEnvRefType_RefName(),
-				NamingPackage.eINSTANCE
-						.getResourceEnvRefType_MessageDestinationLink() };
-	}
-
-	/*
-	 * (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.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 ResourceEnvRefWizard extends AbstractTableWizard {
+
+	/**
+	 * @param section
+	 */
+	public ResourceEnvRefWizard(AbstractTableSection section) {
+		super(section);
+	}
+
+	public EFactory getEFactory() {
+		return NamingFactory.eINSTANCE;
+	}
+
+	public EAttribute[] getTableColumnEAttributes() {
+		return new EAttribute[] {
+				NamingPackage.eINSTANCE.getResourceEnvRefType_RefName(),
+				NamingPackage.eINSTANCE
+						.getResourceEnvRefType_MessageDestinationLink() };
+	}
+
+	/*
+	 * (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/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceEnvRefWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java Fri Mar  3 17:30:38 2006
@@ -1,81 +1,81 @@
-/**
- * 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.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 ResourceRefWizard extends AbstractTableWizard {
-
-	/**
-	 * @param section
-	 */
-	public ResourceRefWizard(AbstractTableSection section) {
-		super(section);
-	}
-
-	public EFactory getEFactory() {
-		return NamingFactory.eINSTANCE;
-	}
-
-	public EAttribute[] getTableColumnEAttributes() {
-		return new EAttribute[] {
-				NamingPackage.eINSTANCE.getResourceRefType_RefName(),
-				NamingPackage.eINSTANCE.getResourceRefType_ResourceLink(),
-				NamingPackage.eINSTANCE.getResourceRefType_TargetName() };
-	}
-
-	/*
-	 * (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.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 ResourceRefWizard extends AbstractTableWizard {
+
+	/**
+	 * @param section
+	 */
+	public ResourceRefWizard(AbstractTableSection section) {
+		super(section);
+	}
+
+	public EFactory getEFactory() {
+		return NamingFactory.eINSTANCE;
+	}
+
+	public EAttribute[] getTableColumnEAttributes() {
+		return new EAttribute[] {
+				NamingPackage.eINSTANCE.getResourceRefType_RefName(),
+				NamingPackage.eINSTANCE.getResourceRefType_ResourceLink(),
+				NamingPackage.eINSTANCE.getResourceRefType_TargetName() };
+	}
+
+	/*
+	 * (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/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ResourceRefWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/SecurityRoleWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/SecurityRoleWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

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

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ServiceRefWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ServiceRefWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message