ca.sqlpower.architect.swingui.action
Class ExportDDLAction.ConflictResolverProcess
java.lang.Object
ca.sqlpower.swingui.SPSwingWorker
ca.sqlpower.swingui.MonitorableWorker
ca.sqlpower.architect.swingui.action.ExportDDLAction.ConflictResolverProcess
- All Implemented Interfaces:
- ca.sqlpower.util.Monitorable, java.lang.Runnable
- Enclosing class:
- ExportDDLAction
public class ExportDDLAction.ConflictResolverProcess
- extends ca.sqlpower.swingui.MonitorableWorker
The ConflictResolverProcess grabs a conflict resolver from the conflict
finder process, checks if the user said to delete the conflicts, then
asks it to remove the conflicting items while monitoring the progress.
- Version:
- $Id: ExportDDLAction.java 2416 2008-07-24 22:34:39Z kaiyi4 $
- Author:
- fuerth
| Methods inherited from class ca.sqlpower.swingui.SPSwingWorker |
addTaskTerminationListener, getCleanupExceptionMessage, getDoStuffException, getNextProcess, isCanceled, isCancelled, kill, removeTaskTerminationListener, run, setCancelled, setCleanupExceptionMessage, setDoStuffException, setNextProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ca.sqlpower.util.Monitorable |
isCancelled, setCancelled |
ExportDDLAction.ConflictResolverProcess
public ExportDDLAction.ConflictResolverProcess(javax.swing.JDialog d,
ExportDDLAction.ConflictFinderProcess cfp,
ArchitectSwingSession session)
- Parameters:
d - The dialog we anchor popup messages tocfp - The conflict finder we extract the conflict list fromprogressBar - The progress bar we show our progress inprogressLabel - The label where we say what we're doing
doStuff
public void doStuff()
- Specified by:
doStuff in class ca.sqlpower.swingui.SPSwingWorker
cleanup
public void cleanup()
- Displays error messages or invokes the next process in the chain on a new
thread. The run method asks swing to invoke this method on the event dispatch
thread after it's done.
- Specified by:
cleanup in class ca.sqlpower.swingui.SPSwingWorker
getJobSize
public java.lang.Integer getJobSize()
getMessage
public java.lang.String getMessage()
getProgress
public int getProgress()
hasStarted
public boolean hasStarted()
isFinished
public boolean isFinished()
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca