sharing intro content in RCP and feature-for-SDK modes [message #470844] |
Tue, 06 November 2007 12:24  |
Eclipse User |
|
|
|
I'm writing a set of plugins that can be run either as an RCP (one of
our plugins defines product & application) or as add-on to an existing
eclipse installation (e.g. the SDK).
I bound the universal intro to my product in the plugin.xml that defines it:
<extension
point="org.eclipse.ui.intro">
<introProductBinding
introId="org.eclipse.ui.intro.universal"
productId="com.xyz.my.product"/>
</extension>
I'd then want to package intro pages into a UA plugin, separate from my
rcp plugin and have those intro pages linked from the intro root
BOTH when running as myRCP (with the product-specific intro) AND when
running in an SDK.
what do I need to do ?
|
|
|
Re: sharing intro content in RCP and feature-for-SDK modes [message #470845 is a reply to message #470844] |
Tue, 06 November 2007 19:43  |
Eclipse User |
|
|
|
If you are using universal intro, and it looks like you are that should
all work. You need to make sure that your RCP application uses Universal
Intro.
The first step would be to make sure your universal Intro Contribution
shows up when you run on the Eclipse SDK. The next step is to get your
RCp app to use universal intro - I'm not sure if there is a document
anywhere which describes how to add universal intro to an RCP so you
would need to look at How the Eclipse SDK does it, the extensions are in
org.eclipse.ui.platform/plugin.xml.
Chris Goldthorpe
Edoardo Comar wrote:
> I'm writing a set of plugins that can be run either as an RCP (one of
> our plugins defines product & application) or as add-on to an existing
> eclipse installation (e.g. the SDK).
>
> I bound the universal intro to my product in the plugin.xml that defines
> it:
> <extension
> point="org.eclipse.ui.intro">
> <introProductBinding
> introId="org.eclipse.ui.intro.universal"
> productId="com.xyz.my.product"/>
> </extension>
>
>
> I'd then want to package intro pages into a UA plugin, separate from my
> rcp plugin and have those intro pages linked from the intro root
> BOTH when running as myRCP (with the product-specific intro) AND when
> running in an SDK.
>
> what do I need to do ?
|
|
|
Re: sharing intro content in RCP and feature-for-SDK modes [message #593587 is a reply to message #470844] |
Tue, 06 November 2007 19:43  |
Eclipse User |
|
|
|
If you are using universal intro, and it looks like you are that should
all work. You need to make sure that your RCP application uses Universal
Intro.
The first step would be to make sure your universal Intro Contribution
shows up when you run on the Eclipse SDK. The next step is to get your
RCp app to use universal intro - I'm not sure if there is a document
anywhere which describes how to add universal intro to an RCP so you
would need to look at How the Eclipse SDK does it, the extensions are in
org.eclipse.ui.platform/plugin.xml.
Chris Goldthorpe
Edoardo Comar wrote:
> I'm writing a set of plugins that can be run either as an RCP (one of
> our plugins defines product & application) or as add-on to an existing
> eclipse installation (e.g. the SDK).
>
> I bound the universal intro to my product in the plugin.xml that defines
> it:
> <extension
> point="org.eclipse.ui.intro">
> <introProductBinding
> introId="org.eclipse.ui.intro.universal"
> productId="com.xyz.my.product"/>
> </extension>
>
>
> I'd then want to package intro pages into a UA plugin, separate from my
> rcp plugin and have those intro pages linked from the intro root
> BOTH when running as myRCP (with the product-specific intro) AND when
> running in an SDK.
>
> what do I need to do ?
|
|
|
Powered by
FUDForum. Page generated in 0.04727 seconds