public class EMFProperties
extends java.lang.Object
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
A factory to create property bound attributes forEObject
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG
Debug constant to turn on/off debugging
|
Constructor and Description |
---|
EMFProperties() |
Modifier and Type | Method and Description |
---|---|
static IEMFListProperty |
list(EStructuralFeature feature)
Returns a list property for the given
EStructuralFeature |
static IEMFListProperty |
list(FeaturePath featurePath)
Returns a list property for the given
FeaturePath |
static IEMFMapProperty |
map(EStructuralFeature feature)
Returns a map property for the given
EStructuralFeature . |
static IEMFListProperty |
multiList(EStructuralFeature... features)
Combine multiple multi-value features into one observable list property
|
static IEMFListProperty |
multiList(FeaturePath... featurePaths)
Combine the features identified by the the path into one observable list property
|
static IEMFListProperty |
multiList(FeaturePath rootPath,
EStructuralFeature... features)
Combine multiple features below a common path into one observable list property
|
static IEMFListProperty |
multiList(IEMFListProperty... properties)
Combine the given list properties into one observable list property
|
static IEMFListProperty |
resource()
Returns a property to observe a resource-content
|
static IEMFSetProperty |
set(EStructuralFeature feature)
Returns a set property for the given
EStructuralFeature |
static IEMFSetProperty |
set(FeaturePath featurePath)
Returns a set property for the given
FeaturePath |
static IEMFValueProperty |
value(EStructuralFeature feature)
Returns a value property for the given
EStructuralFeature |
static IEMFValueProperty |
value(FeaturePath featurePath)
|
static IEMFValueProperty[] |
values(EStructuralFeature... features)
Returns multiple value properties for the given
EStructuralFeature s |
static IEMFValueProperty[] |
values(FeaturePath... featurePaths)
Returns multiple value property for the given nested
EStructuralFeature features like the name of a
person |
public static final boolean DEBUG
public static IEMFValueProperty value(EStructuralFeature feature)
EStructuralFeature
feature
- the feature instance the property is created forEStructuralFeature
public static IEMFValueProperty value(FeaturePath featurePath)
featurePath
- path to the featureFeaturePath
public static IEMFValueProperty[] values(EStructuralFeature... features)
EStructuralFeature
sfeatures
- the feature instances the properties are created forEStructuralFeature
spublic static IEMFValueProperty[] values(FeaturePath... featurePaths)
EStructuralFeature
features like the name
of a
person
featurePaths
- path to the featureFeaturePath
spublic static IEMFListProperty list(EStructuralFeature feature)
EStructuralFeature
feature
- the feature instance the property is created forEStructuralFeature
public static IEMFListProperty list(FeaturePath featurePath)
FeaturePath
featurePath
- the feature pathFeaturePath
public static IEMFSetProperty set(EStructuralFeature feature)
EStructuralFeature
feature
- the feature instance the property is created forEStructuralFeature
public static IEMFSetProperty set(FeaturePath featurePath)
FeaturePath
featurePath
- the feature pathFeaturePath
public static IEMFListProperty multiList(EStructuralFeature... features)
features
- the features to add to the listpublic static IEMFListProperty multiList(FeaturePath rootPath, EStructuralFeature... features)
rootPath
- the root pathfeatures
- the featurespublic static IEMFListProperty multiList(FeaturePath... featurePaths)
featurePaths
- the feature pathspublic static IEMFListProperty multiList(IEMFListProperty... properties)
properties
- the propertiespublic static IEMFMapProperty map(EStructuralFeature feature)
EStructuralFeature
. Objects lacking the named property are treated the same as if the
property always contains an empty map.feature
- the feature the property is created forEStructuralFeature
public static IEMFListProperty resource()