|
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.UnionSetProperty
public class UnionSetProperty
A set property for observing the union of multiple set properties a combined set.
Constructor Summary | |
---|---|
UnionSetProperty(ISetProperty[] properties)
|
|
UnionSetProperty(ISetProperty[] properties,
Object elementType)
|
Method Summary | |
---|---|
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. |
Object |
getElementType()
Returns the type of the elements in the collection or null
if untyped |
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, observe, 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 |
---|
public UnionSetProperty(ISetProperty[] properties)
properties
- public UnionSetProperty(ISetProperty[] properties, Object elementType)
properties
- elementType
- Method Detail |
---|
public Object getElementType()
ISetProperty
null
if untyped
null
if untypedprotected Set doGetSet(Object source)
SetProperty
doGetSet
in class SetProperty
source
- the property source
protected void doSetSet(Object source, Set set)
SetProperty
doSetSet
in class SetProperty
source
- the property sourceset
- the new setprotected void doUpdateSet(Object source, SetDiff diff)
SetProperty
doUpdateSet
in class SetProperty
source
- the property sourcediff
- a diff describing the changepublic IObservableSet observe(Realm realm, 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.