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
EStructuralFeatures |
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)
EStructuralFeaturefeature - the feature instance the property is created forEStructuralFeaturepublic static IEMFValueProperty value(FeaturePath featurePath)
featurePath - path to the featureFeaturePathpublic static IEMFValueProperty[] values(EStructuralFeature... features)
EStructuralFeaturesfeatures - the feature instances the properties are created forEStructuralFeaturespublic static IEMFValueProperty[] values(FeaturePath... featurePaths)
EStructuralFeature features like the name of a
personfeaturePaths - path to the featureFeaturePathspublic static IEMFListProperty list(EStructuralFeature feature)
EStructuralFeaturefeature - the feature instance the property is created forEStructuralFeaturepublic static IEMFListProperty list(FeaturePath featurePath)
FeaturePathfeaturePath - the feature pathFeaturePathpublic static IEMFSetProperty set(EStructuralFeature feature)
EStructuralFeaturefeature - the feature instance the property is created forEStructuralFeaturepublic static IEMFSetProperty set(FeaturePath featurePath)
FeaturePathfeaturePath - the feature pathFeaturePathpublic 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 forEStructuralFeaturepublic static IEMFListProperty resource()