Search in sources :

Example 1 with E4Dialog

use of org.whole.lang.e4.ui.dialogs.E4Dialog in project whole by wholeplatform.

the class OpenDialogHandler method execute.

@Execute
public void execute(IEclipseContext context, EPartService partService) {
    E4Dialog dialog = ContextInjectionFactory.make(E4Dialog.class, context);
    dialog.create();
    if (dialog.open() == Window.OK) {
    // do nothing
    }
}
Also used : E4Dialog(org.whole.lang.e4.ui.dialogs.E4Dialog) Execute(org.eclipse.e4.core.di.annotations.Execute)

Aggregations

Execute (org.eclipse.e4.core.di.annotations.Execute)1 E4Dialog (org.whole.lang.e4.ui.dialogs.E4Dialog)1