TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.extension.internal
Class DExtensionRegistry

java.lang.Object
  extended by org.eclipse.tptp.platform.report.extension.internal.DExtensionRegistry
All Implemented Interfaces:
IDObject, IDRegistry

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DExtensionRegistry
extends java.lang.Object
implements IDRegistry

Registry for IDExtension. This registry is used when a DExtensible object is instanciate to setup this object with all known extension for it's class and superclasses.


Field Summary
protected static java.util.Hashtable extenders_
          Deprecated. key: class, data: a list of IDExtension instances, in priority order.
static Signal sgn_addExtension
          Deprecated. This signal is emitted each time a new extension is added to this registry.
static Signal sgn_removeExtension
          Deprecated. This signal is emitted each time an extension is removed to this registry.
 
Constructor Summary
DExtensionRegistry()
          Deprecated.  
 
Method Summary
static void addExtension(IDExtension e, java.lang.Class for_extensible)
          Deprecated. Add an extension for an extensible class.
 void clear()
          Deprecated. Clear the contents before re-use
 java.util.Iterator iterator()
          Deprecated. Returns an iterator to access to all elements
static void removeExtension(IDExtension e)
          Deprecated. Remove first extension found for all extensible classes known.
static void removeExtension(IDExtension e, java.lang.Class for_extension)
          Deprecated. Remove first extension found for an extensible class,
static void updateExtensible(DExtensible extensible)
          Deprecated. Update extensible object.
protected static void updateExtensible(DExtensible extensible, java.lang.Class for_extension)
          Deprecated. Update extensible object for given class and superclasses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sgn_addExtension

public static final Signal sgn_addExtension
Deprecated. 
This signal is emitted each time a new extension is added to this registry. First parameter is the new extension, second one is the extensible class this extension is added to (same parameter as addExtension receive).


sgn_removeExtension

public static final Signal sgn_removeExtension
Deprecated. 
This signal is emitted each time an extension is removed to this registry. First parameter is the extension, second one is the extensible class this extension is removed from (same parameter as removeExtension receive).


extenders_

protected static java.util.Hashtable extenders_
Deprecated. 
key: class, data: a list of IDExtension instances, in priority order.

Constructor Detail

DExtensionRegistry

public DExtensionRegistry()
Deprecated. 
Method Detail

updateExtensible

public static void updateExtensible(DExtensible extensible)
Deprecated. 
Update extensible object.


clear

public void clear()
Deprecated. 
Description copied from interface: IDRegistry
Clear the contents before re-use

Specified by:
clear in interface IDRegistry

iterator

public java.util.Iterator iterator()
Deprecated. 
Description copied from interface: IDRegistry
Returns an iterator to access to all elements

Specified by:
iterator in interface IDRegistry

updateExtensible

protected static void updateExtensible(DExtensible extensible,
                                       java.lang.Class for_extension)
Deprecated. 
Update extensible object for given class and superclasses.


addExtension

public static void addExtension(IDExtension e,
                                java.lang.Class for_extensible)
Deprecated. 
Add an extension for an extensible class. Latest added extension is used prior lastest ones.


removeExtension

public static void removeExtension(IDExtension e,
                                   java.lang.Class for_extension)
Deprecated. 
Remove first extension found for an extensible class,


removeExtension

public static void removeExtension(IDExtension e)
Deprecated. 
Remove first extension found for all extensible classes known. Usefull if your want to remove an extension associated with more than one extensible class.


TPTP 4.5.0 Platform Project
Internal API Specification