FlexPLM客制化开发文档

时间:2020-03-20 02:35:51
【文件属性】:

文件名称:FlexPLM客制化开发文档

文件大小:802KB

文件格式:PDF

更新时间:2020-03-20 02:35:51

FlexPLM PTC Windchill

Developing_Client_Side_Plug-ins_in_FlexPLM_6.1.pdf About This Guide................................................................................................. iii Using Client Side Plug-ins ................................................................................... 1 What is a Client Side Plug-in? ............................................................................. 1 Introduction .................................................................................................................................... 1 Client Side Plug-in Types .............................................................................................................. 2 Overview ........................................................................................................................................ 3 Justification Guidelines .................................................................................................................. 5 Overview of MainTemplate CSP Architecture ............................................................................... 6 Overview of MainTemplate/Multi-Object Editor CSP Architecture................................................. 9 Creating a Plug-in ............................................................................................... 13 Create the CSP Plug-in....................................................................................... 13 Registering the Plug-in....................................................................................... 14 Acquiring the pagekey ................................................................................................................. 14 Registering the Client Side Plug-in with FlexPLM ................................................................. 16 Developing Client-Side Plug-ins........................................................................ 19 Client Side Plug-in Layout ................................................................................. 20 General Page Layout................................................................................................................... 20 Page Header................................................................................................................................ 20 ClientSidePluginHelper class................................................................................................. 20 handleOnLoadEvent and initPage header............................................................................. 26 handleSubmitEvent header.................................................................................................... 27 handleWidgetEvent header.................................................................................................... 29 Multi-Object Editor Headers................................................................................................... 31 JavaScript Function Generation............................................................................................. 33 Accessing FlexPLM Attribute Type Values .......................................... 40 Attribute Variable Type Widget Definition.................................................................................... 40 Attribute Variable Type Widget Access Examples ...................................................................... 43 Introduction............................................................................................................................. 43 Simple Attribute Variable Type Widget Code Examples........................................................ 44 Complex Attribute Variable Type Widget Code examples..................................................... 46 Multi-Object Tables Editor Page Structure and Use.................................................................... 51 Using Client Side Plug-ins ii HTML Table Elements............................................................................................................52 TableDataModel ..................................................................................................................... 55 Table Events........................................................................................................................... 58 DOM Table Editor Tools.........................................................................................................63 Development Tips................................................................................................65 Adding CSP Debug statements to Tomcat Console output.............................65 Avoiding Restart of Tomcat during Development of JSPs ..............................69


网友评论