diff --git a/de.prob.ui/src/de/prob/ui/operationview/CustomPreconditionDialogHandler.java b/de.prob.ui/src/de/prob/ui/operationview/CustomPreconditionDialogHandler.java index 4a1fe38a1462854f92344b39ad88dd6a124f866a..820b8a59732ea83e098b0bffb66eefea66d1efdc 100644 --- a/de.prob.ui/src/de/prob/ui/operationview/CustomPreconditionDialogHandler.java +++ b/de.prob.ui/src/de/prob/ui/operationview/CustomPreconditionDialogHandler.java @@ -39,9 +39,14 @@ public class CustomPreconditionDialogHandler extends AbstractHandler implements if (op == null) return null; try { + int hisSize = Animator.getAnimator().getHistory().size(); + System.out.println("History Size = " + hisSize); ExecuteOperationCommand .executeOperation(Animator.getAnimator(), op); // TODO: provide feedback when we cannot execute operation + if (Animator.getAnimator().getHistory().size() <= hisSize) { + Logger.notifyUser("Could not execute event "+ filtered.get(0).getName() + " with the additional predicate provided!"); + } } catch (ProBException e) { e.notifyUserOnce(); }