diff options
Diffstat (limited to 'extraplugins/umlrt/org.eclipse.papyrus.umlrt/src/org/eclipse/papyrus/umlrt/custom/advice/BehavioredClassifierEditHelperAdvice.java')
-rw-r--r-- | extraplugins/umlrt/org.eclipse.papyrus.umlrt/src/org/eclipse/papyrus/umlrt/custom/advice/BehavioredClassifierEditHelperAdvice.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src/org/eclipse/papyrus/umlrt/custom/advice/BehavioredClassifierEditHelperAdvice.java b/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src/org/eclipse/papyrus/umlrt/custom/advice/BehavioredClassifierEditHelperAdvice.java index 82e7a317a98..0d560d8799b 100644 --- a/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src/org/eclipse/papyrus/umlrt/custom/advice/BehavioredClassifierEditHelperAdvice.java +++ b/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src/org/eclipse/papyrus/umlrt/custom/advice/BehavioredClassifierEditHelperAdvice.java @@ -42,10 +42,10 @@ public class BehavioredClassifierEditHelperAdvice extends AbstractEditHelperAdvi IElementType type = createElementRequest.getElementType(); // type should only be compatible with UMLRT::OperationAsMessages - IElementType umlRTMessageType = ElementTypeRegistry.getInstance().getType(IUMLRTElementTypes.RT_OPERATION_AS_MESSAGE); + IElementType umlRTMessageType = ElementTypeRegistry.getInstance().getType(IUMLRTElementTypes.RT_MESSAGE_ID); // should not be null, otherwise, element type model is not loaded correctly. abort. if (umlRTMessageType == null) { - Activator.log.debug("MessageAsOperation element type is not accessible"); + Activator.log.debug("RTMessage element type is not accessible"); return super.approveRequest(request); } |