[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: this is for Steve Blass

Piyush Agarwal wrote:
hi Steve,

I got the plugin-working, which you had provided me with. But when I call the function writetomyconsole within a code or from a GUI. It says unhandled event loop exception. Please let me know what is going on wrong. Urgent help needed.

Regards
Piyush


I dunno. Use Debug instead of Run after setting a breakpoint by double-clicking in the blue margin to the left of the code line where you want to be able to start stepping through the code. I've been off a week and am just getting back to my own work. I looked through the posts you sent and the only thing that stands out is one of the error logs seemed to show pieces of eclipse ranging from versions 3.1 to 3.3. I'm using 3.4, maybe that's it. I'm using the sample console I posted in an EMF editor wizard and it works there... Looking at your post from 6/26 again I do notice that your call to writetomyconsole is in a different place in the wizard than what works for me. Try moving that calle to just after the finally clause in your ModifyWorkspaceOperation class-


    finally
            {
                monitor.done();
                project.refreshLocal(IResource.DEPTH_INFINITE, null);

            }
>>>>>>>>>>  i put the call right here in my wizard and it works <<<<<<<<

-
Steve