|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectReflectiveItemProvider
org.eclipse.weaver.extension.providers.WElementItemProvider
ItemProvider base extension
Constructor Summary | |
WElementItemProvider()
This creates a base extension item provider |
Method Summary | |
protected void |
collectNewChildDescriptors(java.util.Collection newChildDescriptors,
java.lang.Object object)
|
protected java.util.List |
getAllConcreteSubclasses(EClass eClass)
Gets all concrete subclasses of a class in all the packages of a resourceSet. |
java.util.Collection |
getChildren(java.lang.Object object)
|
protected java.util.Collection |
getChildrenFeatures(java.lang.Object object)
|
java.lang.Object |
getCreateChildImage(java.lang.Object owner,
java.lang.Object feature,
java.lang.Object child,
java.util.Collection selection)
|
java.lang.String |
getCreateChildText(java.lang.Object owner,
java.lang.Object feature,
java.lang.Object child,
java.util.Collection selection)
|
java.util.List |
getEElementPropertyDescriptors(java.lang.Object object)
gets the properties of a gives object. |
java.util.Map |
getIconMap()
|
java.lang.String |
getIconPath(java.lang.String element)
Returns the icon associed to element or null if it doesn't exist |
java.lang.Object |
getImage(java.lang.Object object)
|
java.util.List |
getPropertyDescriptors(java.lang.Object object)
returns the descriptors for all properties of a given object. |
java.lang.String |
getText(java.lang.Object object)
|
boolean |
isAdapterForType(java.lang.Object type)
returns true if its factory is of type WElementProviderAdapterFactory |
void |
notifyChanged(Notification notification)
|
void |
setAdapterFactory(AdapterFactory adapterFactory)
Sets the adapter factory |
void |
setIconMap(java.util.Map icons)
Sets the map of icons in the itemProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WElementItemProvider()
Method Detail |
public void setAdapterFactory(AdapterFactory adapterFactory)
IWeaverItemProvider
setAdapterFactory
in interface IWeaverItemProvider
adapterFactory
- public void setIconMap(java.util.Map icons)
IWeaverItemProvider
setIconMap
in interface IWeaverItemProvider
public java.util.Map getIconMap()
public java.lang.String getIconPath(java.lang.String element)
public java.lang.Object getImage(java.lang.Object object)
public java.lang.Object getCreateChildImage(java.lang.Object owner, java.lang.Object feature, java.lang.Object child, java.util.Collection selection)
public java.util.Collection getChildren(java.lang.Object object)
protected void collectNewChildDescriptors(java.util.Collection newChildDescriptors, java.lang.Object object)
public boolean isAdapterForType(java.lang.Object type)
type
-
protected java.util.List getAllConcreteSubclasses(EClass eClass)
eClass
-
public java.util.List getPropertyDescriptors(java.lang.Object object)
object
-
public java.util.List getEElementPropertyDescriptors(java.lang.Object object)
object
-
public void notifyChanged(Notification notification)
protected java.util.Collection getChildrenFeatures(java.lang.Object object)
public java.lang.String getCreateChildText(java.lang.Object owner, java.lang.Object feature, java.lang.Object child, java.util.Collection selection)
public java.lang.String getText(java.lang.Object object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |