The Extension Objects Pattern (0) [6 citations — 0 self]
Abstract:
Extension ConcreteExtension Client owner Participants . Subject (Component) defines the identity of an abstraction. It declares the interface to query whether an object has a particular extension. In the simplest case an interface is identified by a string. . Extension (ComponentExtension) the base class for all extensions. It defines some support for managing extensions themselves. Extension knows its owning subject. . ConcreteSubject (StandardTextComponent) implement the GetExtension operation to return a corresponding extension object when the client asks for it. . AbstractExtension (TextAccessor) declares the interface for a specific extension. . ConcreteExtension (StandardTextAccessor) implement the extension interface for a particular component. Store the state associated with a specific extension. Collaborations . A client asks a Subject for a specific extension. . When the extension exists the Subject returns a corresponding extension object. The client subsequently uses th...
Citations
| 2 | Designing Objects for Extensions – Gamma, Helm - 1995 |

