|
Eclipse Platform Release 3.7 |
|||||||||
| 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(Object elementType)
|
| Method Summary | |
|---|---|
protected abstract ISetProperty |
doGetDelegate(Object source)
Returns the property to delegate to for the specified source object. |
protected Set |
doGetSet(Object source)
Returns a Set with the current contents of the source's set property |
protected void |
doSetSet(Object source,
Set set)
Updates the property on the source with the specified change. |
protected void |
doUpdateSet(Object source,
SetDiff diff)
Updates the property on the source with the specified change. |
protected ISetProperty |
getDelegate(Object source)
Returns the property to delegate to for the specified source object. |
Object |
getElementType()
Returns the type of the elements in the collection or null
if untyped |
IObservableSet |
observe(Object source)
Returns an observable set observing this set property on the given property source |
IObservableSet |
observe(Realm realm,
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(Object elementType)
| Method Detail |
|---|
protected final ISetProperty getDelegate(Object source)
source - the property source (may be null)
protected abstract ISetProperty doGetDelegate(Object source)
source - the property source
public Object getElementType()
ISetPropertynull
if untyped
null
if untypedprotected Set doGetSet(Object source)
SetProperty
doGetSet in class SetPropertysource - the property source
protected void doSetSet(Object source,
Set set)
SetProperty
doSetSet in class SetPropertysource - the property sourceset - the new set
protected void doUpdateSet(Object source,
SetDiff diff)
SetProperty
doUpdateSet in class SetPropertysource - the property sourcediff - a diff describing the changepublic IObservableSet observe(Object source)
ISetProperty
observe in interface ISetPropertyobserve in class SetPropertysource - the property source
public IObservableSet observe(Realm realm,
Object source)
ISetProperty
realm - the observable's realmsource - the property source
|
Eclipse Platform Release 3.7 |
|||||||||
| 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, 2011. All rights reserved.