Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Re: [e4] How to get ready ?
Re: [e4] How to get ready ? [message #535143] Fri, 21 May 2010 12:28
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

I'll just add on what Tom said. In 3.x you can use
org.eclipse.ui.services to create your own service factory, and then
consume them in your view using:

getSite().getService(YourService.class) ... even if you abstract this
part away it will make it easier to consume services in a similar
fashion from e4.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:e4 deltas.xml
Next Topic:Re: [e4] How to get ready ?
Goto Forum:
  


Current Time: Tue Sep 30 19:56:31 GMT 2014

Powered by FUDForum. Page generated in 0.01481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software