|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.emf.ui.properties.descriptors.EObjectContainmentListPropertyValue
public class EObjectContainmentListPropertyValue
A property source object that wraps around a containment list, presenting each item on the list as if it was a property.
Field Summary | |
---|---|
protected java.util.Map |
descriptors
|
protected ILabelProvider |
labelProvider
|
protected static PropertiesServiceAdapterFactory |
propertiesProvider
|
protected org.eclipse.emf.ecore.util.EObjectContainmentEList |
target
|
Constructor Summary | |
---|---|
EObjectContainmentListPropertyValue(org.eclipse.emf.ecore.util.EObjectContainmentEList target)
Create an instance of the EObjectContainmentListPropertyValue |
|
EObjectContainmentListPropertyValue(org.eclipse.emf.ecore.util.EObjectContainmentEList target,
ILabelProvider labelProvider)
Create an instance of the EObjectContainmentListPropertyValue |
Method Summary | |
---|---|
protected void |
createDescriptor(org.eclipse.emf.ecore.EObject object)
Create and cache property descriptor for the object on the list |
java.lang.Object |
getEditableValue()
|
ILabelProvider |
getLabelProvider()
|
IPropertyDescriptor[] |
getPropertyDescriptors()
|
java.lang.Object |
getPropertyValue(java.lang.Object id)
|
org.eclipse.emf.ecore.util.EObjectContainmentEList |
getTarget()
|
boolean |
isPropertySet(java.lang.Object id)
|
void |
resetPropertyValue(java.lang.Object id)
|
void |
setLabelProvider(ILabelProvider labelProvider)
|
void |
setPropertyValue(java.lang.Object id,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final PropertiesServiceAdapterFactory propertiesProvider
protected org.eclipse.emf.ecore.util.EObjectContainmentEList target
protected java.util.Map descriptors
protected ILabelProvider labelProvider
Constructor Detail |
---|
public EObjectContainmentListPropertyValue(org.eclipse.emf.ecore.util.EObjectContainmentEList target, ILabelProvider labelProvider)
EObjectContainmentListPropertyValue
target
- - contaiment listlabelProvider
- - label providerpublic EObjectContainmentListPropertyValue(org.eclipse.emf.ecore.util.EObjectContainmentEList target)
EObjectContainmentListPropertyValue
target
- - contaiment listMethod Detail |
---|
protected void createDescriptor(org.eclipse.emf.ecore.EObject object)
object
- - object on the containment listpublic java.lang.Object getEditableValue()
getEditableValue
in interface IPropertySource
public IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface IPropertySource
public java.lang.Object getPropertyValue(java.lang.Object id)
getPropertyValue
in interface IPropertySource
public boolean isPropertySet(java.lang.Object id)
isPropertySet
in interface IPropertySource
public void resetPropertyValue(java.lang.Object id)
resetPropertyValue
in interface IPropertySource
public void setPropertyValue(java.lang.Object id, java.lang.Object value)
setPropertyValue
in interface IPropertySource
public ILabelProvider getLabelProvider()
public void setLabelProvider(ILabelProvider labelProvider)
labelProvider
- The labelProvider to set.public org.eclipse.emf.ecore.util.EObjectContainmentEList getTarget()
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.