Package org.contextmapper.dsl.quickfixes
Class SplitStoryByVerb
java.lang.Object
org.contextmapper.dsl.quickfixes.SplitStoryByVerb
- All Implemented Interfaces:
CMLQuickFix<Feature>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyQuickfix
(Feature contextObject) Applies a quick fix (semantic change to the ContextMappingModel).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.void
-
Constructor Details
-
SplitStoryByVerb
public SplitStoryByVerb()
-
-
Method Details
-
applyQuickfix
Description copied from interface:CMLQuickFix
Applies a quick fix (semantic change to the ContextMappingModel).- Specified by:
applyQuickfix
in interfaceCMLQuickFix<Feature>
- Parameters:
contextObject
- the object on which the quickfix is triggered (must be part of the model)
-
applyQuickfix2EObject
public void applyQuickfix2EObject(org.eclipse.emf.ecore.EObject contextObject) Description copied from interface:CMLQuickFix
Applies a quick fix (semantic change to the ContextMappingModel). IN CASE THE TYPE OF THE TRIGGER OBJECT IS NOT KNOWN!- Specified by:
applyQuickfix2EObject
in interfaceCMLQuickFix<Feature>
- Parameters:
contextObject
- the object on which the quickfix is triggered (must be part of the model)
-
setVerbs
-
getName
Description copied from interface:CMLQuickFix
Defines the name of the quick fix.- Specified by:
getName
in interfaceCMLQuickFix<Feature>
- Returns:
- name of the quick fix as string
-
getDescription
Description copied from interface:CMLQuickFix
Defines the description text of the quick fix.- Specified by:
getDescription
in interfaceCMLQuickFix<Feature>
- Returns:
- the description text of the quick fix as string
-