gt: 		return label == null || label.length() == 0 ?
context: /**
   */
  package org.isoe.mbse.sourcecleaner.provider;
  
  
  import java.util.Collection;
  import java.util.List;
  
  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.IItemPropertyDescriptor;
  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;
  
  import org.isoe.mbse.sourcecleaner.ExtensionReference;
  import org.isoe.mbse.sourcecleaner.SourcecleanerPackage;
  
  /**
   * This is the item provider adapter for a {@link org.isoe.mbse.sourcecleaner.ExtensionReference} object.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public class ExtensionReferenceItemProvider
  	extends ItemProviderAdapter
  	implements
  		IEditingDomainItemProvider,
  		IStructuredItemContentProvider,
  		ITreeItemContentProvider,
  		IItemLabelProvider,
  		IItemPropertySource {
  	/**
  	 * This constructs an instance from a factory and a notifier.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public ExtensionReferenceItemProvider(AdapterFactory adapterFactory) {
  		super(adapterFactory);
  	}
  
  	/**
  	 * This returns the property descriptors for the adapted class.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
  		if (itemPropertyDescriptors == null) {
  			super.getPropertyDescriptors(object);
  
  			addJavaclassPropertyDescriptor(object);
  			addNamePropertyDescriptor(object);
  			addJavaPropertyDescriptor(object);
  			addPackagePropertyDescriptor(object);
  			addProjectPropertyDescriptor(object);
  		}
  		return itemPropertyDescriptors;
  	}
  
  	/**
  	 * This adds a property descriptor for the Javaclass feature.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	protected void addJavaclassPropertyDescriptor(Object object) {
  		itemPropertyDescriptors.add
  			(createItemPropertyDescriptor
  				(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
  				 getResourceLocator(),
  				 getString("_UI_ExtensionReference_javaclass_feature"),
  				 getString("_UI_PropertyDescriptor_description", "_UI_ExtensionReference_javaclass_feature", "_UI_ExtensionReference_type"),
  				 SourcecleanerPackage.Literals.EXTENSION_REFERENCE__JAVACLASS,
  				 true,
  				 false,
  				 true,
  				 null,
  				 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_ExtensionReference_name_feature"),
  				 getString("_UI_PropertyDescriptor_description", "_UI_ExtensionReference_name_feature", "_UI_ExtensionReference_type"),
  				 SourcecleanerPackage.Literals.EXTENSION_REFERENCE__NAME,
  				 true,
  				 false,
  				 false,
  				 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
  				 null,
  				 null));
  	}
  
  	/**
  	 * This adds a property descriptor for the Java feature.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	protected void addJavaPropertyDescriptor(Object object) {
  		itemPropertyDescriptors.add
  			(createItemPropertyDescriptor
  				(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
  				 getResourceLocator(),
  				 getString("_UI_ExtensionReference_java_feature"),
  				 getString("_UI_PropertyDescriptor_description", "_UI_ExtensionReference_java_feature", "_UI_ExtensionReference_type"),
  				 SourcecleanerPackage.Literals.EXTENSION_REFERENCE__JAVA,
  				 true,
  				 false,
  				 false,
  				 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
  				 null,
  				 null));
  	}
  
  	/**
  	 * This adds a property descriptor for the Package feature.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	protected void addPackagePropertyDescriptor(Object object) {
  		itemPropertyDescriptors.add
  			(createItemPropertyDescriptor
  				(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
  				 getResourceLocator(),
  				 getString("_UI_ExtensionReference_package_feature"),
  				 getString("_UI_PropertyDescriptor_description", "_UI_ExtensionReference_package_feature", "_UI_ExtensionReference_type"),
  				 SourcecleanerPackage.Literals.EXTENSION_REFERENCE__PACKAGE,
  				 true,
  				 false,
  				 false,
  				 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
  				 null,
  				 null));
  	}
  
  	/**
  	 * This adds a property descriptor for the Project feature.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	protected void addProjectPropertyDescriptor(Object object) {
  		itemPropertyDescriptors.add
  			(createItemPropertyDescriptor
  				(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
  				 getResourceLocator(),
  				 getString("_UI_ExtensionReference_project_feature"),
  				 getString("_UI_PropertyDescriptor_description", "_UI_ExtensionReference_project_feature", "_UI_ExtensionReference_type"),
  				 SourcecleanerPackage.Literals.EXTENSION_REFERENCE__PROJECT,
  				 true,
  				 false,
  				 false,
  				 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
  				 null,
  				 null));
  	}
  
  	/**
  	 * This returns ExtensionReference.gif.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public Object getImage(Object object) {
  		return overlayImage(object, getResourceLocator().getImage("full/obj16/ExtensionReference"));
  	}
  
  	/**
  	 * This returns the label text for the adapted class.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public String getText(Object object) {
  		String label = ((ExtensionReference)object).getName();
  