com.sdm.quasar.client.core.common.hierarchy
Class HierarchyProviderAdapter

java.lang.Object
  extended bycom.sdm.quasar.client.core.common.hierarchy.HierarchyProviderAdapter
All Implemented Interfaces:
HierarchyProviderListener

public class HierarchyProviderAdapter
extends java.lang.Object
implements HierarchyProviderListener

Provides adapter functionality for the HierarchyProviderListener by implementing all methods. If you extend this adapter, you need to implement only the methods you are interested in.

Version:
1.0
Author:
Bernd Olleck

Constructor Summary
HierarchyProviderAdapter()
           
 
Method Summary
 void childAdded(ID parentId, ID childId)
          Does nothing - override to add functionality.
 void childRemoved(ID parentId, ID childId)
          Does nothing - override to add functionality.
 void rootAdded(ID rootId)
          Does nothing - override to add functionality.
 void rootRemoved(ID rootId)
          Does nothing - override to add functionality.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchyProviderAdapter

public HierarchyProviderAdapter()
Method Detail

rootAdded

public void rootAdded(ID rootId)
Does nothing - override to add functionality.

Specified by:
rootAdded in interface HierarchyProviderListener
Parameters:
rootId - the id of the new root node
See Also:
HierarchyProviderListener.rootAdded(ID)

rootRemoved

public void rootRemoved(ID rootId)
Does nothing - override to add functionality.

Specified by:
rootRemoved in interface HierarchyProviderListener
Parameters:
rootId - the id of the root node
See Also:
HierarchyProviderListener.rootRemoved(ID)

childAdded

public void childAdded(ID parentId,
                       ID childId)
Does nothing - override to add functionality.

Specified by:
childAdded in interface HierarchyProviderListener
Parameters:
parentId - the id of the parent node
childId - the id of the new child node
See Also:
HierarchyProviderListener.childAdded(ID, ID)

childRemoved

public void childRemoved(ID parentId,
                         ID childId)
Does nothing - override to add functionality.

Specified by:
childRemoved in interface HierarchyProviderListener
Parameters:
parentId - the id of the parent node
childId - the id of the child that was removed
See Also:
HierarchyProviderListener.childRemoved(ID, ID)