telcert.schemaprof.gui
Class ProfileMonitor
java.lang.Object
telcert.schemaprof.gui.ProfileMonitor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IProgressMonitor
public class ProfileMonitor
- extends Object
- implements org.eclipse.core.runtime.IProgressMonitor
This is the progress monitor displayed while loading a schema or an
application profile.
- Version:
- $Id: ProfileMonitor.java,v 1.11 2006/03/15 15:02:20 klaasd Exp $
| Fields inherited from interface org.eclipse.core.runtime.IProgressMonitor |
UNKNOWN |
|
Constructor Summary |
ProfileMonitor(MainFrame frame,
String fileName,
boolean schema)
Initializes a new progress monitor which displays the progress for loading
the given file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileMonitor
public ProfileMonitor(MainFrame frame,
String fileName,
boolean schema)
- Initializes a new progress monitor which displays the progress for loading
the given file.
- Parameters:
frame - The owning MainFrame of this progress monitor.fileName - The name of the file for which the progress is displayed.schema - true if the given file is a schema,
false otherwise. Influences the messages displayed
in the progress monitor.
beginTask
public void beginTask(String note,
int n_tasks)
- Specified by:
beginTask in interface org.eclipse.core.runtime.IProgressMonitor
done
public void done()
- Specified by:
done in interface org.eclipse.core.runtime.IProgressMonitor
internalWorked
public void internalWorked(double progress)
- Specified by:
internalWorked in interface org.eclipse.core.runtime.IProgressMonitor
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled in interface org.eclipse.core.runtime.IProgressMonitor
setCanceled
public void setCanceled(boolean bool)
- Specified by:
setCanceled in interface org.eclipse.core.runtime.IProgressMonitor
setTaskName
public void setTaskName(String note)
- Specified by:
setTaskName in interface org.eclipse.core.runtime.IProgressMonitor
subTask
public void subTask(String sub)
- Specified by:
subTask in interface org.eclipse.core.runtime.IProgressMonitor
worked
public void worked(int n)
- Specified by:
worked in interface org.eclipse.core.runtime.IProgressMonitor
Copyright © 2004-2007 IWM - Institut fuer Wissensmedien. All Rights Reserved.