Lotus Notes - Java UI - Eclipse插件 [英] Lotus Notes - Java UI - Eclipse plugin

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

问题描述

侧边栏插件可以使用actionlistener(或其他)来确定按下保存和发送邀请的按钮(例如在新的日历条目中)吗?



如果是,是否还可以拦截该操作并执行后端或ui修改,然后再允许按钮操作?



Thx

解决方案

在Notes表单上单击操作时运行的代码不是Eclipse Java代码,不支持Java侦听器。要做这样的事情,你必须修改表单的设计(或共享的动作,如果该动作被共享)。



另请注意,那里是保存或发送文档的其他方式,而不是按动作按钮。例如,您可以使用Ctrl + S保存,或者按Esc键提示是否保存和/或发送。要拦截发送或保存尝试的每一个场合,您必须使用表单(或子表单(如果有的话))的查询和/或Querysend事件。根据您正在处理的应用程序的设计,可能会有一个子表单专门用于允许自定义,而无需编辑主窗体。


Can a sidebar plugin use an actionlistener (or something else) to determine when the actionbar button 'save and send invitations' is pressed (within a new calendar entry for example)?

If so, can it also intercept the action and perform backend or ui modifications before allowing the button action to proceed?

Looking for any ideas on how to skin this cat (no actual cats will be harmed during coding).

Thx

解决方案

The code that runs when clicking actions on a Notes form, is not Eclipse Java code and doesn't support Java listeners. To do this sort of thing, you would have to modify the design of the form (or the shared action, if the action is shared).

Please also note that there are other ways to save or send a document, other than by pressing an action button. For instance, you can use Ctrl+S to save, or press Esc to be prompted whether to save and/or send. To intercept every occasion of a send or save attempt, you have to use the Querysave and/or Querysend events of the form (or of a subform, if there are any). Depending on the design of the application you're working on, there may be a subform specifically intended to allow customizations without editing the main form.

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

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