public void act(XmlAction action) {
   if (action instanceof freemind.controller.actions.generated.instance.RemoveIconXmlAction) {
     freemind.controller.actions.generated.instance.RemoveIconXmlAction removeAction =
         (freemind.controller.actions.generated.instance.RemoveIconXmlAction) action;
     MindMapNode node = modeController.getNodeFromID(removeAction.getNode());
     int position = removeAction.getIconPosition();
     node.removeIcon(position);
     modeController.nodeChanged(node);
   }
 }
 public RemoveIconXmlAction createRemoveIconXmlAction(MindMapNode node, int iconPosition) {
   RemoveIconXmlAction action = new RemoveIconXmlAction();
   action.setNode(node.getObjectId(modeController));
   action.setIconPosition(iconPosition);
   return action;
 }