Class ExtensibleObject

java.lang.Object
com.bc.ceres.core.ExtensibleObject
All Implemented Interfaces:
Extensible
Direct Known Subclasses:
AbstractSelection, AbstractSelectionContext, DefaultFigureEditor, FigureSelectionContext, Layer, LayerType, ProductNode

public class ExtensibleObject extends Object implements Extensible
Base class for an object that can be dynamically extended.
Version:
$Revision$ $Date$
  • Constructor Details

    • ExtensibleObject

      public ExtensibleObject()
  • Method Details

    • getExtension

      public <E> E getExtension(Class<E> extensionType)
      Gets the extension for this object corresponding to a specified extension type.

      The default implementation is

          return ExtensionManager.getInstance().getExtension(this, extensionType);
       
      Specified by:
      getExtension in interface Extensible
      Parameters:
      extensionType - the extension type.
      Returns:
      the extension for this object corresponding to the specified type.
      See Also: