Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.controller
Class ContextMenuListenersHook

java.lang.Object
  extended by javax.ide.extension.ElementVisitor
      extended by javax.ide.extension.ExtensionHook
          extended by oracle.ide.extension.HashStructureHook
              extended by oracle.ide.controller.ContextMenuListenersHook


public final class ContextMenuListenersHook
extends HashStructureHook

Declarative hook for context menu listeners.

This class provides access to context menu listeners for a specific site registered in extension manifests. A single instance of ContextMenuListener is provided for a specific site which lazily creates and delegates to the specific implementations registered in extension manifests.

Obtain an instance of this class using ExtensionRegistry.getHook(javax.ide.extension.ElementName), providing ELEMENT as the ElementName parameter.

Since:
11.0

Field Summary
static ElementName ELEMENT
          The XML element for this custom hook.
protected static java.util.logging.Logger LOGGER
           

 

Fields inherited from class javax.ide.extension.ExtensionHook
KEY_EXTENSION, KEY_RSBUNDLE_CLASS, MANIFEST_XMLNS

 

Fields inherited from class javax.ide.extension.ElementVisitor
KEY_LOCATOR

 

Method Summary
 ContextMenuListener getListener(java.lang.String siteId)
          Returns the declarative context menu listener for the specified site.

 

Methods inherited from class oracle.ide.extension.HashStructureHook
dispose, end, getExtensionId, getHashStructure, getOrderedElements, getText, start

 

Methods inherited from class javax.ide.extension.ExtensionHook
findPath, getExtension, getProvider, getRSBundleClass, getSchemaLocation, resolvePath, setProvider, setSchemaLocation

 

Methods inherited from class javax.ide.extension.ElementVisitor
getClassLoader, getResourceBundle, log

 

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

 

Field Detail

ELEMENT

public static final ElementName ELEMENT
The XML element for this custom hook.

LOGGER

protected static final java.util.logging.Logger LOGGER

Method Detail

getListener

public ContextMenuListener getListener(java.lang.String siteId)
Returns the declarative context menu listener for the specified site. The returned ContextMenuListener will delegate to all registered listeners for the specified site.
Parameters:
siteId - the id of a context menu listener site.
Returns:
a context menu listener for the specified site.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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