Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.ide.controller
Class ContextMenuListenersHook.MyListener

java.lang.Object
  extended by oracle.ide.controller.ContextMenuListenersHook.MyListener

All Implemented Interfaces:
java.util.EventListener, HashStructureHookListener
Enclosing class:
ContextMenuListenersHook

public static class ContextMenuListenersHook.MyListener
extends java.lang.Object
implements HashStructureHookListener

Constructor Summary
ContextMenuListenersHook.MyListener(java.lang.String siteId)
           

 

Method Summary
 void elementVisited(HashStructureHookEvent e)
          When a new top-level element has been visted by the HashStructureHook it will call elementVisited() passing a HashStructureHook event that contains a read-only HashStructure that consists of the data from the new element, as well as the combined HashStructure that contains the merged data (new and old).
 void listenerAttached(HashStructureHookEvent e)
          Called when the listener instance is attached so that the listener can observe the existing contents of the HashStructureHook's HashStructure.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ContextMenuListenersHook.MyListener

public ContextMenuListenersHook.MyListener(java.lang.String siteId)

Method Detail

listenerAttached

public void listenerAttached(HashStructureHookEvent e)
Description copied from interface: HashStructureHookListener
Called when the listener instance is attached so that the listener can observe the existing contents of the HashStructureHook's HashStructure. The HashStructureHook event will contain a non-null combined HashStructure, and a null new element HashStructure, and a null IDE extension.
Specified by:
listenerAttached in interface HashStructureHookListener

elementVisited

public void elementVisited(HashStructureHookEvent e)
Description copied from interface: HashStructureHookListener
When a new top-level element has been visted by the HashStructureHook it will call elementVisited() passing a HashStructureHook event that contains a read-only HashStructure that consists of the data from the new element, as well as the combined HashStructure that contains the merged data (new and old). It also exposes the IDE Extension object that contributed the new element.
Specified by:
elementVisited in interface HashStructureHookListener

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


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