PowerBuilder插件架构 [英] PowerBuilder Plug-in Architecture

查看:165
本文介绍了PowerBuilder插件架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从10版开始,PowerBuilder似乎已经对插件提供了一些支持。但是,我找不到任何文档或教程。我唯一可以管理的提示是检查现有DLL中的COM对象。并没有太大帮助,但是我是COM开发的新手。

PowerBuilder seems to have some support for plug-ins since version 10. However, I can't find any documentation nor tutorials about this. The only hints I can manage are by examining the COM objects inside the existing DLLs. It doesn't help much, but I'm a novice at COM development.

一个非常粗略的例子,说明如何做某事太棒了

A very cursory example of how to do something would be awesome.

编辑
需要澄清的是,这与我有关SCC集成的其他问题有关。我正在寻找一种在窗口上的数据窗口控件上更直接地执行签出...的方法。当前过程是这样的:

EDIT To clarify, this is related to my other question about SCC integration. I'm looking for a way to do a "Check Out..." on a datawindow control on a window more directly. The current procedure is this:


  • 右键单击数据窗口

  • 单击修改数据窗口

  • 在窗口标题中查看PBL

  • 关闭数据窗口画笔

  • 打开库画笔/系统树

  • 滚动到(并展开)正确的PBL

  • 右键单击数据窗口

  • 单击签出...。

  • 打开数据窗口

  • Right-click on datawindow
  • Click on "Modify Datawindow"
  • Look at the PBL in the window title
  • Close the datawindow painter
  • Open the library painter / system tree
  • Scroll to (and expand) the correct PBL
  • Right-click on the datawindow
  • Click "Check Out..."
  • Open datawindow

这似乎... -最佳。也许是使用PB12的另一个原因(尽管新的IDE存在其他问题)。

This seems... sub-optimal. Maybe it'll be another reason to push for PB12 (despite other issues with the new IDE).

推荐答案

同意。但是,Sybase从未发布有关该API的任何文档。

Agreed. However, Sybase never released any documentation on the API.

该插件体系结构最初是为支持PowerDesiger作为插件而开发的。鉴于

The plug-in architecture was originally developer to support PowerDesiger as a plug-in. Given that

1),最新版本(12)将提供两种版本,其中一种基于独立的Visual Studio Shell,该外壳不支持该插件API和

1) the latest version (12) will come in two flavors, one of them based on the isolated Visual Studio shell which wouldn't support the plug-in API and

2),有人谈论由于对PowerDesigner插件缺乏兴趣而放弃使用该插件。

2) that there was talk about doing away with the PowerDesigner plug-in because of a lack of interest in it

我不会花很多时间试图弄清楚如何通过它实现某些事情。

I wouldn't spend a whole lot of time trying to figure out how to implement something through it.

这篇关于PowerBuilder插件架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆