English 中文(简体)
Packaging one or two plugins as a standalone RCP application?
原标题:

I have a handful of Eclipse plugins that I maintain. They are proving useful enough that non Eclipse users have asked for them without the overhead of a full eclipse install.

I am certain this is possible, but uncertain how to make this possible. My attempts at creating a standalone RCP app and then including my plugins as dependencies have given me mixed results. More specifically, my perspective tries to instantiate a view from a plugin and fails (silently)...

public void createInitialLayout(IPageLayout layout) {
layout.addStandaloneView( "myPlugin.ID",  false, IPageLayout.LEFT, 0.25f, editorArea);
}

... but as the same plugin implements a search extension, it does show up in the standard Eclipse search dialog.

Are there any resources that hardened Eclipse tars can point me to, that will help overcome this hurdle?

M.

问题回答

What i did is to make the plugin project to dependent on org.eclipse.ui.ide.application and a few other core eclipse plugins. And then I create a new product configuration, make org.eclipse.ui.workbench as the application. I can also define my own icons, splash to do some branding. Then i can export the product to be a stand alone application with my plugin in it.

One lead to follow is the notion of product build, based on Equinox/p2/Adding Self-Update to an RCP Application.

Install New Software menu





相关问题
Adding Help Contents, Search Help using Command Framework

My colleagues and I are building a new RCP application and trying to find our footing in RCP. My coworker managed to get the Eclipse Help framework working pretty quickly - but he used the old style ...

RIA platform like Netbeans RCP

Does anyone have any experience with a really good RIA platform. I m going to begin developing an application, and I intend to use Netbeans RCP for the thick client. I d also like to create a RIA ...

setFocus() always false

I m working on a Eclipse RCP Application. In a class which extends MultiPageEditorPart, I m trying to set the focus to a text field. But the setFocus Method always returns false. What am I doing ...

The bundle could not be resolved in RCP-RAP application

I have a RCP application which constitutes of a number of plugins. And now, I try to develop RAP application which uses my old plugins. My RAP has a dependency of one old plugin. I created my own ...

Manually trigger the CellEditor in a RCP TableViewer

I d like to comfort the user by automatically jump to the next cell in a tableviewer, when a previous editing is completed. The user needs to modify start- endtimes in a list of entries. I was ...

热门标签