Community
Participate
Working Groups
Developers should be able to select and right-click on a .egl file (for a program) in the Project Explorer and select Run as > EGL Program or Debug As > EGL Program. In situations where the program part is being generated into multiple places, we should prompt the user as to which one to run/debug. But, since in most cases the program is being generated to just one place, this program should be run without any prompting.
*** Bug 356084 has been marked as a duplicate of this bug. ***
A shortcut has been added for finding and launching generated main program classes. API has also been added to the IDE version of IGenerator, in support of this: public IFile[] getOutputFiles(IFile eglFile, Part part) throws CoreException;
Justin - just to confirm: you added actions under both Run As and Debug As ? (so, the developer can run or debug the program from the .egl file). The action under Run may seem unnecessary, but Run will be the first place new developers look when wanting to run the program.
Yes, it shows up under Run As and Debug As.
Also, for RUI the shortcut is "Debug As > EGL Rich UI Application", so for Java I had it also start with "EGL": Debug As > EGL Java Main Application Wording can be changed for either if people aren't happy with those strings.
Works great.