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