Search in sources :

Example 1 with CGComparator

use of org.cytoscape.ding.customgraphicsmgr.internal.CGComparator in project cytoscape-impl by cytoscape.

the class CustomGraphicsRange method values.

@Override
public Set<CyCustomGraphics> values() {
    Set<CyCustomGraphics> sortedSet = new TreeSet<>(new CGComparator());
    sortedSet.addAll(manager.getAllCustomGraphics());
    return sortedSet;
}
Also used : CyCustomGraphics(org.cytoscape.view.presentation.customgraphics.CyCustomGraphics) TreeSet(java.util.TreeSet) CGComparator(org.cytoscape.ding.customgraphicsmgr.internal.CGComparator)

Aggregations

TreeSet (java.util.TreeSet)1 CGComparator (org.cytoscape.ding.customgraphicsmgr.internal.CGComparator)1 CyCustomGraphics (org.cytoscape.view.presentation.customgraphics.CyCustomGraphics)1