how to refresh programmatically after exec()? [message #160639] |
Sat, 22 November 2003 18:24  |
Eclipse User |
|
|
|
Originally posted by: progers.classwide.com
I have an action that invokes an external tool on a set of files in a
selection; this tool potentially modifies the files. I use exec() to
invoke this external tool. Once this tool finishes I want to
automatically refresh the workspace, just like the External Tool
wizard allows one to do. I cannot simply call localRefresh() after
the exec() call because exec returns immediately, so my refresh call
would occur before the external tool finishes.
Where do I make this call? Do I need a listener to do it? If so,
how?
Thanks very much.
PS: I don't use the External Tool wizard for this because I need to
pass multiple resources (files) to the external tool. Too, I want to
have my own button and menu pull-down for it, but in any case I didn't
see a way with the wizard to pass more than one resource. Did I miss
something?
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04590 seconds