public GroupMap getView_IDMap(){
if (drawingViewContainer == null) return null;
DrawingView[] views = drawingViewContainer.getAllDrawingViews();
GroupMap rst = new GroupTreeMap();
for (int i = 0; i < views.length; i++){
DrawingView view = views[i];
FigureEnumeration fe = view.getDrawing().getFigures();
while (fe.hasMoreElements()){
Figure fig = fe.nextFigure();
String id = (String) fig.getAttribute("id");
if ((id != null) && (!id.equals(""))){
rst.add(view.getDrawing().getTitle(), id);
}
}
}
return rst;