Пример #1
0
 public AddIconAction createAddIconAction(MindMapNode node, MindIcon icon, int iconPosition) {
   AddIconAction action = new AddIconAction();
   action.setNode(node.getObjectId(modeController));
   action.setIconName(icon.getName());
   action.setIconPosition(iconPosition);
   return action;
 }
Пример #2
0
 public void invoke(MindMapNode node) {
   super.invoke(node);
   if (remindUserAt == 0) {
     return;
   }
   if (timer == null) {
     scheduleTimer(node);
   }
   logger.info("Invoke for node: " + node.getObjectId(getController()));
 }
Пример #3
0
 public RemoveIconXmlAction createRemoveIconXmlAction(MindMapNode node, int iconPosition) {
   RemoveIconXmlAction action = new RemoveIconXmlAction();
   action.setNode(node.getObjectId(modeController));
   action.setIconPosition(iconPosition);
   return action;
 }