public void requestAnnotationHistory(Map<String, Object> message) { log.info("VideoDrawApplication - requestAnnotationHistory"); application.sendAnnotationHistory( getBbbSession().getInternalUserID(), (String) message.get("presentationID"), (Integer) message.get("pageNumber")); }
public void setActivePresentation(Map<String, Object> message) { log.info( "VideoDrawApplication - Setting active presentation: " + (String) message.get("presentationID")); application.setActivePresentation( (String) message.get("presentationID"), (Integer) message.get("numberOfSlides")); }
public void sendAnnotation(Map<String, Object> annotation) { // for (Map.Entry<String, Object> entry : annotation.entrySet()) { // String key = entry.getKey(); // Object value = entry.getValue(); // if (key.equals("points")) { // String points = "points=["; // ArrayList<Double> v = (ArrayList<Double>) value; // log.debug(points + pointsToString(v) + "]"); // } else { // log.debug(key + "=[" + value + "]"); // } // } Annotation a = new Annotation(annotation); application.sendAnnotation(a); }
public void toggleGrid() { log.info("VideoDrawApplication - Toggling grid mode"); application.toggleGrid(); }
public void undo(Map<String, Object> annotation) { log.info("VideoDrawApplication - Deleting last graphic"); Annotation a = new Annotation(annotation); application.undo(a); }
public void clear(Map<String, Object> annotation) { log.info("VideoDrawApplication - Clearing board"); Annotation a = new Annotation(annotation); application.clear(a); }
public void setActivePage(Map<String, Object> message) { log.info( "VideoDrawApplication - Getting number of shapes for page: " + (Integer) message.get("pageNum")); application.changePage((Integer) message.get("pageNum")); }
public void isWhiteboardEnabled() { application.isWhiteboardEnabled(getBbbSession().getInternalUserID()); }
public void enableWhiteboard(Map<String, Object> message) { log.info( "VideoDrawApplication - Setting whiteboard enabled: " + (Boolean) message.get("enabled")); application.enableWhiteboard((Boolean) message.get("enabled")); }