Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] RCP e4 and EASE

Hi Christian,

I will do my best to provide my findings tp the wiki.


Regards

Mike

-----Ursprüngliche Nachricht-----
Von: ease-dev-bounces@xxxxxxxxxxx [mailto:ease-dev-bounces@xxxxxxxxxxx] Im Auftrag von Christian Pontesegger
Gesendet: Dienstag, 10. Oktober 2017 11:49
An: ease-dev@xxxxxxxxxxx
Betreff: Re: [ease-dev] RCP e4 and EASE

Hi Mike,

EASE views are written in eclipse 3.x style. So in a pure e4 application you would have to define them somehow in the application model I guess.

Basic plugins you need are:

* org.eclipse.ease
* o.e.ease.ui

Then add some language support (I guess python stuff in your case). Have a look at our target platform definition for external update site URIs:
http://git.eclipse.org/c/ease/org.eclipse.ease.core.git/tree/releng/org.eclipse.ease.releng.target/Oxygen.tpd

Having language support + the ease.ui plugin should provide run targets for *.py file.

Scripts for eg UI integration addtiionally need o.e.ease.ui.scripts. 
Then you need to register the script location in the Scripting preferences. To add toolbar/menu/popup elements we use 3.x semantics, I guess in an e4 application you would need to add the compatibility layer to have support for those things.

If you are able to contribute a toolbar by using extension points in a plugin.xml then EASE should also be able to add toolbars to your application.

Your findings regarding dependencies and integration would be very welcome for our wiki page!

Christian


On 10.10.2017 10:10, Gerdes, Mike wrote:
> Hi all,
>
> I am still working with py4j and EASE and it is a great experience. I was able to enhance Eclipse by multiple features that make working a bit easier. I had to do some try and error until I got the interaction between EASE, Eclipse and Python right (the biggest issue was getting the Java classes of the selected elements and perform operations on them).
>
> My next goal is to take a simple RCP application using this tutorial (http://o7planning.org/en/10181/eclipse-rcp-tutorial-for-beginners-workbench-application). I have added the dependencies to the EASE plugin and the application launches. But no EASE functionality is working. The problem I think is that the application is not finding my scripts.
>
> Has anybody tried to include EASe into a RCP e4 application and managed to configure it?
>
>
> Best regards
>
> Mike
> _______________________________________________
> ease-dev mailing list
> ease-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or 
> unsubscribe from this list, visit 
> https://dev.eclipse.org/mailman/listinfo/ease-dev

_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/ease-dev


Back to the top