Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Using DebugCommandAction to do UI stuff

Hi Marc,
I assume that the doExecute() is of AbstractDebugCommand.  If so, you could use Display.syncExec() or a UIJob() to perform your UI work from within the doExecute().  Or you could copy AbstractDebugCommand() and use a UIJob instead of a regular Job.

Cheers,
Pawel

Marc Khouzam wrote:
Hi,
 
I'm trying to use the new DebugCommandAction API.  Up to now, I've had commands that did not do any UI stuff and things were good.  But I am now trying to implement a command that pops-up a dialog and I'm not sure how to handle this.  When I'm in my doExecute() method, which is called by a Job I believe, how do I do UI stuff?
 
Any example of this?
 
Thanks a bunch
 
Marc
 
 

_______________________________________________ platform-debug-dev mailing list platform-debug-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/platform-debug-dev


Back to the top