public class BackgroundCancellableProcessHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
executeProcessWithCancelDialog(Thread workerThread,
CancelListener cancelListener,
Component parent)
Deprecated.
Always give a message
|
static void |
executeProcessWithCancelDialog(Thread workerThread,
CancelListener cancelListener,
Component parent,
String message) |
static void |
executeProcessWithCancelDialog(Thread workerThread,
CancelListener cancelListener,
Component parent,
String message,
ProgressFeed progressFeed) |
protected static Window |
getWindowAncestor(Component component) |
public static void executeProcessWithCancelDialog(Thread workerThread, CancelListener cancelListener, Component parent)
workerThread
- the thread to run and monitorcancelListener
- a optional listener to cancel the processparent
- the parent frame to which the dialog will attachpublic static void executeProcessWithCancelDialog(Thread workerThread, CancelListener cancelListener, Component parent, String message)
public static void executeProcessWithCancelDialog(Thread workerThread, CancelListener cancelListener, Component parent, String message, ProgressFeed progressFeed)
Copyright © 2019 Hitachi Vantara. All rights reserved.