...
The decorators were discussed thouroughly, and we came up with some extensions to the standard.
See list of questions discussed on the following page: Exchange item decorators.
Current changes to the standard:
Code Block | ||||
---|---|---|---|---|
| ||||
// add a new interface:
public interface IExchangeItemDecoratorFactory
{
IIdentifiable[] GetAvailableOutputDecorators(IOutputItem decoratedItem, IInputItem targetItem);
IOutputItemDecorator CreateOutputItemDecorator(IIdentifiable decoratorId, IOutputItem decoratedItem, IInputItem targetItem);
IDescribable GetDecoratorDescription(IIdentifiable id);
}
// add the following methods to the ILinkableComponent:
public interface ILinkableComponent
{
...
IExchangeItemDecoratorFactory GetDecoratorFactory();
void AddOutputItemDecorator(IOutputItemDecorator decorator);
void RemoveOutputItemDecorator(IOutputItemDecorator decorator);
}
|
Wiki Markup Gena: I'm still missing something like _IList<IOutputItemDecorator> OutputItemDecorators { get; }_ within ILinkableComponent. Mainly because there is no way to check what decorators are used after AddOutputItemDecorator() is called.
5. OATC Procedures
We will keep track of a wish list for version 3.0.
...