diff --git a/platform/platform-resources-en/src/messages/ActionsBundle.properties b/platform/platform-resources-en/src/messages/ActionsBundle.properties index 09a1e69d0d6d..4b0fb52662c2 100644 --- a/platform/platform-resources-en/src/messages/ActionsBundle.properties +++ b/platform/platform-resources-en/src/messages/ActionsBundle.properties @@ -243,8 +243,6 @@ group.VcsGroups.text=VC_S group.VcsGlobalGroup.text=VCS Group action.Vcs.FileView.text=Show Fi_le View action.Vcs.FileView.description=Show version control related information for all local files -action.Vcs.ChangesView.text=Show Cha_nges View -action.Vcs.ChangesView.description=Show window for managing changes and changelists action.Vcs.UpdateProject.text=_Update Project action.Vcs.ProjectStatus.text=C_heck Project Status group.VcsGroup.text=Version Control diff --git a/platform/platform-resources/src/idea/VcsActions.xml b/platform/platform-resources/src/idea/VcsActions.xml index 0a1bab4b9d14..5af7b1f30833 100644 --- a/platform/platform-resources/src/idea/VcsActions.xml +++ b/platform/platform-resources/src/idea/VcsActions.xml @@ -51,7 +51,6 @@ - @@ -323,7 +322,6 @@ - diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ShowChangesViewAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ShowChangesViewAction.java deleted file mode 100644 index b3e679d39857..000000000000 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ShowChangesViewAction.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2000-2009 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Created by IntelliJ IDEA. - * User: yole - * Date: 18.08.2006 - * Time: 16:35:20 - */ -package com.intellij.openapi.vcs.changes; - -import com.intellij.openapi.actionSystem.AnActionEvent; -import com.intellij.openapi.actionSystem.Presentation; -import com.intellij.openapi.vcs.actions.AbstractVcsAction; -import com.intellij.openapi.vcs.actions.VcsContext; -import com.intellij.openapi.vcs.changes.ui.ChangesViewContentManager; -import com.intellij.openapi.wm.ToolWindow; -import com.intellij.openapi.wm.ToolWindowManager; -import org.jetbrains.annotations.NotNull; - -public class ShowChangesViewAction extends AbstractVcsAction { - @Override - protected void actionPerformed(@NotNull VcsContext e) { - if (e.getProject() == null) return; - final ToolWindowManager manager = ToolWindowManager.getInstance(e.getProject()); - if (manager != null) { - final ToolWindow window = manager.getToolWindow(ChangesViewContentManager.TOOLWINDOW_ID); - if (window != null) { - window.show(null); - } - } - } - - @Override - protected void update(VcsContext vcsContext, Presentation presentation) { - presentation.setVisible(getActiveVcses(vcsContext).size() > 0); - } - - @Override - protected boolean forceSyncUpdate(final AnActionEvent e) { - return true; - } -}