Skip to main content


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 DaleckiFriend
Messages: 63
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 MerksFriend
Messages: 33107
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
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 DaleckiFriend
Messages: 63
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 SchindlFriend
Messages: 6651
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 WebsterFriend
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:JFace Templates
Next Topic:Creating additional Bar (like Status bar or Toolbar)
Goto Forum:
  


Current Time: Tue Mar 19 08:52:44 GMT 2024

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

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

Back to the top