com.sdm.quasar.client.core.common.hierarchy
Interface HierarchyProviderListener

All Known Implementing Classes:
HierarchyProviderAdapter

public interface HierarchyProviderListener

Observes changes in the hierarchy managed by the HierarchyManager. For convenience, an HierarchyProviderAdapter with empty method implementations exists.

Version:
1.0
Author:
Martin Haft, sd&m AG, Bernd Olleck, sd&m AG

Method Summary
 void childAdded(ID parentId, ID childId)
          This method is called after a node has been added to the HierarchyManager.
 void childRemoved(ID parentId, ID childId)
          This method is called after a node has been removed from the HierarchyManager.
 void rootAdded(ID rootId)
          This method is called after a new root node has been added to the HierarchyManager.
 void rootRemoved(ID rootId)
          This method is called after a root node has been removed from the HierarchyManager.
 

Method Detail

rootAdded

public void rootAdded(ID rootId)
This method is called after a new root node has been added to the HierarchyManager.

Parameters:
rootId - the id of the new root node

rootRemoved

public void rootRemoved(ID rootId)
This method is called after a root node has been removed from the HierarchyManager.

Parameters:
rootId - the id of the root node

childAdded

public void childAdded(ID parentId,
                       ID childId)
This method is called after a node has been added to the HierarchyManager.

Parameters:
parentId - the id of the parent node
childId - the id of the new child node

childRemoved

public void childRemoved(ID parentId,
                         ID childId)
This method is called after a node has been removed from the HierarchyManager.

Parameters:
parentId - the id of the parent node
childId - the id of the child that was removed