忧郁者 发表于 2015-10-5 13:13:15

为 IBM Lotus Notes V8 构建复合应用程序(九)

课程 8:在复合应用程序中添加 Eclipse 组件  在复合应用程序中添加 Eclipse 组件
  按照以下步骤在组件面板中添加 Eclipse 组件:
  在 Lotus Notes V8 中,打开前面创建的基于 NSF 的复合应用程序 Customer Interests。
  选择 Actions - Edit Application 打开 Composite Application Editor。
  如果需要,展开 Composite Application Editor 的组件面板。
  在组件面板中右键单击,然后选择 Add Components - "Add Components from Update Site"。
  在出现的对话框中,选择 Remote Update Site 并在 URL 字段中输入 nrpc://localhost/8025731000495E97/site.xml,见图 37。
  图 37. 输入 URL 之后的 Update Site Details 对话框
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://www6.software.ibm.com/developerworks/cn/education/lotus/notes8-comp-apps/Figure42.gif
  这是 TC_US_8.NSF 的副本 ID,它基于 Domino V8 更新站点模板。
  提示:还可以在 Lotus Notes V8 客户机中打开 TC_US_8.NSF,然后选择 Actions - Show URL。单击 “Copy in the resulting dialog box” 按钮将 URL 复制到剪贴板。可以将这个 URL 粘贴到 Update Site Details 对话框中。
  单击 OK。“Select Components from an Update Site” 对话框出现,见图 38。
  图 38. “Select Components from an Update Site” 对话框
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://www6.software.ibm.com/developerworks/cn/education/lotus/notes8-comp-apps/Figure43.gif
  选择 Tag Cloud 组件,然后单击 OK。如图 39 所示,组件面板中列出了 Tag Cloud 组件。
  图 39. 组件面板包含刚添加的 Tag Cloud 组件
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://www6.software.ibm.com/developerworks/cn/education/lotus/notes8-comp-apps/Figure44.gif
  在组件面板中选择 Tag Cloud 组件,将它拖到复合应用程序的右上方。插件安装对话框出现,见图 40。
  图 40. 插件安装对话框
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://www6.software.ibm.com/developerworks/cn/education/lotus/notes8-comp-apps/Figure45.gif
  选择 “Install this plug-in” 选项,然后单击 OK。一个进度对话框显示安装这个插件的进度。当安装完成时,Restart 对话框出现。
  在提示重新启动时,单击 Yes。
  在重新启动 Lotus Notes V8 客户机之后,打开 Customer Interests 复合应用程序。这个复合应用程序包含在 Eclipse IDE 中开发的基于 Eclipse 的 Tag Cloud 组件,见图 41。
  图 41. Lotus Notes V8 中的复合应用程序现在包含刚添加的 Tag Cloud 组件
http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://www6.software.ibm.com/developerworks/cn/education/lotus/notes8-comp-apps/Figure48.gif
  在这个课程中,我们通过 Lotus Notes V8 客户机的 Composite Application Editor 特性,在基于 NSF 的复合应用程序中添加了一个基于 Eclipse 的组件。
页: [1]
查看完整版本: 为 IBM Lotus Notes V8 构建复合应用程序(九)