if (taglibDataList.size() > 0) {
new MenuItem(menu, SWT.SEPARATOR);
}
for (TaglibData taglibData: taglibDataList) {
String nsURI = taglibData.getNSURI();
DTSkinManager dtSkinManager = DTSkinManager.getInstance(project);
IDTSkin currentDTSkin = dtSkinManager.getCurrentSkin(nsURI);
MenuItem menuItem = new MenuItem(menu, SWT.CASCADE);
menuItem.setText(taglibData.getName());
Menu skinMenu = new Menu(menuItem);
menuList.add(skinMenu);
menuItem.setMenu(skinMenu);
List<IDTSkin> dtSkins = dtSkinManager.getSkins(nsURI);
for (IDTSkin dtSkin: dtSkins) {
MenuItem skinMenuItem;
if (currentDTSkin == dtSkin) {
skinMenuItem = new MenuItem(skinMenu, SWT.CHECK);
skinMenuItem.setSelection(true);