ProgressMonitorDialog issue ? [message #595407] |
Sat, 27 September 2003 11:28 |
Adrian Spinei Messages: 3 Registered: July 2009 |
Junior Member |
|
|
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.01958 seconds