git-svn-id: http://talendforge.org/svn/tos/trunk@73207 f6f1c999-d317-4740-80b0-e6d1abc6f99e
44 lines
1.5 KiB
ATL
44 lines
1.5 KiB
ATL
-- @atlcompiler atl2006
|
|
-- $Id$
|
|
library Config;
|
|
|
|
-- adapt the following helper to reflect your file path
|
|
helper context String def : path : String =
|
|
'/org.talend.model.migration/transformation/development/' + self;
|
|
|
|
-- adapt the following inclusion condition for your specific model
|
|
helper context ECORE!"ecore::EClass" def : inclusionCondition : Boolean =
|
|
not (
|
|
self.name = 'EAttribute' or
|
|
self.name = 'EClass' or
|
|
self.name = 'EDataType' or
|
|
self.name = 'EEnum' or
|
|
self.name = 'EEnumLiteral' or
|
|
self.name = 'EFactory' or
|
|
self.name = 'EObject' or
|
|
self.name = 'EOperation' or
|
|
self.name = 'EPackage' or
|
|
self.name = 'EParameter' or
|
|
self.name = 'EReference' or
|
|
self.name = 'EGenericType' or
|
|
self.name = 'ETypeParameter' or
|
|
self.name = 'Profile' or
|
|
self.name = 'Stereotype'
|
|
);
|
|
|
|
-- select whether or not to use fully qualified meta-class names (<package>::<class>)
|
|
helper context ECORE!"ecore::ENamedElement" def : useQualifiedName : Boolean =
|
|
true;
|
|
|
|
-- select whether or not to use fully qualified rule names (<package>::<class>)
|
|
helper context ECORE!"ecore::ENamedElement" def : useQualifiedRuleName : Boolean =
|
|
true;
|
|
|
|
-- select whether or not to copy the __xmiid__ attribute
|
|
helper context ECORE!"ecore::EClass" def : copyXmiID : Boolean =
|
|
true;
|
|
|
|
-- select whether or not to use an intermediate s.isInElement helper attribute,
|
|
-- or use thisModule.isElements->includes(s) straight away.
|
|
helper context ECORE!"ecore::EClass" def : useIsInElementHelper : Boolean =
|
|
false; |