|
|||||||||||
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.XSDAttributeUseItemProvider
This is the item provider adpater for a XSDAttributeUse
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 | |
XSDAttributeUseItemProvider(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)
|
protected XSDAttributeDeclaration |
getDelegate(XSDAttributeUse xsdAttributeUse)
|
Object |
getImage(Object object)
This returns XSDAttributeUse.gif. |
Collection |
getNewChildDescriptors(Object object,
EditingDomain domain,
Object sibling)
This returns a list of child descriptors based on the attributeUse content, not the attributeUse itself. |
List |
getPropertyDescriptors(Object object)
This returns the property descriptors for the adapted class. |
String |
getText(Object object)
|
String |
getText(Object object,
boolean showType)
|
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 XSDAttributeUseItemProvider(AdapterFactory adapterFactory)
Method Detail |
protected XSDAttributeDeclaration getDelegate(XSDAttributeUse xsdAttributeUse)
public List getPropertyDescriptors(Object object)
getPropertyDescriptors
in class XSDComponentItemProvider
public Collection getChildrenFeatures(Object object)
public Collection getChildren(Object object)
public boolean hasChildren(Object object)
public Object getImage(Object object)
public String getText(Object object)
public String getText(Object object, boolean showType)
public void notifyChanged(Notification msg)
fireNotifyChanged
.
notifyChanged
in class XSDComponentItemProvider
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 |