|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.databinding.edit.EMFEditProperties
public class EMFEditProperties
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
Field Summary | |
---|---|
static boolean |
DEBUG
Turn on debug logging |
Constructor Summary | |
---|---|
EMFEditProperties()
|
Method Summary | |
---|---|
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)
Returns a value property for the given nested EStructuralFeature
feature like the name of a person |
static IEMFEditValueProperty[] |
values(EditingDomain editingDomain,
EStructuralFeature... features)
Returns multiple value properties for the given EStructuralFeature s |
static IEMFEditValueProperty[] |
values(EditingDomain editingDomain,
FeaturePath... featurePaths)
Returns multiple value property for the given nested EStructuralFeature features like the name of a
person |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean DEBUG
Constructor Detail |
---|
public EMFEditProperties()
Method Detail |
---|
public static IEMFEditValueProperty value(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeature
editingDomain
- the editing domainfeature
- the feature instance the property is created for
EStructuralFeature
public static IEMFEditValueProperty value(EditingDomain editingDomain, FeaturePath featurePath)
EStructuralFeature
feature like the name
of a person
editingDomain
- the editing domainfeaturePath
- path to the feature
FeaturePath
public static IEMFEditValueProperty[] values(EditingDomain editingDomain, EStructuralFeature... features)
EStructuralFeature
s
editingDomain
- the editing domainfeatures
- the feature instances the properties are created for
EStructuralFeature
spublic static IEMFEditValueProperty[] values(EditingDomain editingDomain, FeaturePath... featurePaths)
EStructuralFeature
features like the name
of a
person
editingDomain
- the editing domainfeaturePaths
- path to the feature
FeaturePath
spublic static IEMFEditSetProperty set(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeature
editingDomain
- the editing domainfeature
- the feature instance the property is created for
EStructuralFeature
public static IEMFEditSetProperty set(EditingDomain editingDomain, FeaturePath featurePath)
FeaturePath
editingDomain
- the editing domainfeaturePath
- the feature path
FeaturePath
public static IEMFEditListProperty list(EditingDomain editingDomain, EStructuralFeature feature)
EStructuralFeature
editingDomain
- the editing domainfeature
- the feature instance the property is created for
EStructuralFeature
public static IEMFEditListProperty list(EditingDomain editingDomain, FeaturePath featurePath)
FeaturePath
editingDomain
- featurePath
-
FeaturePath
public static IEMFEditListProperty multiList(EditingDomain editingDomain, EStructuralFeature... features)
editingDomain
- the editing domainfeatures
- the features to add to the list
public static IEMFEditListProperty multiList(EditingDomain editingDomain, FeaturePath rootPath, EStructuralFeature... features)
editingDomain
- the editing domainrootPath
- the root pathfeatures
- the features
public static IEMFEditListProperty multiList(EditingDomain editingDomain, FeaturePath... featurePaths)
editingDomain
- the editing domainfeaturePaths
- the feature paths
public static IEMFEditListProperty multiList(EditingDomain editingDomain, IEMFEditListProperty... properties)
editingDomain
- the editing domainproperties
- the properties
public 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 for
EStructuralFeature
public static IEMFEditListProperty resource(EditingDomain editingDomain)
editingDomain
- the editing domain
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |