vcs: cleanup: RunVcsCloneDialogAction.kt -> GetFromVersionControlAction.kt

GitOrigin-RevId: b9a289ab23f25efcf5c7051494164b1be85a4916
This commit is contained in:
Aleksandr Krasilnikov
2019-08-15 20:30:27 +03:00
committed by intellij-monorepo-bot
parent f475ae92d5
commit 6d839e236d
4 changed files with 4 additions and 4 deletions
@@ -30,7 +30,7 @@
text="Compare Before with Local" description="Compare version before selected revision with current version"/>
<action id="Vcs.ShowDiffWithLocal" class="com.intellij.openapi.vcs.history.actions.ShowDiffAfterWithLocalAction"
text="Compare with Local" description="Compare version in selected revision with current version"/>
<action id="Vcs.VcsClone" class="com.intellij.openapi.wm.impl.welcomeScreen.RunVcsCloneDialogAction"
<action id="Vcs.VcsClone" class="com.intellij.openapi.wm.impl.welcomeScreen.GetFromVersionControlAction"
text="Get from Version Control"/>
<group class="com.intellij.openapi.vcs.actions.VcsActionGroup" id="VcsGroup"/>
@@ -10,7 +10,7 @@ import com.intellij.ui.UIBundle;
import org.jetbrains.annotations.NotNull;
/**
* @deprecated superseded by {@link RunVcsCloneDialogAction}
* @deprecated superseded by {@link GetFromVersionControlAction}
*/
@Deprecated
public class GetFromVcsAction extends WelcomePopupAction {
@@ -11,7 +11,7 @@ import com.intellij.openapi.util.registry.Registry
import com.intellij.openapi.vcs.CheckoutProvider
import com.intellij.util.ui.cloneDialog.VcsCloneDialog
class RunVcsCloneDialogAction : DumbAwareAction() {
class GetFromVersionControlAction : DumbAwareAction() {
override fun update(e: AnActionEvent) {
val isEnabled = CheckoutProvider.EXTENSION_POINT_NAME.hasAnyExtensions() && Registry.`is`("vcs.use.new.clone.dialog")
+1 -1
View File
@@ -20,7 +20,7 @@
<action id="ImportProject" class="com.intellij.ide.actions.ImportProjectAction" text="Project from Existing Sources..."/>
<group id="NewProjectFromVCS" class="com.intellij.openapi.vcs.checkout.NewProjectFromVCSGroup" text="Project from Version Control"
popup="true"/>
<action class="com.intellij.openapi.wm.impl.welcomeScreen.RunVcsCloneDialogAction" text="Project from Version Control..."/>
<action class="com.intellij.openapi.wm.impl.welcomeScreen.GetFromVersionControlAction" text="Project from Version Control..."/>
<separator/>
<action id="NewModule" class="com.intellij.openapi.roots.ui.configuration.actions.NewModuleAction" text="Module..."/>
<action id="ImportModule" class="com.intellij.ide.actions.ImportModuleAction" text="Module from Existing Sources..."/>