Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » +1 for "Eclipse DI Feature" in "OSGi Application Projekt"
+1 for "Eclipse DI Feature" in "OSGi Application Projekt" [message #1419209] Mon, 08 September 2014 08:55 Go to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Hey e(fx)clipse team

I love the "Eclipse DI" feature when creating a new JavaFX-OSGi-Application! I'm writing lots of small tools (one window - one purpose - short lifecycle) for our costumers and it's realy helpful to get started quickly and to have DI at the ready!

Smile
Christoph
Re: +1 for "Eclipse DI Feature" in "OSGi Application Projekt" [message #1419343 is a reply to message #1419209] Mon, 08 September 2014 13:09 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Nice you like it ;-)

It might be of interest that those project setups are not hard coded but
generated from a DSL.

e.g. the one for osgi-apps looks like this:

http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/bundles/tooling/org.eclipse.fx.ide.pde.ui/generator-tasks/osgi-app.rtask

So one can easily create ones own ones ;-)

Tom

On 08.09.14 10:55, Christoph Keimel wrote:
> Hey e(fx)clipse team
>
> I love the "Eclipse DI" feature when creating a new
> JavaFX-OSGi-Application! I'm writing lots of small tools (one window -
> one purpose - short lifecycle) for our costumers and it's realy helpful
> to get started quickly and to have DI at the ready!
>
> Smile
> Christoph
Re: +1 for "Eclipse DI Feature" in "OSGi Application Projekt" [message #1419865 is a reply to message #1419343] Tue, 09 September 2014 07:34 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Nice! Is it possible to hook custom *.rtask files?

Thomas Schindl wrote on Mon, 08 September 2014 15:09
Nice you like it Wink

It might be of interest that those project setups are not hard coded but
generated from a DSL.

e.g. the one for osgi-apps looks like this:

http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/bundles/tooling/org.eclipse.fx.ide.pde.ui/generator-tasks/osgi-app.rtask

So one can easily create ones own ones Wink

Tom

Re: +1 for "Eclipse DI Feature" in "OSGi Application Projekt& [message #1419876 is a reply to message #1419865] Tue, 09 September 2014 07:51 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You mean write your own plugin and contribute them?

Running an rtask is done through an OSGi-Service. E.g. see
http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/wizard/app/NewBundleApplicationWizard.java

In case you are ONLY depending on stuff in side the running Eclipse
instance (you are not writing your own template classes) you don't have
to install the task-bundle but you can run it directly from within your
project by bringing up the context-menu on the rtask-File which has a
menu-entry "Execute Task".

What's missing is a primitive UI that allows you to enter the parameters
defined in an rask-File so if you execute the task without having
implemented your own wizard you'll work with the default values
specified for the variables.

Having such a primitive UI who present the arguments and allows to
modify the defaults would certainly make a nice small project so filed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=443564 but we currently
don't have the resources to implement this feature.

Tom

On 09.09.14 09:34, Christoph Keimel wrote:
> Nice! Is it possible to hook custom *.rtask files?
>
> Thomas Schindl wrote on Mon, 08 September 2014 15:09
>> Nice you like it ;)
>>
>> It might be of interest that those project setups are not hard coded but
>> generated from a DSL.
>>
>> e.g. the one for osgi-apps looks like this:
>>
>> http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/bundles/tooling/org.eclipse.fx.ide.pde.ui/generator-tasks/osgi-app.rtask
>>
>>
>> So one can easily create ones own ones ;)
>>
>> Tom
>
>
Re: +1 for "Eclipse DI Feature" in "OSGi Application Projekt& [message #1419931 is a reply to message #1419876] Tue, 09 September 2014 09:04 Go to previous message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
Yeah! Thanks for the Infos. I'm looking forward to playing with it, when I get around to it Smile
Previous Topic:Missing JavaFX/OSGi subfolder in new project wizard
Next Topic:e4 fx application simply does not start anymore
Goto Forum:
  


Current Time: Thu Apr 25 13:59:43 GMT 2024

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

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

Back to the top