/** * Add the graph the cursor belongs to, to the marker list */ public void add(DDRegistryParser.DDCursor c) { String id = this.reg.getID(c); if (id != null) { BaseBean b = this.reg.getRoot(id); this.add(b); } }
public boolean hasGraph(String str, DDRegistryParser.DDCursor c) { String s = getGraphName(str); if (s != null) { if (!s.equals(DDRegistryParser.CURRENT_CURSOR)) return (this.getRoot(s) != null); else { if (c == null) return true; else return (this.getID(c) != null); } } return false; }
public void remove(DDRegistryParser.DDCursor c) { String id = this.reg.getID(c); if (id != null) { BaseBean b = this.reg.getRoot(id); this.remove(b); } }
path = cur.getRegistry().getID(cur); } else if (path.startsWith(VAR_PTYPE)) {