Search in sources :

Example 1 with TmDbManagerImportWizard

use of net.heartsome.cat.database.ui.tm.wizard.TmDbManagerImportWizard in project translationstudio8 by heartsome.

the class ImportTmxHandler method execute.

/**
	 * (non-Javadoc)
	 * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
	 */
public Object execute(ExecutionEvent event) throws ExecutionException {
    IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
    TmDbManagerImportWizard wizard = new TmDbManagerImportWizard();
    ImportTmxWizardDialog dlg = new ImportTmxWizardDialog(window.getShell(), wizard);
    dlg.open();
    return null;
}
Also used : IWorkbenchWindow(org.eclipse.ui.IWorkbenchWindow) ImportTmxWizardDialog(net.heartsome.cat.database.ui.tm.wizard.ImportTmxWizardDialog) TmDbManagerImportWizard(net.heartsome.cat.database.ui.tm.wizard.TmDbManagerImportWizard)

Aggregations

ImportTmxWizardDialog (net.heartsome.cat.database.ui.tm.wizard.ImportTmxWizardDialog)1 TmDbManagerImportWizard (net.heartsome.cat.database.ui.tm.wizard.TmDbManagerImportWizard)1 IWorkbenchWindow (org.eclipse.ui.IWorkbenchWindow)1