addPortletButton.setIcon("images/portlet_add.gif");
return addPortletButton;
}
protected void onPortletRemoved(String javaClassName) {
AbstractTab activeTab = getActiveOntologyTab();
List<EntityPortlet> comps = activeTab.getPortlets();
for (EntityPortlet entityPortlet2 : comps) {
EntityPortlet entityPortlet = entityPortlet2;
if (entityPortlet.getClass().getName().equals(javaClassName)) {
((Portlet) entityPortlet).setVisible(false);
((Portlet) entityPortlet).destroy();