HashMap figureListing = new HashMap();
ArrayList list = new ArrayList();
Iterator iterator = viewer.getGraphControl().getNodes().iterator();
while (iterator.hasNext()) {
GraphItem item = (GraphItem) iterator.next();
figureListing.put(item.getText(), item);
}
iterator = figureListing.keySet().iterator();
if (textString.length() > 0) {
while (iterator.hasNext()) {
String string = (String) iterator.next();