|
Eclipse Platform Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.databinding.property.map.MapProperty
org.eclipse.core.databinding.property.map.DelegatingMapProperty
public abstract class DelegatingMapProperty
Constructor Summary | |
---|---|
protected |
DelegatingMapProperty()
|
protected |
DelegatingMapProperty(Object keyType,
Object valueType)
|
Method Summary | |
---|---|
protected abstract IMapProperty |
doGetDelegate(Object source)
Returns the property to delegate to for the specified source object. |
IMapProperty |
getDelegate(Object source)
Returns the property to delegate to for the specified source object. |
Object |
getKeyType()
Returns the element type of the map's key set or null if the
key set is untyped. |
Object |
getValueType()
Returns the element type of the map's values collection or null if the collection is untyped. |
IObservableMap |
observe(Object source)
Returns an observable map observing this map property on the given property source |
IObservableMap |
observe(Realm realm,
Object source)
Returns an observable map observing this map property on the given property source |
Methods inherited from class org.eclipse.core.databinding.property.map.MapProperty |
---|
mapFactory, mapFactory, observeDetail, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DelegatingMapProperty()
protected DelegatingMapProperty(Object keyType, Object valueType)
Method Detail |
---|
public final IMapProperty getDelegate(Object source)
source
- the property source (may be null)
protected abstract IMapProperty doGetDelegate(Object source)
source
- the property source
public Object getKeyType()
IMapProperty
null
if the
key set is untyped.
null
if the
key set is untyped.public Object getValueType()
IMapProperty
null
if the collection is untyped.
null
if the collection is untyped.public IObservableMap observe(Object source)
IMapProperty
observe
in interface IMapProperty
observe
in class MapProperty
source
- the property source
public IObservableMap observe(Realm realm, Object source)
IMapProperty
realm
- the observable's realmsource
- the property source
|
Eclipse Platform Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.