ProgressMonitorDialog issue ? [message #58276] |
Sat, 27 September 2003 07:28 |
Eclipse User |
|
|
|
Originally posted by: asp.infologic.fr
Hi,
Not sure if this is the right newsgroup to ask, but here it is ...
Could not find any reference in Bugzilla, maybe a kind soul around here cah
help.
I am working on a plugin with a long Action which is implemented as
following :
/////////////////////////////////
public class VerifIntegriteAction implements IObjectActionDelegate,
IRunnableWithProgress
{
[...]
public void run(IProgressMonitor monitor) throws InvocationTargetException,
InterruptedException
{
try
{
Object sel = targetPart.getSite().getSelectionProvider();
if (sel instanceof TreeViewer)
{
[...]
if (obj instanceof IContainer)
{
maxFiles = CustomFileManagerSingleton.countFiles((IContainer) obj);
monitor.beginTask("V
|
|
|
Powered by
FUDForum. Page generated in 0.04173 seconds