org.eclipse.emf.ecp.edit.internal.swt.util
Class ECPDialogExecutor
java.lang.Object
org.eclipse.emf.ecp.edit.internal.swt.util.ECPDialogExecutor
public abstract class ECPDialogExecutor
- extends Object
- 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 © 2014. All Rights Reserved.