<@doc> An abstract provider for working with a htc (c) SAP AG 2003-2006. All rights reserved. Prototype PHtcProvider; // public properties // private properties <@doc>An array of .htc components that listen to this provider readonly property componentListeners = []; <@doc> Add an .htc element as a listener to this provider This allows one provider to service multiple .htc components (not currently in use) The .htc component to add as a listener method addListener(htcListener) this.componentListeners.push(htcListener); this.initialize(htcListener); // Give the provider implementing this class an opportunity to set configuration params htcListener.provider = this; end <@doc> Remove an .htc element as a listener to this provider The .htc component to remove as a listener method removeListener(htcListener) this.componentListeners.pop(htcListener); htcListener.provider = null; end <@doc> The implementing provider can override this to set configuration params of the htcListener The .htc component to configure method initialize(htcListener) end