Extension SDK 9.0.5

oracle.ide.gallery
Class GalleryTagHandler

java.lang.Object
  extended byoracle.ide.gallery.GalleryTagHandler
All Implemented Interfaces:
ExtensionTagHandler

public class GalleryTagHandler
extends java.lang.Object
implements ExtensionTagHandler

Handler to process the gallery xml tag which is read by the extension manager.


Field Summary
static java.lang.String GALLERY_TAG
          Gallery xml tag.
 
Constructor Summary
GalleryTagHandler()
           
 
Method Summary
 boolean load(org.w3c.dom.Element gElm, java.net.URL url, boolean quiet)
          Called by the Extension (Addin) Manager when the registered xml tag is read.
 boolean unload(org.w3c.dom.Element gElm, java.net.URL url, boolean quiet)
          Called by the Extension (Addin) Manager when the extension which "owns" the xml tag is deinitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GALLERY_TAG

public static final java.lang.String GALLERY_TAG
Gallery xml tag.

See Also:
Constant Field Values
Constructor Detail

GalleryTagHandler

public GalleryTagHandler()
Method Detail

load

public boolean load(org.w3c.dom.Element gElm,
                    java.net.URL url,
                    boolean quiet)
             throws ExtensionTagException
Description copied from interface: ExtensionTagHandler
Called by the Extension (Addin) Manager when the registered xml tag is read.

Specified by:
load in interface ExtensionTagHandler
Parameters:
gElm - xml element that corresponds to he registered xml tag
url - location of the jar file that the element has been read from
quiet - if true then a diagnostic message using the Assert class should be displayed with the class name.
Returns:
true if element is loaded
Throws:
ExtensionTagException

unload

public boolean unload(org.w3c.dom.Element gElm,
                      java.net.URL url,
                      boolean quiet)
               throws ExtensionTagException
Description copied from interface: ExtensionTagHandler
Called by the Extension (Addin) Manager when the extension which "owns" the xml tag is deinitialized

Specified by:
unload in interface ExtensionTagHandler
Parameters:
gElm - xml element that corresponds to he registered xml tag
url - location of the jar file that the element has been read from
quiet - if true then a diagnostic message using the Assert class should be displayed with the class name.
Returns:
true if element is unloaded
Throws:
ExtensionTagException

Extension SDK

 

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