Class ECPDialogExecutor
- java.lang.Object
-
- org.eclipse.emf.ecp.edit.spi.swt.util.ECPDialogExecutor
-
public abstract class ECPDialogExecutor extends java.lang.Object
- Since:
- 1.5
- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description ECPDialogExecutor(org.eclipse.jface.dialogs.Dialog dialog)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
execute()
This is the method to run theECPDialogExecutor
.abstract void
handleResult(int codeResult)
Callback method which will get notified when the user presses a button leading to a close of the dialog.
-
-
-
Method Detail
-
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 inWindow
-
execute
public void execute()
This is the method to run theECPDialogExecutor
.
-
-