|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.explorer.IconOverlayTracker oracle.jdeveloper.vcs.spi.VCSNodeOverlayTracker
public class VCSNodeOverlayTracker
Class for a node overlay tracker based around a version control status cache. The implementation will ensure that overlays are refreshed when statuses become dirty. Expansion of registered composite file elements (the oracle.ide.composite API) is handled internally. Also, the tracker will automatically be associated and disassociated with navigator windows when they are created and closed.
Constructor Summary | |
---|---|
VCSNodeOverlayTracker(int batchSize,
VCSOverlayItemProducer overlayItemProducer,
URLFilter filter,
java.lang.String vcsId)
|
Method Summary | |
---|---|
protected IconOverlay |
getCompositeElementOverlay(java.net.URL[] urls)
|
protected IconOverlay[] |
getOverlays(Element[] elements)
Gets the displayable overlay information for the given elements. |
void |
handleMessage(VCSEBMessage message)
Handles a message sent on the VCSEventBus . |
protected boolean |
isControlled(Element element)
Asks whether the given element is controlled by the overlay client. |
protected void |
startTracking()
|
void |
stopTracking()
Performs cleanup after use and prior to finalization. |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
Methods inherited from class oracle.ide.explorer.IconOverlayTracker |
---|
getOverlayCache, getValidElements, repaintOverlays, validateOverlay, validateOverlays |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VCSNodeOverlayTracker(int batchSize, VCSOverlayItemProducer overlayItemProducer, URLFilter filter, java.lang.String vcsId)
Method Detail |
---|
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
public void handleMessage(VCSEBMessage message)
VCSEBComponent
VCSEventBus
.
handleMessage
in interface VCSEBComponent
message
- the message to handle.protected void startTracking()
startTracking
in class IconOverlayTracker
public void stopTracking()
IconOverlayTracker
stopTracking
in class IconOverlayTracker
protected boolean isControlled(Element element)
IconOverlayTracker
isControlled
in class IconOverlayTracker
element
- the element.
protected IconOverlay[] getOverlays(Element[] elements)
IconOverlayTracker
getOverlays
in class IconOverlayTracker
elements
- the collection of elements.
protected IconOverlay getCompositeElementOverlay(java.net.URL[] urls) throws java.lang.Exception
java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |