public void shutdownMapHook() { setToolTip(getNode(), getName(), null); if (timer != null) { timer.cancel(); } displayState(REMOVE_CLOCK, getNode(), true); super.shutdownMapHook(); }
public void loadFrom(XMLElement child) { super.loadFrom(child); HashMap hash = loadNameValuePairs(child); if (hash.containsKey(REMINDUSERAT)) { String remindAt = (String) hash.get(REMINDUSERAT); setRemindUserAt(new Long(remindAt).longValue()); } }
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())); }
public void save(XMLElement xml) { super.save(xml); HashMap nameValuePairs = new HashMap(); nameValuePairs.put(REMINDUSERAT, new Long(remindUserAt)); saveNameValuePairs(nameValuePairs, xml); }