geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r354777 [2/13] - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src: ./ org/ org/apache/ org/apache/geronimo/ org/apache/geronimo/xml/ org/apache/geronimo/xml/ns/ org/apache/geronimo/xml...
Date Wed, 07 Dec 2005 15:47:48 GMT
Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/GbeanTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/GbeanTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/GbeanTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/GbeanTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,327 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.deployment.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentFactory;
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.GbeanType;
+
+import org.apache.geronimo.xml.ns.web.provider.GeronimowebEditPlugin;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMapUtil;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.deployment.GbeanType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class GbeanTypeItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public GbeanTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+      addClassPropertyDescriptor(object);
+      addGbeanNamePropertyDescriptor(object);
+      addNamePropertyDescriptor(object);
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This adds a property descriptor for the Class feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addClassPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_GbeanType_class_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_GbeanType_class_feature", "_UI_GbeanType_type"),
+         DeploymentPackage.eINSTANCE.getGbeanType_Class(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Gbean Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addGbeanNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_GbeanType_gbeanName_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_GbeanType_gbeanName_feature", "_UI_GbeanType_type"),
+         DeploymentPackage.eINSTANCE.getGbeanType_GbeanName(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_GbeanType_name_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_GbeanType_name_feature", "_UI_GbeanType_type"),
+         DeploymentPackage.eINSTANCE.getGbeanType_Name(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+   * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+   * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Collection getChildrenFeatures(Object object)
+  {
+    if (childrenFeatures == null)
+    {
+      super.getChildrenFeatures(object);
+      childrenFeatures.add(DeploymentPackage.eINSTANCE.getGbeanType_Group());
+    }
+    return childrenFeatures;
+  }
+
+  /**
+   * This returns GbeanType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/GbeanType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    String label = ((GbeanType)object).getName();
+    return label == null || label.length() == 0 ?
+      getString("_UI_GbeanType_type") :
+      getString("_UI_GbeanType_type") + " " + label;
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(GbeanType.class))
+    {
+      case DeploymentPackage.GBEAN_TYPE__CLASS:
+      case DeploymentPackage.GBEAN_TYPE__GBEAN_NAME:
+      case DeploymentPackage.GBEAN_TYPE__NAME:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+        return;
+      case DeploymentPackage.GBEAN_TYPE__GROUP:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_Attribute(),
+           DeploymentFactory.eINSTANCE.createAttributeType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_XmlAttribute(),
+           DeploymentFactory.eINSTANCE.createXmlAttributeType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_Reference(),
+           DeploymentFactory.eINSTANCE.createReferenceType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_References(),
+           DeploymentFactory.eINSTANCE.createReferencesType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_XmlReference(),
+           DeploymentFactory.eINSTANCE.createXmlAttributeType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_Dependency(),
+           DeploymentFactory.eINSTANCE.createPatternType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getGbeanType_Group(),
+         FeatureMapUtil.createEntry
+          (DeploymentPackage.eINSTANCE.getGbeanType_Dependency(),
+           DeploymentFactory.eINSTANCE.createReferenceType())));
+  }
+
+  /**
+   * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getCreateChildText(Object owner, Object feature, Object child, Collection selection)
+  {
+    Object childFeature = feature;
+    Object childObject = child;
+
+    if (childFeature instanceof EStructuralFeature && FeatureMapUtil.isFeatureMap((EStructuralFeature)childFeature))
+    {
+      FeatureMap.Entry entry = (FeatureMap.Entry)childObject;
+      childFeature = entry.getEStructuralFeature();
+      childObject = entry.getValue();
+    }
+
+    boolean qualify =
+      childFeature == DeploymentPackage.eINSTANCE.getGbeanType_XmlAttribute() ||
+      childFeature == DeploymentPackage.eINSTANCE.getGbeanType_XmlReference() ||
+      childFeature == DeploymentPackage.eINSTANCE.getGbeanType_Reference() ||
+      childFeature == DeploymentPackage.eINSTANCE.getGbeanType_Dependency();
+
+    if (qualify)
+    {
+      return getString
+        ("_UI_CreateChild_text2",
+         new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+    }
+    return super.getCreateChildText(owner, feature, child, selection);
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimowebEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/PatternTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/PatternTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/PatternTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/PatternTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,333 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.deployment.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.PatternType;
+
+import org.apache.geronimo.xml.ns.web.provider.GeronimowebEditPlugin;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.deployment.PatternType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class PatternTypeItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public PatternTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+      addDomainPropertyDescriptor(object);
+      addServerPropertyDescriptor(object);
+      addApplicationPropertyDescriptor(object);
+      addModuleTypePropertyDescriptor(object);
+      addModulePropertyDescriptor(object);
+      addTypePropertyDescriptor(object);
+      addNamePropertyDescriptor(object);
+      addGbeanNamePropertyDescriptor(object);
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This adds a property descriptor for the Domain feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addDomainPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_domain_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_domain_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_Domain(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Server feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addServerPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_server_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_server_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_Server(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Application feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addApplicationPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_application_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_application_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_Application(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Module Type feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addModuleTypePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_moduleType_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_moduleType_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_ModuleType(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Module feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addModulePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_module_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_module_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_Module(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Type feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addTypePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_type_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_type_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_Type(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_name_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_name_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_Name(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Gbean Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addGbeanNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_PatternType_gbeanName_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_PatternType_gbeanName_feature", "_UI_PatternType_type"),
+         DeploymentPackage.eINSTANCE.getPatternType_GbeanName(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This returns PatternType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/PatternType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    String label = ((PatternType)object).getName();
+    return label == null || label.length() == 0 ?
+      getString("_UI_PatternType_type") :
+      getString("_UI_PatternType_type") + " " + label;
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(PatternType.class))
+    {
+      case DeploymentPackage.PATTERN_TYPE__DOMAIN:
+      case DeploymentPackage.PATTERN_TYPE__SERVER:
+      case DeploymentPackage.PATTERN_TYPE__APPLICATION:
+      case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
+      case DeploymentPackage.PATTERN_TYPE__MODULE:
+      case DeploymentPackage.PATTERN_TYPE__TYPE:
+      case DeploymentPackage.PATTERN_TYPE__NAME:
+      case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimowebEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferenceTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferenceTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferenceTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferenceTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,171 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.deployment.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.ReferenceType;
+
+import org.apache.geronimo.xml.ns.web.provider.GeronimowebEditPlugin;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.deployment.ReferenceType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ReferenceTypeItemProvider
+  extends PatternTypeItemProvider
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ReferenceTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+      addName1PropertyDescriptor(object);
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This adds a property descriptor for the Name1 feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addName1PropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ReferenceType_name1_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ReferenceType_name1_feature", "_UI_ReferenceType_type"),
+         DeploymentPackage.eINSTANCE.getReferenceType_Name1(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This returns ReferenceType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/ReferenceType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    String label = ((ReferenceType)object).getName();
+    return label == null || label.length() == 0 ?
+      getString("_UI_ReferenceType_type") :
+      getString("_UI_ReferenceType_type") + " " + label;
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(ReferenceType.class))
+    {
+      case DeploymentPackage.REFERENCE_TYPE__NAME1:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimowebEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferencesTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferencesTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferencesTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ReferencesTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,204 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.deployment.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentFactory;
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.ReferencesType;
+
+import org.apache.geronimo.xml.ns.web.provider.GeronimowebEditPlugin;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.deployment.ReferencesType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ReferencesTypeItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ReferencesTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+      addNamePropertyDescriptor(object);
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This adds a property descriptor for the Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ReferencesType_name_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ReferencesType_name_feature", "_UI_ReferencesType_type"),
+         DeploymentPackage.eINSTANCE.getReferencesType_Name(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+   * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+   * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Collection getChildrenFeatures(Object object)
+  {
+    if (childrenFeatures == null)
+    {
+      super.getChildrenFeatures(object);
+      childrenFeatures.add(DeploymentPackage.eINSTANCE.getReferencesType_Pattern());
+    }
+    return childrenFeatures;
+  }
+
+  /**
+   * This returns ReferencesType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/ReferencesType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    String label = ((ReferencesType)object).getName();
+    return label == null || label.length() == 0 ?
+      getString("_UI_ReferencesType_type") :
+      getString("_UI_ReferencesType_type") + " " + label;
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(ReferencesType.class))
+    {
+      case DeploymentPackage.REFERENCES_TYPE__NAME:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+        return;
+      case DeploymentPackage.REFERENCES_TYPE__PATTERN:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getReferencesType_Pattern(),
+         DeploymentFactory.eINSTANCE.createPatternType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getReferencesType_Pattern(),
+         DeploymentFactory.eINSTANCE.createReferenceType()));
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimowebEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ServiceTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ServiceTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ServiceTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/ServiceTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,169 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.deployment.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentFactory;
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.ServiceType;
+
+import org.apache.geronimo.xml.ns.web.provider.GeronimowebEditPlugin;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.deployment.ServiceType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ServiceTypeItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ServiceTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+   * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+   * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Collection getChildrenFeatures(Object object)
+  {
+    if (childrenFeatures == null)
+    {
+      super.getChildrenFeatures(object);
+      childrenFeatures.add(DeploymentPackage.eINSTANCE.getServiceType_Dependency());
+    }
+    return childrenFeatures;
+  }
+
+  /**
+   * This returns ServiceType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/ServiceType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    return getString("_UI_ServiceType_type");
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(ServiceType.class))
+    {
+      case DeploymentPackage.SERVICE_TYPE__DEPENDENCY:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getServiceType_Dependency(),
+         DeploymentFactory.eINSTANCE.createDependencyType()));
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimowebEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/XmlAttributeTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/XmlAttributeTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/XmlAttributeTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/deployment/provider/XmlAttributeTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,315 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.deployment.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.XmlAttributeType;
+
+import org.apache.geronimo.xml.ns.naming.NamingFactory;
+import org.apache.geronimo.xml.ns.naming.NamingPackage;
+
+import org.apache.geronimo.xml.ns.security.SecurityFactory;
+import org.apache.geronimo.xml.ns.security.SecurityPackage;
+
+import org.apache.geronimo.xml.ns.web.WebFactory;
+import org.apache.geronimo.xml.ns.web.WebPackage;
+
+import org.apache.geronimo.xml.ns.web.provider.GeronimowebEditPlugin;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMapUtil;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.deployment.XmlAttributeType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class XmlAttributeTypeItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public XmlAttributeTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+      addNamePropertyDescriptor(object);
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This adds a property descriptor for the Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_XmlAttributeType_name_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_XmlAttributeType_name_feature", "_UI_XmlAttributeType_type"),
+         DeploymentPackage.eINSTANCE.getXmlAttributeType_Name(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+   * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+   * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Collection getChildrenFeatures(Object object)
+  {
+    if (childrenFeatures == null)
+    {
+      super.getChildrenFeatures(object);
+      childrenFeatures.add(DeploymentPackage.eINSTANCE.getXmlAttributeType_Any());
+    }
+    return childrenFeatures;
+  }
+
+  /**
+   * This returns XmlAttributeType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/XmlAttributeType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    String label = ((XmlAttributeType)object).getName();
+    return label == null || label.length() == 0 ?
+      getString("_UI_XmlAttributeType_type") :
+      getString("_UI_XmlAttributeType_type") + " " + label;
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(XmlAttributeType.class))
+    {
+      case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+        return;
+      case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (WebPackage.eINSTANCE.getDocumentRoot_WebApp(),
+           WebFactory.eINSTANCE.createWebAppType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_CmpConnectionFactory(),
+           NamingFactory.eINSTANCE.createResourceLocatorType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_EjbRef(),
+           NamingFactory.eINSTANCE.createEjbRefType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_MessageDestination(),
+           NamingFactory.eINSTANCE.createMessageDestinationType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_ResourceAdapter(),
+           NamingFactory.eINSTANCE.createResourceLocatorType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_ResourceEnvRef(),
+           NamingFactory.eINSTANCE.createResourceEnvRefType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_ResourceRef(),
+           NamingFactory.eINSTANCE.createResourceRefType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_ServiceRef(),
+           NamingFactory.eINSTANCE.createServiceRefType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (NamingPackage.eINSTANCE.getDocumentRoot_Workmanager(),
+           NamingFactory.eINSTANCE.createGbeanLocatorType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (SecurityPackage.eINSTANCE.getDocumentRoot_DefaultPrincipal(),
+           SecurityFactory.eINSTANCE.createDefaultPrincipalType())));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (DeploymentPackage.eINSTANCE.getXmlAttributeType_Any(),
+         FeatureMapUtil.createEntry
+          (SecurityPackage.eINSTANCE.getDocumentRoot_Security(),
+           SecurityFactory.eINSTANCE.createSecurityType())));
+  }
+
+  /**
+   * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getCreateChildText(Object owner, Object feature, Object child, Collection selection)
+  {
+    Object childFeature = feature;
+    Object childObject = child;
+
+    if (childFeature instanceof EStructuralFeature && FeatureMapUtil.isFeatureMap((EStructuralFeature)childFeature))
+    {
+      FeatureMap.Entry entry = (FeatureMap.Entry)childObject;
+      childFeature = entry.getEStructuralFeature();
+      childObject = entry.getValue();
+    }
+
+    boolean qualify =
+      childFeature == NamingPackage.eINSTANCE.getDocumentRoot_CmpConnectionFactory() ||
+      childFeature == NamingPackage.eINSTANCE.getDocumentRoot_ResourceAdapter();
+
+    if (qualify)
+    {
+      return getString
+        ("_UI_CreateChild_text2",
+         new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+    }
+    return super.getCreateChildText(owner, feature, child, selection);
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimowebEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ApplicationClientTypeItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ApplicationClientTypeItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ApplicationClientTypeItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ApplicationClientTypeItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,444 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.j2ee.application.client.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.deployment.DeploymentFactory;
+
+import org.apache.geronimo.xml.ns.j2ee.application.client.ApplicationClientType;
+import org.apache.geronimo.xml.ns.j2ee.application.client.ClientFactory;
+import org.apache.geronimo.xml.ns.j2ee.application.client.ClientPackage;
+
+import org.apache.geronimo.xml.ns.naming.NamingFactory;
+
+import org.apache.geronimo.xml.ns.security.SecurityFactory;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.j2ee.application.client.ApplicationClientType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ApplicationClientTypeItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ApplicationClientTypeItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+      addRealmNamePropertyDescriptor(object);
+      addCallbackHandlerPropertyDescriptor(object);
+      addClientConfigIdPropertyDescriptor(object);
+      addClientParentIdPropertyDescriptor(object);
+      addConfigIdPropertyDescriptor(object);
+      addParentIdPropertyDescriptor(object);
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This adds a property descriptor for the Realm Name feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addRealmNamePropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ApplicationClientType_realmName_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClientType_realmName_feature", "_UI_ApplicationClientType_type"),
+         ClientPackage.eINSTANCE.getApplicationClientType_RealmName(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Callback Handler feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addCallbackHandlerPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ApplicationClientType_callbackHandler_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClientType_callbackHandler_feature", "_UI_ApplicationClientType_type"),
+         ClientPackage.eINSTANCE.getApplicationClientType_CallbackHandler(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Client Config Id feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addClientConfigIdPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ApplicationClientType_clientConfigId_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClientType_clientConfigId_feature", "_UI_ApplicationClientType_type"),
+         ClientPackage.eINSTANCE.getApplicationClientType_ClientConfigId(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Client Parent Id feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addClientParentIdPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ApplicationClientType_clientParentId_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClientType_clientParentId_feature", "_UI_ApplicationClientType_type"),
+         ClientPackage.eINSTANCE.getApplicationClientType_ClientParentId(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Config Id feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addConfigIdPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ApplicationClientType_configId_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClientType_configId_feature", "_UI_ApplicationClientType_type"),
+         ClientPackage.eINSTANCE.getApplicationClientType_ConfigId(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This adds a property descriptor for the Parent Id feature.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void addParentIdPropertyDescriptor(Object object)
+  {
+    itemPropertyDescriptors.add
+      (createItemPropertyDescriptor
+        (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+         getResourceLocator(),
+         getString("_UI_ApplicationClientType_parentId_feature"),
+         getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClientType_parentId_feature", "_UI_ApplicationClientType_type"),
+         ClientPackage.eINSTANCE.getApplicationClientType_ParentId(),
+         true,
+         ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+         null,
+         null));
+  }
+
+  /**
+   * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+   * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+   * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Collection getChildrenFeatures(Object object)
+  {
+    if (childrenFeatures == null)
+    {
+      super.getChildrenFeatures(object);
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_Import());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_Include());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_Dependency());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_HiddenClasses());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_NonOverridableClasses());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_EjbRef());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_ServiceRef());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_ResourceRef());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_ResourceEnvRef());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_MessageDestination());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_DefaultPrincipal());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_Resource());
+      childrenFeatures.add(ClientPackage.eINSTANCE.getApplicationClientType_Gbean());
+    }
+    return childrenFeatures;
+  }
+
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected EStructuralFeature getChildFeature(Object object, Object child)
+  {
+    // Check the type of the specified child object and return the proper feature to use for
+    // adding (see {@link AddCommand}) it as a child.
+
+    return super.getChildFeature(object, child);
+  }
+
+  /**
+   * This returns ApplicationClientType.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/ApplicationClientType");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    String label = ((ApplicationClientType)object).getRealmName();
+    return label == null || label.length() == 0 ?
+      getString("_UI_ApplicationClientType_type") :
+      getString("_UI_ApplicationClientType_type") + " " + label;
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(ApplicationClientType.class))
+    {
+      case ClientPackage.APPLICATION_CLIENT_TYPE__REALM_NAME:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__CALLBACK_HANDLER:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__CLIENT_CONFIG_ID:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__CLIENT_PARENT_ID:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__CONFIG_ID:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__PARENT_ID:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+        return;
+      case ClientPackage.APPLICATION_CLIENT_TYPE__IMPORT:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__INCLUDE:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__DEPENDENCY:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__HIDDEN_CLASSES:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__NON_OVERRIDABLE_CLASSES:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__EJB_REF:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__SERVICE_REF:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__RESOURCE_REF:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__RESOURCE_ENV_REF:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__MESSAGE_DESTINATION:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__DEFAULT_PRINCIPAL:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__RESOURCE:
+      case ClientPackage.APPLICATION_CLIENT_TYPE__GBEAN:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_Import(),
+         DeploymentFactory.eINSTANCE.createDependencyType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_Include(),
+         DeploymentFactory.eINSTANCE.createDependencyType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_Dependency(),
+         DeploymentFactory.eINSTANCE.createDependencyType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_HiddenClasses(),
+         DeploymentFactory.eINSTANCE.createClassFilterType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_NonOverridableClasses(),
+         DeploymentFactory.eINSTANCE.createClassFilterType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_EjbRef(),
+         NamingFactory.eINSTANCE.createEjbRefType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_ServiceRef(),
+         NamingFactory.eINSTANCE.createServiceRefType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_ResourceRef(),
+         NamingFactory.eINSTANCE.createResourceRefType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_ResourceEnvRef(),
+         NamingFactory.eINSTANCE.createResourceEnvRefType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_MessageDestination(),
+         NamingFactory.eINSTANCE.createMessageDestinationType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_DefaultPrincipal(),
+         SecurityFactory.eINSTANCE.createDefaultPrincipalType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_Resource(),
+         ClientFactory.eINSTANCE.createResourceType()));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getApplicationClientType_Gbean(),
+         DeploymentFactory.eINSTANCE.createGbeanType()));
+  }
+
+  /**
+   * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getCreateChildText(Object owner, Object feature, Object child, Collection selection)
+  {
+    Object childFeature = feature;
+    Object childObject = child;
+
+    boolean qualify =
+      childFeature == ClientPackage.eINSTANCE.getApplicationClientType_Import() ||
+      childFeature == ClientPackage.eINSTANCE.getApplicationClientType_Include() ||
+      childFeature == ClientPackage.eINSTANCE.getApplicationClientType_Dependency() ||
+      childFeature == ClientPackage.eINSTANCE.getApplicationClientType_HiddenClasses() ||
+      childFeature == ClientPackage.eINSTANCE.getApplicationClientType_NonOverridableClasses();
+
+    if (qualify)
+    {
+      return getString
+        ("_UI_CreateChild_text2",
+         new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+    }
+    return super.getCreateChildText(owner, feature, child, selection);
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimoapplicationclientEditPlugin.INSTANCE;
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ClientItemProviderAdapterFactory.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ClientItemProviderAdapterFactory.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ClientItemProviderAdapterFactory.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/ClientItemProviderAdapterFactory.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,272 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.j2ee.application.client.provider;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.apache.geronimo.xml.ns.j2ee.application.client.util.ClientAdapterFactory;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.edit.provider.ChangeNotifier;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.IChangeNotifier;
+import org.eclipse.emf.edit.provider.IDisposable;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.INotifyChangedListener;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+
+/**
+ * This is the factory that is used to provide the interfaces needed to support Viewers.
+ * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ClientItemProviderAdapterFactory extends ClientAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This keeps track of the root adapter factory that delegates to this adapter factory.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected ComposedAdapterFactory parentAdapterFactory;
+
+  /**
+   * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+  /**
+   * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected Collection supportedTypes = new ArrayList();
+
+  /**
+   * This constructs an instance.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ClientItemProviderAdapterFactory()
+  {
+    supportedTypes.add(IEditingDomainItemProvider.class);
+    supportedTypes.add(IStructuredItemContentProvider.class);
+    supportedTypes.add(ITreeItemContentProvider.class);
+    supportedTypes.add(IItemLabelProvider.class);
+    supportedTypes.add(IItemPropertySource.class);		
+  }
+
+  /**
+   * This keeps track of the one adapter used for all {@link org.apache.geronimo.xml.ns.j2ee.application.client.ApplicationClientType} instances.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected ApplicationClientTypeItemProvider applicationClientTypeItemProvider;
+
+  /**
+   * This creates an adapter for a {@link org.apache.geronimo.xml.ns.j2ee.application.client.ApplicationClientType}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Adapter createApplicationClientTypeAdapter()
+  {
+    if (applicationClientTypeItemProvider == null)
+    {
+      applicationClientTypeItemProvider = new ApplicationClientTypeItemProvider(this);
+    }
+
+    return applicationClientTypeItemProvider;
+  }
+
+  /**
+   * This keeps track of the one adapter used for all {@link org.apache.geronimo.xml.ns.j2ee.application.client.DocumentRoot} instances.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected DocumentRootItemProvider documentRootItemProvider;
+
+  /**
+   * This creates an adapter for a {@link org.apache.geronimo.xml.ns.j2ee.application.client.DocumentRoot}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Adapter createDocumentRootAdapter()
+  {
+    if (documentRootItemProvider == null)
+    {
+      documentRootItemProvider = new DocumentRootItemProvider(this);
+    }
+
+    return documentRootItemProvider;
+  }
+
+  /**
+   * This keeps track of the one adapter used for all {@link org.apache.geronimo.xml.ns.j2ee.application.client.ResourceType} instances.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected ResourceTypeItemProvider resourceTypeItemProvider;
+
+  /**
+   * This creates an adapter for a {@link org.apache.geronimo.xml.ns.j2ee.application.client.ResourceType}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Adapter createResourceTypeAdapter()
+  {
+    if (resourceTypeItemProvider == null)
+    {
+      resourceTypeItemProvider = new ResourceTypeItemProvider(this);
+    }
+
+    return resourceTypeItemProvider;
+  }
+
+  /**
+   * This returns the root adapter factory that contains this factory.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ComposeableAdapterFactory getRootAdapterFactory()
+  {
+    return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+  }
+
+  /**
+   * This sets the composed adapter factory that contains this factory.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
+  {
+    this.parentAdapterFactory = parentAdapterFactory;
+  }
+
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public boolean isFactoryForType(Object type)
+  {
+    return supportedTypes.contains(type) || super.isFactoryForType(type);
+  }
+
+  /**
+   * This implementation substitutes the factory itself as the key for the adapter.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Adapter adapt(Notifier notifier, Object type)
+  {
+    return super.adapt(notifier, this);
+  }
+
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object adapt(Object object, Object type)
+  {
+    if (isFactoryForType(type))
+    {
+      Object adapter = super.adapt(object, type);
+      if (!(type instanceof Class) || (((Class)type).isInstance(adapter)))
+      {
+        return adapter;
+      }
+    }
+
+    return null;
+  }
+
+  /**
+   * This adds a listener.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void addListener(INotifyChangedListener notifyChangedListener)
+  {
+    changeNotifier.addListener(notifyChangedListener);
+  }
+
+  /**
+   * This removes a listener.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void removeListener(INotifyChangedListener notifyChangedListener)
+  {
+    changeNotifier.removeListener(notifyChangedListener);
+  }
+
+  /**
+   * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void fireNotifyChanged(Notification notification)
+  {
+    changeNotifier.fireNotifyChanged(notification);
+
+    if (parentAdapterFactory != null)
+    {
+      parentAdapterFactory.fireNotifyChanged(notification);
+    }
+  }
+
+  /**
+   * This disposes all of the item providers created by this factory. 
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void dispose()
+  {
+    if (applicationClientTypeItemProvider != null) applicationClientTypeItemProvider.dispose();
+    if (documentRootItemProvider != null) documentRootItemProvider.dispose();
+    if (resourceTypeItemProvider != null) resourceTypeItemProvider.dispose();
+  }
+
+}

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/DocumentRootItemProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/DocumentRootItemProvider.java?rev=354777&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/DocumentRootItemProvider.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model.edit/src/org/apache/geronimo/xml/ns/j2ee/application/client/provider/DocumentRootItemProvider.java Wed Dec  7 07:47:05 2005
@@ -0,0 +1,187 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.geronimo.xml.ns.j2ee.application.client.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.j2ee.application.client.ClientFactory;
+import org.apache.geronimo.xml.ns.j2ee.application.client.ClientPackage;
+import org.apache.geronimo.xml.ns.j2ee.application.client.DocumentRoot;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.util.FeatureMapUtil;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+/**
+ * This is the item provider adapter for a {@link org.apache.geronimo.xml.ns.j2ee.application.client.DocumentRoot} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DocumentRootItemProvider
+  extends ItemProviderAdapter
+  implements	
+    IEditingDomainItemProvider,	
+    IStructuredItemContentProvider,	
+    ITreeItemContentProvider,	
+    IItemLabelProvider,	
+    IItemPropertySource		
+{
+  /**
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public static final String copyright = "";
+
+  /**
+   * This constructs an instance from a factory and a notifier.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public DocumentRootItemProvider(AdapterFactory adapterFactory)
+  {
+    super(adapterFactory);
+  }
+
+  /**
+   * This returns the property descriptors for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public List getPropertyDescriptors(Object object)
+  {
+    if (itemPropertyDescriptors == null)
+    {
+      super.getPropertyDescriptors(object);
+
+    }
+    return itemPropertyDescriptors;
+  }
+
+  /**
+   * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+   * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+   * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Collection getChildrenFeatures(Object object)
+  {
+    if (childrenFeatures == null)
+    {
+      super.getChildrenFeatures(object);
+      childrenFeatures.add(ClientPackage.eINSTANCE.getDocumentRoot_Mixed());
+    }
+    return childrenFeatures;
+  }
+
+  /**
+   * This returns DocumentRoot.gif.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public Object getImage(Object object)
+  {
+    return getResourceLocator().getImage("full/obj16/DocumentRoot");
+  }
+
+  /**
+   * This returns the label text for the adapted class.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public String getText(Object object)
+  {
+    return getString("_UI_DocumentRoot_type");
+  }
+
+  /**
+   * This handles model notifications by calling {@link #updateChildren} to update any cached
+   * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public void notifyChanged(Notification notification)
+  {
+    updateChildren(notification);
+
+    switch (notification.getFeatureID(DocumentRoot.class))
+    {
+      case ClientPackage.DOCUMENT_ROOT__MIXED:
+        fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+        return;
+    }
+    super.notifyChanged(notification);
+  }
+
+  /**
+   * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
+   * describing all of the children that can be created under this object.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
+  {
+    super.collectNewChildDescriptors(newChildDescriptors, object);
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getDocumentRoot_Mixed(),
+         FeatureMapUtil.createEntry
+          (XMLTypePackage.eINSTANCE.getXMLTypeDocumentRoot_Comment(),
+           "")));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getDocumentRoot_Mixed(),
+         FeatureMapUtil.createEntry
+          (XMLTypePackage.eINSTANCE.getXMLTypeDocumentRoot_Text(),
+           "")));
+
+    newChildDescriptors.add
+      (createChildParameter
+        (ClientPackage.eINSTANCE.getDocumentRoot_Mixed(),
+         FeatureMapUtil.createEntry
+          (ClientPackage.eINSTANCE.getDocumentRoot_ApplicationClient(),
+           ClientFactory.eINSTANCE.createApplicationClientType())));
+  }
+
+  /**
+   * Return the resource locator for this item provider's resources.
+   * <!-- begin-user-doc -->
+   * <!-- end-user-doc -->
+   * @generated
+   */
+  public ResourceLocator getResourceLocator()
+  {
+    return GeronimoapplicationclientEditPlugin.INSTANCE;
+  }
+
+}



Mime
View raw message