简体   繁体   English

是否可以导出品牌的Swing Eclipse OSGi应用程序

[英]Is it possible to export a branded an Swing Eclipse OSGi Application

I have some bundles, that are independent of SWT and eclipse framework. 我有一些捆绑包,它们独立于SWT和Eclipse框架。

I would like to use the Eclipse RCP just to export the equinox framework. 我想仅使用Eclipse RCP来导出春分框架。 Starting equinox, I would like to show the splash screen (just if it is easy and possible) and after, the equinox start my main bundle. 开始春分时,我想显示启动画面(只是很简单且可行),然后,春分时启动我的主程序包。

Is it possible and easy? 有可能而且容易吗? I can't found documentation. 我找不到文档。

I've followed the equinox documentation to autoload the bundles but it doesn't worked. 我已经遵循了Equinox文档来自动加载捆绑软件,但是没有用。

http://www.eclipse.org/equinox/documents/quickstart-framework.php http://www.eclipse.org/equinox/documents/quickstart-framework.php

Eclipse RCP is independent of SWT. Eclipse RCP独立于SWT。 If you want to use RCP for this, then in the start method of your IApplication, simply perform whatever tasks you want, which could include launching swing. 如果要为此使用RCP,则在IApplication的start方法中,只需执行所需的任何任务,其中可能包括启动swing。

Also note that Equinox is independent of RCP. 另请注意,Equinox独立于RCP。 You could also choose to bring up the Equinox OSGi environment entirely without resorting to RCP if you so desire. 如果您愿意,您也可以选择完全打开Equinox OSGi环境,而无需诉诸RCP。

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

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