Public Member Functions | Package Functions

com.google.security.zynamics.binnavi.API.helpers.IProgressThread Interface Reference

List of all members.

Public Member Functions

void run () throws Exception

Package Functions

boolean close ()

Detailed Description

Interface that must be implemented by all objects that want to execute long operations while a progress dialog is shown.

Please note that the implementing object does not actually have to be a thread.


Member Function Documentation

boolean com.google.security.zynamics.binnavi.API.helpers.IProgressThread.close (  )  [package]

This function is invoked every time the user clicks on the X button of the progress dialog. Plugins that use the progress dialog have the change to clean up allocated resources before the dialog is closed.

Returns:
True, to signal that the progress thread can be terminated. False, if the progress dialog can not be cancelled.
void com.google.security.zynamics.binnavi.API.helpers.IProgressThread.run (  )  throws Exception

Executes the long operation for which a progress dialog is shown.

Exceptions:
Exception Exception thrown by the long-running operation.