Skip navigation links

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

E17493-04


oracle.ide.extension
Interface HashStructureHookListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ContextMenuListenersHook.MyListener

public interface HashStructureHookListener
extends java.util.EventListener

Add a HashStructureHookListener to a HashStructureHook instance if you wish to be notified when new extension.xml elements are processed by the HashStructureHook instance. 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.


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.

 

Method Detail

elementVisited

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). It also exposes the IDE Extension object that contributed the new element.
Parameters:
e -

listenerAttached

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. The HashStructureHook event will contain a non-null combined HashStructure, and a null new element HashStructure, and a null IDE extension.
Parameters:
e -

Skip navigation links

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

E17493-04


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