public class EMFEditProperties
extends java.lang.Object
PROVISIONAL: This API is subject to arbitrary change, including renaming or removal.
A factory to create property bound attributes forEObject which use an EditingDomain to make changes to the EObject| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG
Turn on debug logging
|
| Constructor and Description |
|---|
EMFEditProperties() |
| Modifier and Type | Method and Description |
|---|---|
static IEMFEditListProperty |
list(EditingDomain editingDomain,
EStructuralFeature feature)
Returns a list property for the given
EStructuralFeature |
static IEMFEditListProperty |
list(EditingDomain editingDomain,
FeaturePath featurePath)
Returns a list property for the given
FeaturePath |
static IEMFEditMapProperty |
map(EditingDomain editingDomain,
EStructuralFeature feature)
Returns a map property for the given
EStructuralFeature. |
static IEMFEditListProperty |
multiList(EditingDomain editingDomain,
EStructuralFeature... features)
Combine multiple multi-value features into one observable list property
|
static IEMFEditListProperty |
multiList(EditingDomain editingDomain,
FeaturePath... featurePaths)
Combine the features identified by the the path into one observable list property
|
static IEMFEditListProperty |
multiList(EditingDomain editingDomain,
FeaturePath rootPath,
EStructuralFeature... features)
Combine multiple features below a common path into one observable list property
|
static IEMFEditListProperty |
multiList(EditingDomain editingDomain,
IEMFEditListProperty... properties)
Combine the given list properties into one observable list property
|
static IEMFEditListProperty |
resource(EditingDomain editingDomain)
Returns a property to observe a resource-content
|
static IEMFEditSetProperty |
set(EditingDomain editingDomain,
EStructuralFeature feature)
Returns a set property for the given
EStructuralFeature |
static IEMFEditSetProperty |
set(EditingDomain editingDomain,
FeaturePath featurePath)
Returns a set property for the given
FeaturePath |
static IEMFEditValueProperty |
value(EditingDomain editingDomain,
EStructuralFeature feature)
Returns a value property for the given
EStructuralFeature |
static IEMFEditValueProperty |
value(EditingDomain editingDomain,
FeaturePath featurePath)
|
static IEMFEditValueProperty[] |
values(EditingDomain editingDomain,
EStructuralFeature... features)
Returns multiple value properties for the given
EStructuralFeatures |
static IEMFEditValueProperty[] |
values(EditingDomain editingDomain,
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 IEMFEditValueProperty value(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeatureeditingDomain - the editing domainfeature - the feature instance the property is created forEStructuralFeaturepublic static IEMFEditValueProperty value(EditingDomain editingDomain, FeaturePath featurePath)
editingDomain - the editing domainfeaturePath - path to the featureFeaturePathpublic static IEMFEditValueProperty[] values(EditingDomain editingDomain, EStructuralFeature... features)
EStructuralFeatureseditingDomain - the editing domainfeatures - the feature instances the properties are created forEStructuralFeaturespublic static IEMFEditValueProperty[] values(EditingDomain editingDomain, FeaturePath... featurePaths)
EStructuralFeature features like the name of a
personeditingDomain - the editing domainfeaturePaths - path to the featureFeaturePathspublic static IEMFEditSetProperty set(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeatureeditingDomain - the editing domainfeature - the feature instance the property is created forEStructuralFeaturepublic static IEMFEditSetProperty set(EditingDomain editingDomain, FeaturePath featurePath)
FeaturePatheditingDomain - the editing domainfeaturePath - the feature pathFeaturePathpublic static IEMFEditListProperty list(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeatureeditingDomain - the editing domainfeature - the feature instance the property is created forEStructuralFeaturepublic static IEMFEditListProperty list(EditingDomain editingDomain, FeaturePath featurePath)
FeaturePatheditingDomain - featurePath - FeaturePathpublic static IEMFEditListProperty multiList(EditingDomain editingDomain, EStructuralFeature... features)
editingDomain - the editing domainfeatures - the features to add to the listpublic static IEMFEditListProperty multiList(EditingDomain editingDomain, FeaturePath rootPath, EStructuralFeature... features)
editingDomain - the editing domainrootPath - the root pathfeatures - the featurespublic static IEMFEditListProperty multiList(EditingDomain editingDomain, FeaturePath... featurePaths)
editingDomain - the editing domainfeaturePaths - the feature pathspublic static IEMFEditListProperty multiList(EditingDomain editingDomain, IEMFEditListProperty... properties)
editingDomain - the editing domainproperties - the propertiespublic static IEMFEditMapProperty map(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeature. Objects lacking the named property are treated the same as if the
property always contains an empty map.editingDomain - the editing domainfeature - the feature the property is created forEStructuralFeaturepublic static IEMFEditListProperty resource(EditingDomain editingDomain)
editingDomain - the editing domain