Package org.contextmapper.dsl.quickfixes
Interface CMLQuickFix<T extends org.eclipse.emf.ecore.EObject>
- All Known Implementing Classes:
CreateMissingBoundedContextQuickFix
,ExtractIDValueObjectQuickFix
,SplitStoryByVerb
public interface CMLQuickFix<T extends org.eclipse.emf.ecore.EObject>
Interface for all CML quickfixes (semantic changes to the corresponding CML
model).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyQuickfix
(T contextObject) Applies a quick fix (semantic change to the ContextMappingModel).default void
applyQuickfix2EObject
(org.eclipse.emf.ecore.EObject contextObject) Applies a quick fix (semantic change to the ContextMappingModel).Defines the description text of the quick fix.getName()
Defines the name of the quick fix.
-
Method Details
-
applyQuickfix
Applies a quick fix (semantic change to the ContextMappingModel).- Parameters:
contextObject
- the object on which the quickfix is triggered (must be part of the model)
-
applyQuickfix2EObject
default void applyQuickfix2EObject(org.eclipse.emf.ecore.EObject contextObject) Applies a quick fix (semantic change to the ContextMappingModel). IN CASE THE TYPE OF THE TRIGGER OBJECT IS NOT KNOWN!- Parameters:
contextObject
- the object on which the quickfix is triggered (must be part of the model)
-
getName
String getName()Defines the name of the quick fix.- Returns:
- name of the quick fix as string
-
getDescription
String getDescription()Defines the description text of the quick fix.- Returns:
- the description text of the quick fix as string
-