org.eclipse.xsd.provider
Class XSDAttributeDeclarationItemProvider

java.lang.Object
  extended byItemProviderAdapter
      extended byorg.eclipse.xsd.provider.XSDItemProviderAdapter
          extended byorg.eclipse.xsd.provider.XSDConcreteComponentItemProvider
              extended byorg.eclipse.xsd.provider.XSDComponentItemProvider
                  extended byorg.eclipse.xsd.provider.XSDNamedComponentItemProvider
                      extended byorg.eclipse.xsd.provider.XSDFeatureItemProvider
                          extended byorg.eclipse.xsd.provider.XSDAttributeDeclarationItemProvider

public class XSDAttributeDeclarationItemProvider
extends XSDFeatureItemProvider

This is the item provider adpater for a XSDAttributeDeclaration object.

See Also:
Serialized Form

Nested Class Summary
protected static class XSDAttributeDeclarationItemProvider.DelegatingItemPropertyDescriptor
           
 
Nested classes inherited from class org.eclipse.xsd.provider.XSDItemProviderAdapter
XSDItemProviderAdapter.ItemPropertyDescriptorWithDefault
 
Field Summary
 
Fields inherited from class org.eclipse.xsd.provider.XSDItemProviderAdapter
itemDelegator, xsdFactory, xsdPackage
 
Constructor Summary
XSDAttributeDeclarationItemProvider(AdapterFactory adapterFactory)
          This constructs an instance from a factory and a notifier.
 
Method Summary
protected  void collectNewChildDescriptors(Collection newChildDescriptors, Object object)
          This adds to the collection of CommandParameters describing all of the children that can be created under this object.
protected  void createAnnotationPropertyDescriptor(Object object)
           
protected  void createAttributeFormDefaultPropertyDescriptor(Object object)
           
protected  void createConstraintPropertyDescriptor(Object object)
           
protected  void createLexicalValuePropertyDescriptor(Object object)
           
protected  void createNamePropertyDescriptor(Object object)
           
protected  void createResolvedAttributeDeclarationPropertyDescriptor(Object object)
           
protected  void createScopePropertyDescriptor(Object object)
           
protected  void createTargetNamespacePropertyDescriptor(Object object)
           
protected  void createTypeDefinitionPropertyDescriptor(Object object)
           
 Collection getChildrenFeatures(Object object)
          This specifies how to implement #getChildren and is used to deduce an appropriate feature for an AddCommand, RemoveCommand or MoveCommand in #createCommand.
 Object getImage(Object object)
          This returns XSDAttributeDeclaration.gif.
 List getPropertyDescriptors(Object object)
          This returns the property descriptors for the adapted class.
 String getText(Object object)
           
 void notifyChanged(Notification msg)
          This handles notification by calling fireNotifyChanged.
 
Methods inherited from class org.eclipse.xsd.provider.XSDConcreteComponentItemProvider
createElementPropertyDescriptor, createInitializeCopyCommand
 
Methods inherited from class org.eclipse.xsd.provider.XSDItemProviderAdapter
addModelGroupChildParameters, addSimpleTypeDefinitionChildParameters, createAttributeDeclaration, createAttributeGroupDefinition, createAttributeGroupDefinitionReference, createAttributeUse, createChildParameter, createComplexTypeDefinition, createElementDeclaration, createIdentityConstraintDefinition, createModelGroupDefinition, createNotationDeclaration, createParticle, createSimpleTypeDefinition, getAttributeSiblings, getCreateChildDescription, getCreateChildImage, getCreateChildResult, getCreateChildText, getCreateChildToolTipText, getImageNameQualifier, getNewObjectName, getParent, getParticleOrAttributeUseContent, getTopModelGroup, getTypeText, getTypeTextQualifier, isGlobal, isUniqueAttributeDeclarationName, isUniqueElementDeclarationName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSDAttributeDeclarationItemProvider

public XSDAttributeDeclarationItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.

Method Detail

getPropertyDescriptors

public List getPropertyDescriptors(Object object)
This returns the property descriptors for the adapted class.

Overrides:
getPropertyDescriptors in class XSDFeatureItemProvider

createNamePropertyDescriptor

protected void createNamePropertyDescriptor(Object object)
Overrides:
createNamePropertyDescriptor in class XSDNamedComponentItemProvider

createTargetNamespacePropertyDescriptor

protected void createTargetNamespacePropertyDescriptor(Object object)
Overrides:
createTargetNamespacePropertyDescriptor in class XSDNamedComponentItemProvider

createAttributeFormDefaultPropertyDescriptor

protected void createAttributeFormDefaultPropertyDescriptor(Object object)

createLexicalValuePropertyDescriptor

protected void createLexicalValuePropertyDescriptor(Object object)
Overrides:
createLexicalValuePropertyDescriptor in class XSDFeatureItemProvider

createConstraintPropertyDescriptor

protected void createConstraintPropertyDescriptor(Object object)
Overrides:
createConstraintPropertyDescriptor in class XSDFeatureItemProvider

createScopePropertyDescriptor

protected void createScopePropertyDescriptor(Object object)
Overrides:
createScopePropertyDescriptor in class XSDFeatureItemProvider

createTypeDefinitionPropertyDescriptor

protected void createTypeDefinitionPropertyDescriptor(Object object)

createAnnotationPropertyDescriptor

protected void createAnnotationPropertyDescriptor(Object object)

createResolvedAttributeDeclarationPropertyDescriptor

protected void createResolvedAttributeDeclarationPropertyDescriptor(Object object)

getChildrenFeatures

public Collection getChildrenFeatures(Object object)
This specifies how to implement #getChildren and is used to deduce an appropriate feature for an AddCommand, RemoveCommand or MoveCommand in #createCommand.


getImage

public Object getImage(Object object)
This returns XSDAttributeDeclaration.gif.


getText

public String getText(Object object)

notifyChanged

public void notifyChanged(Notification msg)
This handles notification by calling fireNotifyChanged.

Overrides:
notifyChanged in class XSDFeatureItemProvider

collectNewChildDescriptors

protected void collectNewChildDescriptors(Collection newChildDescriptors,
                                          Object object)
This adds to the collection of CommandParameters describing all of the children that can be created under this object.


Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.