简体   繁体   English

为Eclipse项目添加SWT性质

[英]Adding SWT nature to eclipse project

I have exported a SWT project from eclipse under Linux and tried to import it under Windows. 我已经在Linux下从eclipse中导出了一个SWT项目,并试图在Windows下导入它。 So far everything works fine except that I seem to have lost the "SWT nature" of the project. 到目前为止,一切工作正常,但我似乎已经失去了该项目的“ SWT性质”。 Running the project with the SWT gui works fine but when I try to edit the GUI source, I don't have the Source/Design/Bindings tabs below my source window and cannot do any graphical editing. 使用SWT gui运行项目可以正常工作,但是当我尝试编辑GUI源代码时,我的源代码窗口下方没有Source / Design / Bindings选项卡,并且无法进行任何图形编辑。 Does anyone know how to fix this? 有谁知道如何解决这一问题?

I guess you are using WindowBuilder. 我猜您正在使用WindowBuilder。 If this is the case, use the following: 在这种情况下,请使用以下命令:

Right click class file → Open With → WindowBuilder Editor 右键单击类文件→打开方式→WindowBuilder编辑器

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

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