121122123124125126127128129130131
String typeStr = type.getName(); ImageDescriptor id = getImgDescVertex(type); ToolEntry tool = new CreationToolEntry(typeStr, "Create a new " + typeStr, new VertexCreationFactory(type), id, null); toolDrawer.add(tool); } container.add(toolDrawer);