private InteractionEvent mockUserEvent(String handle, String kind, String origin, float scale) { InteractionEvent e = new InteractionEvent( InteractionEvent.Kind.MANIPULATION, kind, handle, origin, scale * ContextCore.getCommonContextScaling().getLandmark()); e.getInterestContribution(); return e; }
@Override public void interactionObserved(InteractionEvent event) { String id = event.getOriginId(); if (UserActionData.isInterestedEvent(id)) { UserActionData.setPendingEvent(id); UIUtil.reconcileActiveEditor(); } }