@@ -0,0 +1,1102 @@
+package com.codenvy.ide.ext.datasource.client.sqllauncher;%0A%0Aimport com.codenvy.ide.api.editor.EditorAgent;%0Aimport com.codenvy.ide.api.editor.EditorPartPresenter;%0Aimport com.codenvy.ide.api.ui.action.Action;%0Aimport com.codenvy.ide.api.ui.action.ActionEvent;%0Aimport com.codenvy.ide.util.loging.Log;%0Aimport com.google.inject.Inject;%0A%0Apublic class ExecuteSqlAction extends Action %7B%0A%0A    private EditorAgent editorAgent;%0A%0A    @Inject%0A    public ExecuteSqlAction(final EditorAgent editorAgent) %7B%0A        this.editorAgent = editorAgent;%0A    %7D%0A%0A    @Override%0A    public void actionPerformed(final ActionEvent e) %7B%0A        final EditorPartPresenter editor = editorAgent.getActiveEditor();%0A        if (editor instanceof SqlRequestLauncherPresenter) %7B%0A            Log.info(ExecuteSqlAction.class, %22Execute SQL action triggered.%22);%0A            SqlRequestLauncherPresenter sqlEditor = (SqlRequestLauncherPresenter)editor;%0A            sqlEditor.executeRequested();%0A        %7D else %7B%0A            Log.warn(ExecuteSqlAction.class, %22Execute SQL action triggered but active editor is not compatible.%22);%0A        %7D%0A%0A    %7D%0A%0A%7D

Add action to trigger SQL execution