public void release() { super.release(); holder.removeTestPropertyListener(testPropertyListener); for (PropertyTreeNode node : propertyNodes) getTreeModel().unmapModelItem(node.getModelItem()); propertyNodes.clear(); propertyMap.clear(); }
public void release() { super.release(); getModelItem().removeMockServiceListener(mockServiceListener); for (MockOperationTreeNode treeNode : mockOperationNodes) { treeNode.getModelItem().removePropertyChangeListener(propertyChangeListener); treeNode.release(); } propertiesTreeNode.release(); }