@Override public void setSelectedNodes(Collection<CyNode> proxies, boolean selected) { SelectFilter filter = getProxied().getSelectFilter(); Set<giny.model.Node> nodes = new HashSet<giny.model.Node>(); for (CyNode proxy : proxies) { nodes.add(proxy); } filter.setSelectedNodes(nodes, selected); }
@Override public void setSelectedEdges(Collection<CyEdge> proxies, boolean selected) { SelectFilter filter = getProxied().getSelectFilter(); Set<Edge> edges = new HashSet<Edge>(); for (CyEdge proxy : proxies) { edges.add(proxy); } filter.setSelectedEdges(edges, selected); }
@Override public void setSelectedEdge(CyEdge edge, boolean selected) { SelectFilter filter = getProxied().getSelectFilter(); filter.setSelected(edge, selected); }
@Override public void setSelectedNode(CyNode node, boolean selected) { SelectFilter filter = getProxied().getSelectFilter(); filter.setSelected(node, selected); }