[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] How to set services into handler

Hi,

i've got a very simple question. I have a simple application where I defined some handler under the org.eclipse.ui.handler extension point.

I also created some handler-classes implementing the execute-method. There I want to call a simple service-method of service class outside of the application. At the moment I simply create an instance and call the service. But thats not what I need, because I want to configure the service into the handler class. Also remembering the IoC-Principle I want to set the service into that class.

How do I get the service into the handler or where do I configure the properties of the handler?

Whats the recommended way?

Thanks for your help