Extension SDK 10.1.2


oracle.ide.gallery
Class GalleryManager

java.lang.Object
  extended byoracle.ide.gallery.GalleryManager

All Implemented Interfaces:
Addin, Module
Direct Known Subclasses:
ObjectGalleryAddin

public abstract class GalleryManager
extends java.lang.Object
implements Addin

Interface to the gallery so that the AddinManager is not dependent on the gallery addin


Constructor Summary
GalleryManager()

Method Summary
abstract java.util.Properties getBuilderProperties()
Get builder generator properties.
abstract ObjectGallery getGallery()
Get the instance of the Object Gallery.
static GalleryManager getGalleryManager()
Returns the GalleryManager instance that is active in the IDE.
abstract void registerGalleryElement(ElementInfo info)
Register an element to be added to the gallery.
static void setGalleryManager(GalleryManager galleryManager)
Publishes the specified GalleryManager as the active instance in the IDE.
abstract void unregisterGalleryElement(ElementInfo info)
Unregister an element to be removed from the gallery.

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

Methods inherited from interface oracle.ide.addin.Addin
canShutdown, ideVersion, initialize, shutdown, version

Constructor Detail

GalleryManager

public GalleryManager()

Method Detail

getGalleryManager

public static GalleryManager getGalleryManager()
Returns the GalleryManager instance that is active in the IDE.

setGalleryManager

public static void setGalleryManager(GalleryManager galleryManager)
Publishes the specified GalleryManager as the active instance in the IDE.

getGallery

public abstract ObjectGallery getGallery()
Get the instance of the Object Gallery.

registerGalleryElement

public abstract void registerGalleryElement(ElementInfo info)
Register an element to be added to the gallery.
Parameters:
info - information specifying the location and attributes of the new gallery element to be added.

unregisterGalleryElement

public abstract void unregisterGalleryElement(ElementInfo info)
Unregister an element to be removed from the gallery.
Parameters:
info - information specifying the location and attributes of the existing gallery element to be removed.

getBuilderProperties

public abstract java.util.Properties getBuilderProperties()
Get builder generator properties. These are a set properties which are used when a gallery element is invoked. For example a code template for the new class.
Returns:
property set of the generator properties

Extension SDK


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