Exemplo n.º 1
0
  public void release() {
    project.removeProjectListener(projectListener);
    for (Interface iface : project.getInterfaceList()) {
      iface.removePropertyChangeListener(
          AbstractInterface.ENDPOINT_PROPERTY, propertyChangeListener);
    }

    if (configurationPanel != null) {
      configurationPanel.release();
    }
  }
Exemplo n.º 2
0
  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;
  }