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 booleanallowsCancel()voidonProgressUpdate(long total, double throughput)Callback to notify that the throughput has changed.protected java.lang.Objectrun()-
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:
runin classProgressDialog.ProgressTask- Throws:
java.lang.Exception
-
allowsCancel
protected boolean allowsCancel()
- Overrides:
allowsCancelin classProgressDialog.ProgressTask
-
onProgressUpdate
public void onProgressUpdate(long total, double throughput)Description copied from interface:GatewayInterface.GatewayThroughputMonitorCallback to notify that the throughput has changed.- Specified by:
onProgressUpdatein interfaceGatewayInterface.GatewayThroughputMonitorthroughput- In bytes/sec
-
-