简体   繁体   English

是否可以在Android Studio或IntelliJ上使用SWT?

[英]Is it possible to use SWT on Android-Studio or IntelliJ?

I've used Android-Studio for a long time, and I got used to it over Eclipse. 我已经使用Android-Studio很久了,而在Eclipse上我已经习惯了。

I wish to create an SWT app for PCs (windows, Linux, macOs) , and use a nice UI mechanism like Window-Builder that used to exist for Eclipse. 我希望为PC(Windows,Linux,macOs)创建一个SWT应用程序,并使用像Window-Builder这样的漂亮的UI机制,该机制以前在Eclipse中存在。

Is it a possible thing to do on Android-Studio or IntelliJ ? 是否可以在Android Studio或IntelliJ上做?

If so, how? 如果是这样,怎么办?

There is no visual UI editor like WindowBuilder to create SWT UIs in IntelliJ. 没有像WindowBuilder这样的可视UI编辑器可以在IntelliJ中创建SWT UI。

But you certainly can create SWT applications with IntelliJ or any other non-Eclipse IDE for that matter. 但是您当然可以使用IntelliJ或任何其他非Eclipse IDE创建SWT应用程序。 In my opinion, UI designer are overrated and UIs can be equally well implemented by hand . 在我看来,UI设计器被高估了,并且UI可以手工实现。 Thus if you are willing implement the UI in code you simply need to get a copy of the SWT library and you are set. 因此,如果您愿意用代码实现UI,则只需要获取SWT库的副本就可以了。

If you follow the redirects from this question it will guide you to maven artifacts of SWT: maven project: SWT 3.5 dependency: any official public repo? 如果您遵循此问题的重定向,它将引导您进入SWT的Maven工件: maven项目:SWT 3.5依赖项:有任何官方的公共仓库吗?

Note that SWT comes with a native part that might make extra settings necessary to launch your application. 请注意,SWT带有一个本机部分,可能需要进行一些额外的设置才能启动您的应用程序。

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

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