org.eclipse.xsd.provider
Class XSDSchemaItemProvider

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

public class XSDSchemaItemProvider
extends XSDComponentItemProvider

This is the item provider adpater for a XSDSchema 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
XSDSchemaItemProvider(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 createAttributeFormDefaultPropertyDescriptor(Object object)
           
protected  void createBlockDefaultPropertyDescriptor(Object object)
           
protected  void createElementFormDefaultPropertyDescriptor(Object object)
           
protected  void createFinalDefaultPropertyDescriptor(Object object)
           
protected  void createSchemaLocationPropertyDescriptor(Object object)
           
protected  void createTargetNamespacePropertyDescriptor(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 XSDSchema.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

XSDSchemaItemProvider

public XSDSchemaItemProvider(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 XSDComponentItemProvider

createSchemaLocationPropertyDescriptor

protected void createSchemaLocationPropertyDescriptor(Object object)

createTargetNamespacePropertyDescriptor

protected void createTargetNamespacePropertyDescriptor(Object object)

createFinalDefaultPropertyDescriptor

protected void createFinalDefaultPropertyDescriptor(Object object)

createBlockDefaultPropertyDescriptor

protected void createBlockDefaultPropertyDescriptor(Object object)

createElementFormDefaultPropertyDescriptor

protected void createElementFormDefaultPropertyDescriptor(Object object)

createAttributeFormDefaultPropertyDescriptor

protected void createAttributeFormDefaultPropertyDescriptor(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 XSDSchema.gif.


getText

public String getText(Object object)

notifyChanged

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

Overrides:
notifyChanged in class XSDComponentItemProvider

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.