예제 #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();
  }