Class CreateMissingBoundedContextQuickFix

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyQuickfix​(ContextMappingModel model)
      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).
      java.lang.String getDescription()
      Defines the description text of the quick fix.
      java.lang.String getName()
      Defines the name of the quick fix.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LINK_DIAGNOSTIC_MESSAGE_PATTERN

        public static final java.lang.String LINK_DIAGNOSTIC_MESSAGE_PATTERN
        See Also:
        Constant Field Values
    • Constructor Detail

      • CreateMissingBoundedContextQuickFix

        public CreateMissingBoundedContextQuickFix​(java.lang.String missingContextName)
    • Method Detail

      • 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 interface CMLQuickFix<ContextMappingModel>
        Parameters:
        contextObject - the object on which the quickfix is triggered (must be part of the model)
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: CMLQuickFix
        Defines the description text of the quick fix.
        Specified by:
        getDescription in interface CMLQuickFix<ContextMappingModel>
        Returns:
        the description text of the quick fix as string