@@ -0,0 +1,1603 @@
+/*%0A * Copyright 2014 Codenvy, S.A.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.codenvy.ide.ext.datasource.client.action;%0A%0Aimport com.codenvy.ide.api.ui.action.Action;%0Aimport com.codenvy.ide.api.ui.action.ActionEvent;%0Aimport com.codenvy.ide.ext.datasource.client.editdatasource.EditDatasourcesPresenter;%0Aimport com.codenvy.ide.ext.datasource.client.editdatasource.EditDatasourcesPresenterFactory;%0Aimport com.google.inject.Inject;%0A%0A/**%0A * IDE action to edit and delete datasources.%0A * %0A * @author %22Micka%C3%ABl Leduque%22%0A */%0Apublic class EditDatasourcesAction extends Action %7B%0A%0A    /** The factory to instanciate the dialg presenter. */%0A    private final EditDatasourcesPresenterFactory dialogFactory;%0A%0A    @Inject%0A    public EditDatasourcesAction(final EditDatasourcesPresenterFactory dialogFactory) %7B%0A        this.dialogFactory = dialogFactory;%0A    %7D%0A%0A    @Override%0A    public void actionPerformed(final ActionEvent e) %7B%0A        final EditDatasourcesPresenter dialogPresenter = this.dialogFactory.createEditDatasourcesPresenter();%0A        dialogPresenter.showDialog();%0A    %7D%0A%0A%7D%0A

Create action for "edit datasource" menu - #21