Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [science-iwg] e3 or e4

Alan,

 

Thanks, that is good to know ;)

 

Matt

 

From: science-iwg-bounces@xxxxxxxxxxx [mailto:science-iwg-bounces@xxxxxxxxxxx] On Behalf Of BERNARD, Alain
Sent: 07 September 2016 08:03
To: Science Industry Working Group
Subject: Re: [science-iwg] e3 or e4

 

Hi,

 

Just to add a point : even if you build your plugins on e4 mechanisms like the EventBroker, a client using 3.x APIs can still use your plugins and listen to the events, by getting the EclipseContext in the old-fashion way.

 

I did some tests when we planned to migrate some parts of our app to e4 and not the full app, a created a view (3.X ViewPart) that listens to the e4 event system:

 

IEclipseContext context = (IEclipseContext) getSite().getService(IEclipseContext.class);

eBroker = (IEventBroker) context.get(IEventBroker.class.getName());

fullHandler = new EventHandler() {

       @Override

       public void handleEvent(Event event) {

             text.setText(event.getTopic() + ": " + event.getProperty("foo"));

       }

};

eBroker.subscribe(FirstE4View.MY_EVENT_FULL, fullHandler);

 

The client should obviously at least run a target platform >= Kepler I think.

By the way, I agree with Jonah, I think there is no plan migrating all the workbench stuff to e4. Maybe Properties pages or some dialogs, but at least not the tabbed properties view, outlines, text editors, etc.

 

Unless we all take a sabbatical year to write code for the Eclipse Fdn.for free :-)

 

Hope that helps,

Alain

 

De : science-iwg-bounces@xxxxxxxxxxx [mailto:science-iwg-bounces@xxxxxxxxxxx] De la part de Jay Jay Billings
Envoyé : mardi 6 septembre 2016 20:39
À : Science Industry Working Group
Objet : Re: [science-iwg] e3 or e4

 

Did you miss the part where Phil said he was going to rewrite all that code? ;-)

Jay

 

On Tue, Sep 6, 2016 at 2:24 PM, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:

On 6 September 2016 at 17:08, Philip Wenig <philip.wenig@xxxxxxxxxxxxx> wrote:
> The benefit is, that you can easily switch to a pure e4 application as soon
> as the Preference UI, Console View, ... are ported natively to e4.
I don't think that is ever going to happen!

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com

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




--

Jay Jay Billings

Oak Ridge National Laboratory

Twitter Handle: @jayjaybillings

 
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
 
 
 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Back to the top