Class ProjectOpenTask
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.ProgressDialog.ProgressTask
-
- com.inductiveautomation.ignition.designer.project.ProjectOpenTask
-
- All Implemented Interfaces:
GatewayInterface.GatewayThroughputMonitor
,ProgressListener
public class ProjectOpenTask extends ProgressDialog.ProgressTask implements GatewayInterface.GatewayThroughputMonitor
ProgressTask that will return a RuntimeProject upon successful completion.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.client.util.gui.ProgressDialog.ProgressTask
canceled, dialog
-
-
Constructor Summary
Constructors Constructor Description ProjectOpenTask(java.lang.String projectName, boolean allowCancel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
allowsCancel()
void
onProgressUpdate(long total, double throughput)
Callback to notify that the throughput has changed.protected java.lang.Object
run()
-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.ProgressDialog.ProgressTask
isCanceled, setIndeterminate, setNote, setProgress, setProgressDialog, setProgressMax
-
-
-
-
Method Detail
-
run
protected java.lang.Object run() throws java.lang.Exception
- Specified by:
run
in classProgressDialog.ProgressTask
- Throws:
java.lang.Exception
-
allowsCancel
protected boolean allowsCancel()
- Overrides:
allowsCancel
in classProgressDialog.ProgressTask
-
onProgressUpdate
public void onProgressUpdate(long total, double throughput)
Description copied from interface:GatewayInterface.GatewayThroughputMonitor
Callback to notify that the throughput has changed.- Specified by:
onProgressUpdate
in interfaceGatewayInterface.GatewayThroughputMonitor
throughput
- In bytes/sec
-
-