Class VariantRealizationTransformation
java.lang.Object
com.nomagic.magicdraw.variants.transformation.VariantRealizationTransformation
Performs model transformation in scope using given
VariationPointsProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
transform
(com.nomagic.magicdraw.variants.transformation.VariantTransformation<? extends VariationPointsProvider> variantTransformation, ProgressStatus status, Collection<Element> scope) static void
transform
(VariationPointsProvider provider, ProgressStatus status, Collection<Element> scope) static void
transform
(VariationPointsProvider provider, ProgressStatus status, Collection<Element> scope, Notifier notifier) static void
transform
(VariationPointsProvider provider, ProgressStatus status, Collection<Element> scope, Notifier notifier, boolean ignoreElementPermissions) static void
transform
(VariationPointsProvider provider, ProgressStatus status, Collection<Element> scope, Notifier notifier, TransformationParameters transformationParameters) static void
transform
(VariationPointsProvider provider, Collection<Element> scope) static void
transform
(VariationPointsProvider provider, Collection<Element> scope, boolean ignoreElementPermissions)
-
Constructor Details
-
VariantRealizationTransformation
public VariantRealizationTransformation()
-
-
Method Details
-
transform
- Parameters:
provider
- defines which model elements are transformablescope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.
-
transform
public static void transform(VariationPointsProvider provider, Collection<Element> scope, boolean ignoreElementPermissions) - Parameters:
provider
- defines which model elements are transformablescope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.ignoreElementPermissions
- if true, even read only elements be transformed (except for elements from read-only used projects). Doing so is only recommended if the transformation result will not be committed/saved to the edited (current) branch/file.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, Collection<Element> scope) - Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project. Doing so is only recommended if the transformation result will not be committed to the edited (current) branch.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, Collection<Element> scope, Notifier notifier) - Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.notifier
- notifies users about various abnormal situations when transforming.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, Collection<Element> scope, Notifier notifier, boolean ignoreElementPermissions) - Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.notifier
- notifies users about various abnormal situations when transforming.ignoreElementPermissions
- if true, even read only elements be transformed (except for elements from read-only used projects). Doing so is only recommended if the transformation result will not be committed/saved to the edited (current) branch/file.
-
transform
public static void transform(VariationPointsProvider provider, @CheckForNull ProgressStatus status, Collection<Element> scope, Notifier notifier, TransformationParameters transformationParameters) - Parameters:
provider
- defines which model elements are transformablestatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.notifier
- notifies users about various abnormal situations when transforming.transformationParameters
- transformation parameters
-
transform
public static void transform(com.nomagic.magicdraw.variants.transformation.VariantTransformation<? extends VariationPointsProvider> variantTransformation, @CheckForNull ProgressStatus status, Collection<Element> scope) - Parameters:
variantTransformation
- the transformation engine that performs the transformstatus
- progress status of the transformationscope
- root elements(s) that defines the part of the model to transform. Provide primary model(s) to transform the complete project.
-