System.out.println("  - NO");
    public String[] measuresOffered(ItemRegistry registry) {        ArrayList measureList = new ArrayList();                Graph g = registry.getFilteredGraph();        Iterator nodeIter = g.getNodes();        // TODO - do we really care if SNA is loaded, lets just look at the datums?        // if SNA is loaded, add those        //if (_pluginRef != null) {            // ** find the datum names that ALL nodes have **            //  - get the datum names from the first node            //  - then remove those not found in consecutive nodes                        // construct measureList with all datum names from first GraphElt            // lets only add names of datums that we can sort by, namely numbers (not URL, etc.)            if(nodeIter.hasNext()) {                NodeItem n = (NodeItem) nodeIter.next();                PElement p = (PElement) n.getEntity();                nv2d.graph.GraphElement geData = p.getNV2DGraphElement();                java.util.Set s = geData.getVisibleDatumSet();                Iterator i = s.iterator();                while(i.hasNext()) {                    Datum d = (Datum)i.next();                    Object o = d.get();                    System.out.println("Is " + o.toString() + " a number?");                    if(isNumber(o)) {                        System.out.println("  - YES, adding to measures");                        measureList.add(d.name());                                            }                    else {                        System.out.println("  - NO");                    }                }            }            // go through each subsequent GraphElt, and remove from measureList            // any datum names that are NOT found.            while(nodeIter.hasNext()) {                NodeItem nn = (NodeItem) nodeIter.next();                PElement p = (PElement) nn.getEntity();                nv2d.graph.GraphElement geData = p.getNV2DGraphElement();                java.util.Set s = geData.getVisibleDatumSet();                Iterator i = s.iterator();                ArrayList tempList = new ArrayList(measureList);                while(i.hasNext()) {                    Datum d = (Datum)i.next();                    if(tempList.contains(d.name())) {                        tempList.remove(d.name());                    }                }                if(!tempList.isEmpty()) {                    Iterator tIter = tempList.iterator();                    while(tIter.hasNext()) {                        measureList.remove((String)tIter.next());                    }                }            }                        // now measureList has only the common measures from all NodeItems        //}                // add Alphabetize as a measure to sort by        measureList.add(0, LayoutPlugin.STR_SORT_ALPHABETICAL);               String[] measures = new String[measureList.size()];        Iterator mIter = measureList.iterator();        for (int i = 0; mIter.hasNext(); i++) {            measures[i] = (String)mIter.next();        }                return measures;    }