com.ptc.core.ca.co.client.frame
Class CoHeaderResourceModelHandler

java.lang.Object
  extended by com.ptc.core.ca.co.client.element.CoElementHandler
      extended by com.ptc.core.ca.co.client.frame.CoHeaderResourceModelHandler
All Implemented Interfaces:
CoModelHandler

Deprecated.

@Deprecated
public class CoHeaderResourceModelHandler
extends CoElementHandler
implements CoModelHandler

This class can be used to specify model handler for Link and Script configuration elements. DCA creates the instance of CoLabel element when it encounters one of those configuration elements. The purpose of the handler is to properly initilize the model.

Example

          <Script id="script.1" resource="wtcore/js/com/ptc/core/ca/web/misc/content.js">
             <ModelHandler class="com.ptc.core.ca.co.client.frame.CoHeaderResourceModelHandler"/>
             <Insert ref="common:renderer.script"/>
          </Script>
 


Supported API: true

Extendable: false


Method Summary
 void updateModel(CoElement element, CoEnvData envData)
          Deprecated. Creates and updates the model of the element.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateModel

public void updateModel(CoElement element,
                        CoEnvData envData)
                 throws WTException
Deprecated. 
Creates and updates the model of the element.

Supported API: true

Specified by:
updateModel in interface CoModelHandler
Parameters:
element -
envData -
Throws:
WTException