在Eclipse RCP中嵌入Silverlight应用程序

时间:2023-01-12 14:26:01

Does anyone has a good resource on embedding a Silverlight application in an Eclipse RCP application? Scenario is as follows: We have a third party application that we want to integrate into an already developed Eclipse RCP Application, and we don't want to redo anything. Also, I can't just start this as a second app but must be embedded within the application that we already have.

有没有人有很好的资源在Eclipse RCP应用程序中嵌入Silverlight应用程序?场景如下:我们有一个第三方应用程序,我们想要集成到已经开发的Eclipse RCP应用程序中,我们不想重做任何东西。此外,我不能只将其作为第二个应用程序启动,但必须嵌入我们已有的应用程序中。

I know it is possible to embed using OLE objects, would this be the way to go?

我知道可以使用OLE对象嵌入,这是可行的方法吗?

1 个解决方案

#1


Just a thought: you may use an SWT Browser control and run the Silverlight app inside. Using the Browser is very simple. You do not need to be connected to the network: the HTML can be read from a local file or generated ad-hoc.

只是想一想:您可以使用SWT Browser控件并在其中运行Silverlight应用程序。使用浏览器非常简单。您无需连接到网络:HTML可以从本地文件读取或生成ad-hoc。

Check out the SWT snippets page for some useful examples.

查看SWT代码段页面以获取一些有用的示例。

Update: Another alternative is Project Blinki which embeds WebKit in SWT. It more controllable than the basic browser widget, however, currently not fully platform neutral.

更新:另一个替代方案是Project Blinki,它将WebKit嵌入SWT中。它比基本的浏览器小部件更可控,但是,目前还没有完全平台中立。

#1


Just a thought: you may use an SWT Browser control and run the Silverlight app inside. Using the Browser is very simple. You do not need to be connected to the network: the HTML can be read from a local file or generated ad-hoc.

只是想一想:您可以使用SWT Browser控件并在其中运行Silverlight应用程序。使用浏览器非常简单。您无需连接到网络:HTML可以从本地文件读取或生成ad-hoc。

Check out the SWT snippets page for some useful examples.

查看SWT代码段页面以获取一些有用的示例。

Update: Another alternative is Project Blinki which embeds WebKit in SWT. It more controllable than the basic browser widget, however, currently not fully platform neutral.

更新:另一个替代方案是Project Blinki,它将WebKit嵌入SWT中。它比基本的浏览器小部件更可控,但是,目前还没有完全平台中立。