Exemplo n.º 1
0
 @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);
 }
Exemplo n.º 2
0
 @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);
 }
Exemplo n.º 3
0
 @Override
 public void setSelectedEdge(CyEdge edge, boolean selected) {
   SelectFilter filter = getProxied().getSelectFilter();
   filter.setSelected(edge, selected);
 }
Exemplo n.º 4
0
 @Override
 public void setSelectedNode(CyNode node, boolean selected) {
   SelectFilter filter = getProxied().getSelectFilter();
   filter.setSelected(node, selected);
 }