public interface MappingDomain extends EditingDomain
Modifier and Type | Field and Description |
---|---|
static int |
ENABLE_ALL |
static int |
ENABLE_EMPTY_INPUTS |
static int |
ENABLE_EMPTY_OUTPUTS |
static int |
ENABLE_INCOMPATIBLE_METAOBJECTS |
static int |
ENABLE_INCOMPATIBLE_TYPE_CLASSIFIERS |
static int |
ENABLE_MULTIPLE_INPUT_MAPPINGS |
static int |
ENABLE_MULTIPLE_INPUTS |
static int |
ENABLE_MULTIPLE_OUTPUT_MAPPINGS |
static int |
ENABLE_MULTIPLE_OUTPUTS |
static int |
ENABLE_UNMAPPED_PARENTS |
Modifier and Type | Method and Description |
---|---|
int |
getMappingEnablementFlags()
This returns a set of flags that control enablement of mapping creation and removal commands for this domain.
|
MappingRoot |
getMappingRoot()
This returns the mapping root for this domain.
|
java.lang.String |
getName(java.lang.Object object)
This returns the name of the object.
|
EObject |
getOutputMetaObject(EObject inputMetaObject)
This returns the output meta object corresponding to the given input meta object.
|
java.lang.String |
getOutputName(java.lang.String inputName)
This returns the corresponding output name for the given input name.
|
java.lang.Object |
getOutputTypeClassifier(java.lang.Object inputTypeClassifier)
This returns the corresponding type classifier for the given input type classifier.
|
java.lang.Object |
getTypeClassifier(java.lang.Object mappedObject)
This returns the type classifier of the input or output object.
|
java.util.List<java.lang.String> |
parseInputName(java.lang.String inputName)
This returns the list of words (substrings) in the specified input name.
|
java.util.List<java.lang.String> |
parseOutputName(java.lang.String outputName)
This returns the list of words (substrings) in the specified output name.
|
void |
setMappingRoot(MappingRoot root)
This sets the mapping root for this domain to use.
|
void |
setName(java.lang.Object object,
java.lang.String name)
This sets the name of the object.
|
void |
setTypeClassifier(java.lang.Object mappedObject,
java.lang.Object typeClassifier)
This sets the type classifier of the input or output object.
|
createCommand, createOverrideCommand, createResource, getChildren, getClipboard, getCommandStack, getNewChildDescriptors, getOptimizeCopy, getParent, getResourceSet, getRoot, getTreePath, isControllable, isReadOnly, loadResource, setClipboard, treeIterator
static final int ENABLE_MULTIPLE_INPUTS
static final int ENABLE_MULTIPLE_OUTPUTS
static final int ENABLE_MULTIPLE_INPUT_MAPPINGS
static final int ENABLE_MULTIPLE_OUTPUT_MAPPINGS
static final int ENABLE_INCOMPATIBLE_METAOBJECTS
static final int ENABLE_INCOMPATIBLE_TYPE_CLASSIFIERS
static final int ENABLE_EMPTY_INPUTS
static final int ENABLE_EMPTY_OUTPUTS
static final int ENABLE_UNMAPPED_PARENTS
static final int ENABLE_ALL
EObject getOutputMetaObject(EObject inputMetaObject)
java.lang.String getName(java.lang.Object object)
void setName(java.lang.Object object, java.lang.String name)
java.lang.String getOutputName(java.lang.String inputName)
java.util.List<java.lang.String> parseOutputName(java.lang.String outputName)
java.util.List<java.lang.String> parseInputName(java.lang.String inputName)
java.lang.Object getTypeClassifier(java.lang.Object mappedObject)
void setTypeClassifier(java.lang.Object mappedObject, java.lang.Object typeClassifier)
java.lang.Object getOutputTypeClassifier(java.lang.Object inputTypeClassifier)
MappingRoot getMappingRoot()
void setMappingRoot(MappingRoot root)
int getMappingEnablementFlags()