public class UnionSetProperty extends SetProperty
| Constructor and Description |
|---|
UnionSetProperty(ISetProperty[] properties) |
UnionSetProperty(ISetProperty[] properties,
Object elementType) |
| Modifier and Type | Method and Description |
|---|---|
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
|
getSet, observe, observeDetail, setFactory, setFactory, setSet, updateSet, valuespublic UnionSetProperty(ISetProperty[] properties)
properties - public UnionSetProperty(ISetProperty[] properties, Object elementType)
properties - elementType - public Object getElementType()
ISetPropertynull
if untypednull
if untypedprotected Set doGetSet(Object source)
SetPropertydoGetSet in class SetPropertysource - the property sourceprotected void doSetSet(Object source, Set set)
SetPropertydoSetSet in class SetPropertysource - the property sourceset - the new setprotected void doUpdateSet(Object source, SetDiff diff)
SetPropertydoUpdateSet in class SetPropertysource - the property sourcediff - a diff describing the changepublic IObservableSet observe(Realm realm, Object source)
ISetPropertyrealm - the observable's realmsource - the property source
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.