public void release() { project.removeProjectListener(projectListener); for (Interface iface : project.getInterfaceList()) { iface.removePropertyChangeListener( AbstractInterface.ENDPOINT_PROPERTY, propertyChangeListener); } if (configurationPanel != null) { configurationPanel.release(); } }
public void release() { if (propertiesTable.isEditing()) { propertiesTable.getCellEditor().stopCellEditing(); } propertiesModel.release(); if (holder instanceof WsdlProject) { WsdlProject project = (WsdlProject) holder; project.removeEnvironmentListener(environmentListener); project.removeProjectListener(projectListener); } projectListener = null; }