Пример #1
0
  public void release() {
    super.release();

    holder.removeTestPropertyListener(testPropertyListener);

    for (PropertyTreeNode node : propertyNodes) getTreeModel().unmapModelItem(node.getModelItem());

    propertyNodes.clear();
    propertyMap.clear();
  }
Пример #2
0
  public void release() {
    super.release();

    getModelItem().removeMockServiceListener(mockServiceListener);

    for (MockOperationTreeNode treeNode : mockOperationNodes) {
      treeNode.getModelItem().removePropertyChangeListener(propertyChangeListener);
      treeNode.release();
    }

    propertiesTreeNode.release();
  }