entityToTreeNodeMap.put(gemEntity, newNode);
}
// Sort the set into a list by unqualified name. This way all the gems
// appear in alphabetical order in whatever category they fall into.
GemComparatorSorter sorter = new GemUnqualifiedNameCaseInsensitiveSorter();
List<GemEntity> sortedList = sorter.getSortedList(allEntities);
// Fill up the workspace node with the entities
fillTreeStructure(workspaceTreeNode, sortedList);
invokeOnEventDispatchThread(new Runnable() {