|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectItemProviderAdapter
org.eclipse.xsd.provider.XSDItemProviderAdapter
org.eclipse.xsd.provider.XSDConcreteComponentItemProvider
org.eclipse.xsd.provider.XSDComponentItemProvider
org.eclipse.xsd.provider.XSDComplexTypeContentItemProvider
org.eclipse.xsd.provider.XSDParticleItemProvider
This is the item provider adpater for a XSDParticle
object.
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 | |
XSDParticleItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier. |
Method Summary | |
Command |
createCommand(Object object,
EditingDomain domain,
Class commandClass,
CommandParameter commandParameter)
This returns Remove and CreateChild commands (at least) that are based on the attributeUse content, not the attributeUse itself. |
Collection |
getChildren(Object object)
|
Collection |
getChildrenFeatures(Object object)
This specifies how to implement getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand , RemoveCommand or
MoveCommand in createCommand(java.lang.Object, EditingDomain, java.lang.Class, CommandParameter) . |
protected XSDParticleContent |
getDelegate(XSDParticle xsdParticle)
|
Object |
getImage(Object object)
This returns XSDParticle.gif. |
Collection |
getNewChildDescriptors(Object object,
EditingDomain domain,
Object sibling)
This returns a list of child descriptors based on the particle content, not the particle itself. |
List |
getPropertyDescriptors(Object object)
This returns the property descriptors for the adapted class. |
String |
getText(Object object)
|
boolean |
hasChildren(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSDParticleItemProvider(AdapterFactory adapterFactory)
Method Detail |
protected XSDParticleContent getDelegate(XSDParticle xsdParticle)
public List getPropertyDescriptors(Object object)
getPropertyDescriptors
in class XSDComplexTypeContentItemProvider
public Collection getChildrenFeatures(Object object)
getChildren(java.lang.Object)
and is used to deduce an appropriate feature for an
AddCommand
, RemoveCommand
or
MoveCommand
in createCommand(java.lang.Object, EditingDomain, java.lang.Class, CommandParameter)
.
public Collection getChildren(Object object)
public boolean hasChildren(Object object)
public Object getImage(Object object)
public String getText(Object object)
public void notifyChanged(Notification msg)
fireNotifyChanged
.
notifyChanged
in class XSDComplexTypeContentItemProvider
public Collection getNewChildDescriptors(Object object, EditingDomain domain, Object sibling)
public Command createCommand(Object object, EditingDomain domain, Class commandClass, CommandParameter commandParameter)
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |