Extension SDK

oracle.ide.explorer
Class IconOverlayTracker

java.lang.Object
  extended byoracle.ide.explorer.IconOverlayTracker

public abstract class IconOverlayTracker
extends java.lang.Object

Thread-based utility class tracking node visibility for overlay icons.


Constructor Summary
IconOverlayTracker()
          Constructor.
IconOverlayTracker(int batchSize)
          Constructor.
 
Method Summary
 void deregisterTreeExplorer(TreeExplorer tree)
          Deregisters the given tree explorer with the overlay tracker.
protected abstract  java.util.List getOverlayIcons(java.util.List elements)
          Gets a list of corresponding overlay icons for the given elements.
protected abstract  boolean isControlled(Element e)
          Asks whether the given element is controlled by the overlay client.
 void registerTreeExplorer(TreeExplorer tree)
          Registers the given tree explorer with the overlay tracker.
 void repaintOverlays()
          Repaints all visible tree explorer nodes after state changes.
 void stopTracking()
          Performs cleanup after use and prior to finalization.
 void validateOverlay(Element e)
          Validates the given element within the overlay cache.
 void validateOverlays()
          Validates all elements within the overlay cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconOverlayTracker

public IconOverlayTracker()
Constructor.


IconOverlayTracker

public IconOverlayTracker(int batchSize)
Constructor.

Parameters:
batchSize - the overlay request batch size.
Method Detail

isControlled

protected abstract boolean isControlled(Element e)
Asks whether the given element is controlled by the overlay client.

Parameters:
e - the element.
Returns:
a verdict.

getOverlayIcons

protected abstract java.util.List getOverlayIcons(java.util.List elements)
Gets a list of corresponding overlay icons for the given elements.

Parameters:
elements - the list of elements.
Returns:
the list of overlay icons.

registerTreeExplorer

public void registerTreeExplorer(TreeExplorer tree)
Registers the given tree explorer with the overlay tracker.


deregisterTreeExplorer

public void deregisterTreeExplorer(TreeExplorer tree)
Deregisters the given tree explorer with the overlay tracker.


validateOverlay

public void validateOverlay(Element e)
Validates the given element within the overlay cache.

Parameters:
e - the element.

validateOverlays

public void validateOverlays()
Validates all elements within the overlay cache.


repaintOverlays

public void repaintOverlays()
Repaints all visible tree explorer nodes after state changes.


stopTracking

public void stopTracking()
Performs cleanup after use and prior to finalization.


Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.