org.eclipse.emf.ecp.edit.spi.swt.util
Class ECPDialogExecutor
java.lang.Object
org.eclipse.emf.ecp.edit.spi.swt.util.ECPDialogExecutor
public abstract class ECPDialogExecutor
- extends Object
- Since:
- 1.5
- Author:
- Eugen Neufeld
|
Constructor Summary |
ECPDialogExecutor(org.eclipse.jface.dialogs.Dialog dialog)
Constructor. |
|
Method Summary |
void |
execute()
This is the method to run the ECPDialogExecutor. |
abstract void |
handleResult(int codeResult)
Callback method which will get notified when the user presses a button leading to a close of the dialog. |
ECPDialogExecutor
public ECPDialogExecutor(org.eclipse.jface.dialogs.Dialog dialog)
- Constructor.
- Parameters:
dialog - the Dialog to show
handleResult
public abstract void handleResult(int codeResult)
- Callback method which will get notified when the user presses a button leading to a close of the dialog. (e.g Ok
or Cancel)
- Parameters:
codeResult - the result code of the dialog. Constants are defined in Window
execute
public void execute()
- This is the method to run the
ECPDialogExecutor.
Copyright © 2015. All Rights Reserved.