public class DialogFuture extends AbstractFuture<Callback[]>
Constructor and Description |
---|
DialogFuture(org.eclipse.swt.widgets.Display display,
Callback[] callbacks,
List<CallbackWidgetFactory> factories) |
DialogFuture(org.eclipse.swt.widgets.Shell parentShell,
Callback[] callbacks,
List<CallbackWidgetFactory> factories) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
protected void |
closeDialog() |
protected org.eclipse.swt.widgets.Shell |
getParentShell() |
void |
openDialog() |
protected void |
processDispose() |
void |
setEarlyResult(Callback[] result) |
void |
setErrorResult(Throwable error) |
void |
setMessage(String message) |
void |
setTitle(String title) |
addListener, addListener, fetchResult, get, get, isCancelled, isDone, removeListener, removeListener, setError, setResult
public DialogFuture(org.eclipse.swt.widgets.Display display, Callback[] callbacks, List<CallbackWidgetFactory> factories)
public DialogFuture(org.eclipse.swt.widgets.Shell parentShell, Callback[] callbacks, List<CallbackWidgetFactory> factories)
protected org.eclipse.swt.widgets.Shell getParentShell()
public void openDialog()
public void setEarlyResult(Callback[] result)
public void setErrorResult(Throwable error)
protected void processDispose()
protected void closeDialog()
public boolean cancel(boolean mayInterruptIfRunning)
public void setTitle(String title)
public void setMessage(String message)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.