T - return type of the controllerpublic abstract class AbstractEMFStoreUIController<T> extends MonitoredEMFStoreAction<T>
RunInUI.runWithResult(java.util.concurrent.Callable<T>) to avoid invalid thread access
exceptions.| Constructor and Description |
|---|
AbstractEMFStoreUIController(org.eclipse.swt.widgets.Shell shell)
Constructor.
|
AbstractEMFStoreUIController(org.eclipse.swt.widgets.Shell shell,
boolean cancelable)
Constructor.
|
AbstractEMFStoreUIController(org.eclipse.swt.widgets.Shell shell,
boolean fork,
boolean cancelable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
confirm(String title,
String message)
Shows a confirmation dialog.
|
org.eclipse.swt.widgets.Shell |
getShell()
Returns the shell used by the UI controller.
|
void |
setShell(org.eclipse.swt.widgets.Shell newShell)
Sets the shell to be used by this UI controller.
|
afterRun, doRun, execute, executeSub, isForked, preRunpublic AbstractEMFStoreUIController(org.eclipse.swt.widgets.Shell shell)
shell - the shell that will be used during execution of the controller's actionpublic AbstractEMFStoreUIController(org.eclipse.swt.widgets.Shell shell,
boolean cancelable)
shell - the shell that will be used during execution of the controller's actioncancelable - whether the controller's action is cancelablepublic AbstractEMFStoreUIController(org.eclipse.swt.widgets.Shell shell,
boolean fork,
boolean cancelable)
shell - the shell that will be used during execution of the controller's actionfork - whether the controller's action will fork an own thread that runs outside of the UI threadcancelable - whether the controller's action is cancelablepublic org.eclipse.swt.widgets.Shell getShell()
public void setShell(org.eclipse.swt.widgets.Shell newShell)
newShell - the shell to be used by the UI controllerCopyright © 2017. All rights reserved.