com.ptc.wgmecad
Class WGMProgMon
java.lang.Object
com.ptc.wgmecad.WGMProgMon
- public class WGMProgMon
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT
public static final int INIT
- See Also:
- Constant Field Values
PRE
public static final int PRE
- See Also:
- Constant Field Values
OPERATION
public static final int OPERATION
- See Also:
- Constant Field Values
TOTAL
private static final int TOTAL
- See Also:
- Constant Field Values
phaseNameKeys
private static final String[] phaseNameKeys
pmons
private ProgressMonitor[] pmons
statusMap
private HashMap statusMap
ourInstance
private static WGMProgMon ourInstance
WGMProgMon
private WGMProgMon()
getInstance
public static WGMProgMon getInstance()
register
public void register(IRegisterProgress obj)
update
public void update(IRegisterProgress obj,
int phase,
int status)
throws CancelledException
- Throws:
CancelledException
initPhase
public void initPhase(int phase)
getProgressMonitor
private static ProgressMonitor getProgressMonitor(String resourceKey,
int blocks)
endPhase
public void endPhase(int phase)
totalForPhase
private int totalForPhase(int phase)
statusForPhase
private int statusForPhase(int phase)