Home » Eclipse Projects » Rich Client Platform (RCP) » reuse Java perspective in an RCP application
| | | |
Re: reuse Java perspective in an RCP application [message #534317 is a reply to message #534245] |
Tue, 18 May 2010 15:53 |
|
On 05/18/2010 02:56 PM, Paul Webster wrote:
> Lorenzo Bettini wrote:
>>
>> this however does not show the standard File menu, edit menu, etc...
>
> That's all created by the action bar advisor for your app, in the IDE
> case that's org.eclipse.ui.internal.ide.WorkbenchActionBuilder
>
> PW
>
Thanks Paul
so back to my original post: there's no easy way to recreate what I see
when I run eclipe with the Java perspective in my RCP application, but
to copy some code from an internal class, right?
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
| |
Re: reuse Java perspective in an RCP application [message #534550 is a reply to message #534530] |
Wed, 19 May 2010 13:56 |
|
On 05/19/2010 02:45 PM, Paul Webster wrote:
> Lorenzo Bettini wrote:
>> so back to my original post: there's no easy way to recreate what I
>> see when I run eclipe with the Java perspective in my RCP application,
>> but to copy some code from an internal class, right?
>>
>
> You have to basically provide everything in your RCP app that would
> support the Java perspective. That means most of the setup for the IDE
> workbench as well.
>
> It's either that, or run the org.eclipse.ui.ide.workbench application.
> Basically, run JDT and add your plugins to that, instead of trying to
> add parts of JDT to your RCP app.
>
> PW
>
OK, so if I understand correcly, I must create a product configuration
which refers to my product, and uses org.eclipse.ui.ide.workbench as the
application, in fact in my plugin.xml I now have:
<extension
id="product1"
point="org.eclipse.core.runtime.products">
<product
application="org.eclipse.ui.ide.workbench"
name="SWRTJ IDE">
</product>
</extension>
I added the required plugins in the product configuration, and I can run
this product from eclipse. However, if I export it with the product
wizard, the plugins and configuration directories are created but no
executable is created...
I've been struggling with these issues (try to create a product that
runs as the application the ide workbench instead of my own application)
for days and I can't seem to solve it...
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
| |
Goto Forum:
Current Time: Fri Mar 29 13:24:39 GMT 2024
Powered by FUDForum. Page generated in 0.04823 seconds
|