mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
[java] IJPL-34876 Declare icons and texts for ParseSdkmanrcAction declaratively
GitOrigin-RevId: 16e5d519d8be7f64fd5f286580d70c96c91d72de
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b61c9ea427
commit
b9416a8db9
@@ -709,6 +709,7 @@ action.DisableRepositoryLibrariesSha256Checksum.text=Disable SHA256 Checksum for
|
||||
action.UnbindRemoteRepositoryForAllRepositoryLibraries.text=Unbind Remote Repositories for All Libraries
|
||||
action.GuessRemoteRepositoryForEachRepositoryLibrary.text=Guess and Bind Remote Repositories for All Libraries
|
||||
action.ResolveAllRepositoryLibraries.text=Resolve All Maven Libraries
|
||||
action.ParseSdkmanrcAction.text=Update Project JDK
|
||||
|
||||
library.depends.on.ide.title=Dependency on JARs from the IDE installation
|
||||
library.depends.on.ide.message=Library {0} uses JARs from the IDE installation. It might break if JAR is removed from a future version of the IDE. {1}
|
||||
|
||||
@@ -2824,8 +2824,7 @@
|
||||
<add-to-group group-id="Internal" anchor="after" relative-to-action="Internal.Java"/>
|
||||
</group>
|
||||
|
||||
<action id="com.intellij.openapi.projectRoots.impl.ParseSdkmanrcAction"
|
||||
class="com.intellij.openapi.projectRoots.impl.ParseSdkmanrcAction">
|
||||
<action id="ParseSdkmanrcAction" class="com.intellij.openapi.projectRoots.impl.ParseSdkmanrcAction" icon="AllIcons.Actions.Refresh">
|
||||
<add-to-group group-id="EditorContextBarMenu" anchor="last"/>
|
||||
</action>
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.projectRoots.impl
|
||||
|
||||
import com.intellij.icons.AllIcons
|
||||
import com.intellij.java.JavaBundle
|
||||
import com.intellij.openapi.actionSystem.ActionUpdateThread
|
||||
import com.intellij.openapi.actionSystem.AnAction
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
@@ -10,7 +8,7 @@ import com.intellij.openapi.actionSystem.CommonDataKeys
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
|
||||
class ParseSdkmanrcAction: AnAction(JavaBundle.message("action.sdkmanrc.update.project.jdk"), null, AllIcons.Actions.Refresh) {
|
||||
internal class ParseSdkmanrcAction: AnAction() {
|
||||
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.BGT
|
||||
|
||||
override fun update(e: AnActionEvent) {
|
||||
|
||||
@@ -32,7 +32,6 @@ action.text.unmark.generated.0=Unmark Generated {0}
|
||||
action.GotoSuperClass.text=Go to S_uper Class or Interface
|
||||
action.GotoSuperClass.MainMenu.text=S_uper Class or Interface
|
||||
action.GotoSuperClass.description=Navigate to the declaration of a class that the current class extends or implements
|
||||
action.sdkmanrc.update.project.jdk=Update Project JDK
|
||||
add.to.permits.list.family.name=Add class to permits list
|
||||
add.to.permits.list=Add ''{0}'' to permits list of sealed class ''{1}''
|
||||
annotate.intention.chooser.title=Choose Annotation to Add
|
||||
|
||||
Reference in New Issue
Block a user