/** * Implements {@link PluginComponentListener#pluginComponentRemoved(PluginComponentEvent)}. * * @param event a <tt>PluginComponentEvent</tt> which specifies the <tt>PluginComponent</tt> which * has been added */ public void pluginComponentRemoved(PluginComponentEvent event) { PluginComponent c = event.getPluginComponent(); if (c.getContainer().equals(containerId)) removePluginComponent(c); }
/** * Implements {@link PluginComponentListener#pluginComponentAdded(PluginComponentEvent)}. * * @param event a <tt>PluginComponentEvent</tt> which specifies the <tt>PluginComponent</tt> which * has been added */ public void pluginComponentAdded(PluginComponentEvent event) { PluginComponent c = event.getPluginComponent(); if (c.getContainer().equals(containerId)) addPluginComponent(c); }