Package com.bc.ceres.core
Class ExtensibleObject
java.lang.Object
com.bc.ceres.core.ExtensibleObject
- All Implemented Interfaces:
Extensible
- Direct Known Subclasses:
AbstractSelection
,AbstractSelectionContext
,DefaultFigureEditor
,FigureSelectionContext
,Layer
,LayerType
,ProductNode
Base class for an object that can be dynamically extended.
- Version:
- $Revision$ $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> E
getExtension
(Class<E> extensionType) Gets the extension for this object corresponding to a specified extension type.
-
Constructor Details
-
ExtensibleObject
public ExtensibleObject()
-
-
Method Details
-
getExtension
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 interfaceExtensible
- Parameters:
extensionType
- the extension type.- Returns:
- the extension for this object corresponding to the specified type.
- See Also:
-