public class EclipseMonitor extends Monitor
| Modifier and Type | Class and Description |
|---|---|
static class |
EclipseMonitor.SynchronizedSubProgressMonitor
A sub progress monitor that synchronizes all methods on the parent monitor instance.
|
AbstractMonitor.AsyncTimerTaskOMMonitor.AsyncDEFAULT_ASYNC_SCHEDULE_PERIODDEFAULT_TIME_FACTOR, THOUSANDHUNDRED, ONE, TEN, ZERO| Constructor and Description |
|---|
EclipseMonitor() |
EclipseMonitor(IProgressMonitor progressMonitor) |
EclipseMonitor(IProgressMonitor progressMonitor,
java.lang.String taskName) |
| Modifier and Type | Method and Description |
|---|---|
OMMonitor |
begin(double totalWork) |
static OMMonitor |
convert(IProgressMonitor progressMonitor) |
void |
done() |
java.lang.String |
getTaskName() |
boolean |
isCanceled() |
static OMMonitor |
safe(IProgressMonitor progressMonitor) |
void |
worked(double work) |
cancel, cancel, checkCanceled, getAsyncSchedulePeriod, getTimer, scheduleAtFixedRatebegin, createAsyncTimerTask, createNestedMonitor, fork, fork, forkAsync, forkAsync, getTotalWork, getWork, getWorkPercent, hasBegun, percent, workedpublic EclipseMonitor(IProgressMonitor progressMonitor, java.lang.String taskName)
public EclipseMonitor(IProgressMonitor progressMonitor)
public EclipseMonitor()
public java.lang.String getTaskName()
public boolean isCanceled()
isCanceled in interface OMMonitorisCanceled in class Monitorpublic OMMonitor begin(double totalWork) throws MonitorCanceledException
begin in interface OMMonitorbegin in class AbstractMonitorMonitorCanceledExceptionpublic void worked(double work)
throws MonitorCanceledException
worked in interface OMMonitorworked in class AbstractMonitorMonitorCanceledExceptionpublic void done()
done in interface OMMonitordone in class AbstractMonitorpublic static OMMonitor convert(IProgressMonitor progressMonitor)
public static OMMonitor safe(IProgressMonitor progressMonitor)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html