|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.databinding.property.set.SetProperty
org.eclipse.core.databinding.property.set.DelegatingSetProperty
public abstract class DelegatingSetProperty
Constructor Summary | |
---|---|
protected |
DelegatingSetProperty()
|
protected |
DelegatingSetProperty(java.lang.Object elementType)
|
Method Summary | |
---|---|
protected abstract ISetProperty |
doGetDelegate(java.lang.Object source)
Returns the property to delegate to for the specified source object. |
protected java.util.Set |
doGetSet(java.lang.Object source)
Returns a Set with the current contents of the source's set property |
protected void |
doSetSet(java.lang.Object source,
java.util.Set set)
Updates the property on the source with the specified change. |
protected void |
doUpdateSet(java.lang.Object source,
SetDiff diff)
Updates the property on the source with the specified change. |
protected ISetProperty |
getDelegate(java.lang.Object source)
Returns the property to delegate to for the specified source object. |
java.lang.Object |
getElementType()
Returns the type of the elements in the collection or null
if untyped |
IObservableSet |
observe(java.lang.Object source)
Returns an observable set observing this set property on the given property source |
IObservableSet |
observe(Realm realm,
java.lang.Object source)
Returns an observable set observing this set property on the given property source |
Methods inherited from class org.eclipse.core.databinding.property.set.SetProperty |
---|
getSet, observeDetail, setFactory, setFactory, setSet, updateSet, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DelegatingSetProperty()
protected DelegatingSetProperty(java.lang.Object elementType)
Method Detail |
---|
protected final ISetProperty getDelegate(java.lang.Object source)
source
- the property source (may be null)
protected abstract ISetProperty doGetDelegate(java.lang.Object source)
source
- the property source
public java.lang.Object getElementType()
ISetProperty
null
if untyped
null
if untypedprotected java.util.Set doGetSet(java.lang.Object source)
SetProperty
doGetSet
in class SetProperty
source
- the property source
protected void doSetSet(java.lang.Object source, java.util.Set set)
SetProperty
doSetSet
in class SetProperty
source
- the property sourceset
- the new setprotected void doUpdateSet(java.lang.Object source, SetDiff diff)
SetProperty
doUpdateSet
in class SetProperty
source
- the property sourcediff
- a diff describing the changepublic IObservableSet observe(java.lang.Object source)
ISetProperty
observe
in interface ISetProperty
observe
in class SetProperty
source
- the property source
public IObservableSet observe(Realm realm, java.lang.Object source)
ISetProperty
realm
- the observable's realmsource
- the property source
|
Eclipse Platform Release 3.6 |
|||||||||
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, 2010. All rights reserved.