@@ -67,9 +70,15 @@ public class StartAnimationHandler extends AbstractHandler implements IHandler {
...
@@ -67,9 +70,15 @@ public class StartAnimationHandler extends AbstractHandler implements IHandler {
finalIEventBRootrootElement=getRootElement();
finalIEventBRootrootElement=getRootElement();
finalIFileresource=extractResource(rootElement);
finalIFileresource=extractResource(rootElement);
if(!checkErrorMarkers(resource)){
List<String>errors=checkErrorMarkers(resource);
Stringmessage="A model/context in your project contains Errors or Warnings. This can lead to unexpected behavior (e.g. missing variables) when animating.";
if(!errors.isEmpty()){
Logger.notifyUserWithoutBugreport(message);
Stringmessage="A model/context in your project contains Errors or Warnings. This can lead to unexpected behavior (e.g. missing variables) when animating.\ns\nDetails:\n";