Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » An example of Eclipse ui service contribution
An example of Eclipse ui service contribution [message #836931] Thu, 05 April 2012 03:59 Go to next message
Janusz Dalecki is currently offline Janusz Dalecki
Messages: 55
Registered: January 2010
Location: Sydney
Member
Hi,
I was wondering if ther is any example of Eclipse ui service contribution - derivative of org.eclipse.ui.services.AbstractServiceFactory.
Re: An example of Eclipse ui service contribution [message #836961 is a reply to message #836931] Thu, 05 April 2012 05:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26137
Registered: July 2009
Senior Member
Janusz,

Have you looked at the type hierarchy for that to find examples within
the Eclipse UI code itself? A bit of Googling for "eclipse example
AbstractServiceFactory" turned up this:

http://swik.net/Eclipse/Planet+Eclipse/Tom+Schindl%3A+e4+%E2%80%93+Use+e4-DI+in+3.x/d6no5


On 05/04/2012 5:59 AM, Janusz Dalecki wrote:
> Hi,
> I was wondering if ther is any example of Eclipse ui service
> contribution - derivative of
> org.eclipse.ui.services.AbstractServiceFactory.
Re: An example of Eclipse ui service contribution [message #837092 is a reply to message #836961] Thu, 05 April 2012 09:06 Go to previous messageGo to next message
Janusz Dalecki is currently offline Janusz Dalecki
Messages: 55
Registered: January 2010
Location: Sydney
Member
This only for e4 - is there anything for 3.X?
Re: An example of Eclipse ui service contribution [message #840525 is a reply to message #837092] Tue, 10 April 2012 07:37 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5414
Registered: July 2009
Senior Member
That's wrong it brings e4 DI to 3.x and for this purpose it uses a
AbstractServiceFactory so this code shows how to implement such a
service factory (all you need to do is to register it using the plugin.xml).

Tom

Am 05.04.12 11:06, schrieb Janusz Dalecki:
> This only for e4 - is there anything for 3.X?
Re: An example of Eclipse ui service contribution [message #856105 is a reply to message #840525] Wed, 25 April 2012 11:25 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.ui.examples.contributions

That example bundle uses commands and implements services.

PW


Previous Topic:Eclipse software update: NPE popup on saving edited source
Next Topic:ComboViewer with a value not on the list
Goto Forum:
  


Current Time: Thu Oct 23 09:01:16 GMT 2014

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

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