简体   繁体   English

Eclipse插件开发问题

[英]Eclipse plugin development problem

In my eclipse plugin project, I use swt-awt bridge to make my swing JFrame in a multipage editor. 在我的eclipse插件项目中,我使用swt-awt桥在多页编辑器中创建Swing JFrame。 There are some buttons in this swing JFrame will create a pop up window (another JFrame). 这个秋千中有一些按钮,JFrame会创建一个弹出窗口(另一个JFrame)。 When I using debug mode like run as eclipse application, all things worked. 当我使用调试模式(如以Eclipse应用程序身份运行)时,所有工作正常。 But when I export the project to a plugin and deployed it, these buttons can not create that pupup window. 但是,当我将项目导出到插件并进行部署时,这些按钮无法创建该子窗口。

Anyone met this problem before? 有人遇到过这个问题吗? Thank you for help. 谢谢你的帮助。

Not sure if this helps but I had a lot of problems with SWT_AWT bridge. 不知道这是否有帮助,但是我在SWT_AWT桥上有很多问题。 Mine were mostly around flickering in my embedded swing parts. 我的大部分都是在我的嵌入式秋千中闪烁。

I started using the albireo project (http://www.eclipse.org/albireo/) which resolved all of my issues. 我开始使用albireo项目(http://www.eclipse.org/albireo/),该项目解决了所有问题。 Take a look, it may help. 看一看,可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM