Modelers

org.topcased.modeler.utils
Class MonitorHelper

java.lang.Object
  extended by org.topcased.modeler.utils.MonitorHelper

public final class MonitorHelper
extends java.lang.Object

Helper class for IProgressMonitor.


Method Summary
static void checkCanceled(org.eclipse.core.runtime.IProgressMonitor monitor)
          Check if the monitor is canceled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkCanceled

public static void checkCanceled(org.eclipse.core.runtime.IProgressMonitor monitor)
                          throws java.lang.InterruptedException
Check if the monitor is canceled. If it is true, it throws a InterruptedException

Parameters:
monitor - the monitior to check
Throws:
java.lang.InterruptedException - thrown if the monitor is canceled

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.