private BookmarkModel createBookmarkModel(IPresentation[] selectingPresentations) {

        if (selectingPresentations == null || selectingPresentations.length == 0) {
            return null;
        }

        BookmarkModel ret = new BookmarkModel();
        {
            List<String> classIds = new ArrayList<String>();
            for (int i = 0; i < selectingPresentations.length; i++) {
                if (ret.getDiagramName() == null && selectingPresentations[i].getDiagram() != null) {
                    ret.setDiagramName(selectingPresentations[i].getDiagram().getName());
                }
                if (ret.getPresentationsName() == null
                        && selectingPresentations[i].getLabel() != null
                        && !selectingPresentations[i].getLabel().equals("")) {
                    ret.setPresentationsName(selectingPresentations[i].getLabel());
                }
                classIds.add(selectingPresentations[i].getID());
            }
            ret.setClassIdList(classIds.toArray(new String[0]));
            if (ret.getClassIdList().length > 1) {
                ret.setPresentationsName(ret.getPresentationsName() + " + etc");
            }
            ret.setDescription(ret.getDiagramName() + " - " + ret.getPresentationsName());
        }

        return ret;
    }