|
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 EObjectContainmentEList |
target
|
| Constructor Summary | |
|---|---|
EObjectContainmentListPropertyValue(EObjectContainmentEList target)
Create an instance of the EObjectContainmentListPropertyValue |
|
EObjectContainmentListPropertyValue(EObjectContainmentEList target,
ILabelProvider labelProvider)
Create an instance of the EObjectContainmentListPropertyValue |
|
| Method Summary | |
|---|---|
protected void |
createDescriptor(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)
|
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 EObjectContainmentEList target
protected java.util.Map descriptors
protected ILabelProvider labelProvider
| Constructor Detail |
|---|
public EObjectContainmentListPropertyValue(EObjectContainmentEList target,
ILabelProvider labelProvider)
EObjectContainmentListPropertyValue
target - - contaiment listlabelProvider - - label providerpublic EObjectContainmentListPropertyValue(EObjectContainmentEList target)
EObjectContainmentListPropertyValue
target - - contaiment list| Method Detail |
|---|
protected void createDescriptor(EObject object)
object - - object on the containment listpublic java.lang.Object getEditableValue()
getEditableValue in interface IPropertySourcepublic IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface IPropertySourcepublic java.lang.Object getPropertyValue(java.lang.Object id)
getPropertyValue in interface IPropertySourcepublic boolean isPropertySet(java.lang.Object id)
isPropertySet in interface IPropertySourcepublic void resetPropertyValue(java.lang.Object id)
resetPropertyValue in interface IPropertySource
public void setPropertyValue(java.lang.Object id,
java.lang.Object value)
setPropertyValue in interface IPropertySourcepublic ILabelProvider getLabelProvider()
public void setLabelProvider(ILabelProvider labelProvider)
labelProvider - The labelProvider to set.public 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.