Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Creating a command line/no GUI application(Trying to create an application that can be run with command line only.)
Creating a command line/no GUI application [message #1220094] Mon, 09 December 2013 16:09
Beun Goud is currently offline Beun GoudFriend
Messages: 3
Registered: December 2013
Junior Member

I'm currently working on an E4 application. It is running OK with a GUI. Now, I need some command line only usage.

For this, I'm trying to read the command line argument, and, based on this, launch or not the GUI. (In both case, I need event handler mechanism)

The problem is : If I don't put any Window in my application model, the GUI doesn't start (great Smile ), but that application stops as soon as the initialization is finished (not good Crying or Very Sad ).
I would like to keep the application alive until I explicitly tell it to close. And during that time, I need it to handle Injection and E4 EventBroker.

Is there any way to achieve that?

Thanks for your help
Previous Topic:Create extendable PopupMenu for an SWT Component via EMenuService
Next Topic:Support for Xulrunner 25
Goto Forum:

Current Time: Mon Apr 23 00:22:27 GMT 2018

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

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