Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ECPDialogExecutor

    public ECPDialogExecutor(org.eclipse.jface.dialogs.Dialog dialog)

  Constructor.

  Parameters:
    `dialog` - the Dialog to show

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 in `Window`

### execute

    public void execute()

  This is the method to run the `ECPDialogExecutor`.

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.