org.eclipse.xsd.provider
Class XSDIdentityConstraintDefinitionItemProvider

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.XSDIdentityConstraintDefinitionItemProvider

public class XSDIdentityConstraintDefinitionItemProvider
extends XSDNamedComponentItemProvider

This is the item provider adpater for a XSDIdentityConstraintDefinition object.

See Also:
Serialized Form

Nested Class Summary
 
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
XSDIdentityConstraintDefinitionItemProvider(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.
 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 XSDIdentityConstraintDefinition.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.XSDNamedComponentItemProvider
createNamePropertyDescriptor, createTargetNamespacePropertyDescriptor
 
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

XSDIdentityConstraintDefinitionItemProvider

public XSDIdentityConstraintDefinitionItemProvider(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 XSDNamedComponentItemProvider

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 XSDIdentityConstraintDefinition.gif.


getText

public String getText(Object object)

notifyChanged

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

Overrides:
notifyChanged in class XSDNamedComponentItemProvider

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.