|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.edit.provider.ItemProviderAdapter
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 |
| Nested classes inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter |
org.eclipse.emf.edit.provider.ItemProviderAdapter.ChildrenStore, org.eclipse.emf.edit.provider.ItemProviderAdapter.ModifiableSingletonEList, org.eclipse.emf.edit.provider.ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, org.eclipse.emf.edit.provider.ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate |
| Field Summary |
| Fields inherited from class org.eclipse.xsd.provider.XSDItemProviderAdapter |
itemDelegator, xsdFactory, xsdPackage |
| Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter |
adapterFactory, changeNotifier, childrenFeatures, childrenReferences, childrenStoreMap, itemPropertyDescriptors, targets, wrappers, wrappingNeeded |
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
target |
| Constructor Summary | |
XSDAttributeUseItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier. |
|
| Method Summary | |
org.eclipse.emf.common.command.Command |
createCommand(Object object,
org.eclipse.emf.edit.domain.EditingDomain domain,
Class commandClass,
org.eclipse.emf.edit.command.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,
org.eclipse.emf.edit.domain.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(org.eclipse.emf.common.notify.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.emf.edit.provider.ItemProviderAdapter |
addListener, adjustWrapperIndex, adjustWrapperIndices, adjustWrapperIndices, collectNewChildDescriptors, createAddCommand, createAddCommand, createChildParameter, createChildrenStore, createCopyCommand, createCreateChildCommand, createCreateChildCommand, createCreateCopyCommand, createDragAndDropCommand, createMoveCommand, createMoveCommand, createRemoveCommand, createRemoveCommand, createReplaceCommand, createReplaceCommand, createSetCommand, createWrapper, dispose, disposeWrapper, disposeWrappers, factorAddCommand, factorMoveCommand, factorRemoveCommand, fireNotifyChanged, getAdapterFactory, getBaseURL, getChildFeature, getChildReference, getChildrenReferences, getChildrenStore, getEditableValue, getElements, getFeatureText, getFeatureValue, getImage, getPropertyDescriptor, getPropertyValue, getReferenceValue, getResourceLocator, getResourceLocator, getRootAdapterFactory, getSetFeature, getSetFeatures, getString, getString, getString, getString, getTypeText, getUpdateableText, getWrappedValues, isAdapterForType, isEquivalentValue, isPropertySet, isWrappingNeeded, removeListener, resetPropertyValue, setPropertyValue, setTarget, unwrap, unwrapCommandValues, updateChildren, wrap, wrapCommand |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider |
getParent |
| Methods inherited from interface org.eclipse.emf.edit.provider.IStructuredItemContentProvider |
getElements |
| Methods inherited from interface org.eclipse.emf.edit.provider.ITreeItemContentProvider |
getParent |
| Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertySource |
getEditableValue, getPropertyDescriptor |
| Constructor Detail |
public XSDAttributeUseItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
| Method Detail |
protected XSDAttributeDeclaration getDelegate(XSDAttributeUse xsdAttributeUse)
public List getPropertyDescriptors(Object object)
getPropertyDescriptors in interface org.eclipse.emf.edit.provider.IItemPropertySourcegetPropertyDescriptors in class XSDComponentItemProviderpublic Collection getChildrenFeatures(Object object)
public Collection getChildren(Object object)
getChildren in interface org.eclipse.emf.edit.provider.IEditingDomainItemProviderpublic boolean hasChildren(Object object)
hasChildren in interface org.eclipse.emf.edit.provider.ITreeItemContentProviderpublic Object getImage(Object object)
getImage in interface org.eclipse.emf.edit.provider.IItemLabelProviderpublic String getText(Object object)
getText in interface org.eclipse.emf.edit.provider.IItemLabelProvider
public String getText(Object object,
boolean showType)
public void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
fireNotifyChanged.
notifyChanged in interface org.eclipse.emf.common.notify.AdapternotifyChanged in class XSDComponentItemProvider
public Collection getNewChildDescriptors(Object object,
org.eclipse.emf.edit.domain.EditingDomain domain,
Object sibling)
getNewChildDescriptors in interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider
public org.eclipse.emf.common.command.Command createCommand(Object object,
org.eclipse.emf.edit.domain.EditingDomain domain,
Class commandClass,
org.eclipse.emf.edit.command.CommandParameter commandParameter)
createCommand in interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider
|
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 | ||||||||||