org.jetbrains.annotations.Nls Java Examples

The following examples show how to use org.jetbrains.annotations.Nls. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: AndroidLocalizePlugin   Author: Airsaid   File: TranslateTask.java    License: Apache License 2.0 5 votes vote down vote up
public TranslateTask(@Nullable Project project, @Nls @NotNull String title, List<LANG> languages,
                     List<AndroidString> androidStrings, VirtualFile selectFile) {
    super(project, title);
    this.mLanguages = languages;
    this.mAndroidStrings = androidStrings;
    this.mSelectFile = selectFile;
    this.mWriteData = new HashMap<>();
}
 
Example #2
Source Project: reasonml-idea-plugin   Author: reasonml-editor   File: BsNotification.java    License: MIT License 5 votes vote down vote up
@Nls
public static void showBsbNotFound(String workingDirectory) {
    Notifications.Bus.notify(new ORNotification("Bsb",
            "<html>"
                    + "Can't find bsb.\n"
                    + "The working directory is '" + workingDirectory + "'.\n"
                    + "Be sure that bsb is installed and reachable from that directory, "
                    + "see <a href=\"https://github.com/reasonml-editor/reasonml-idea-plugin#bucklescript\">github</a>."
                    + "</html>",
            ERROR, URL_OPENING_LISTENER));
}
 
Example #3
Source Project: reasonml-idea-plugin   Author: reasonml-editor   File: BsNotification.java    License: MIT License 5 votes vote down vote up
@Nls
public static void showWorkingDirectoryNotFound() {
    Notifications.Bus.notify(new ORNotification("BuckleScript",
            "<html>"
                    + "Can't determine working directory.\n"
                    + "Ensure your project contains a <b>bsconfig.json</b> file."
                    + "</html>",
            ERROR, URL_OPENING_LISTENER));
}
 
Example #4
Source Project: lsp4intellij   Author: ballerina-platform   File: LSPCodeActionFix.java    License: Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getText() {
    return codeAction.getTitle();
}
 
Example #5
Source Project: lsp4intellij   Author: ballerina-platform   File: LSPCodeActionFix.java    License: Apache License 2.0 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getFamilyName() {
    return "LSP Fixes";
}
 
Example #6
Source Project: idea-php-typo3-plugin   Author: cedricziel   File: InvalidQuantityInspection.java    License: MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #7
Source Project: lsp4intellij   Author: ballerina-platform   File: LSPCommandFix.java    License: Apache License 2.0 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getFamilyName() {
    return "LSP Fixes";
}
 
Example #8
Source Project: ycy-intellij-plugin   Author: fantasticmao   File: PluginSettingPage.java    License: GNU General Public License v3.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Nls(capitalization = Nls.Capitalization.Title)
@Override
public String getDisplayName() {
    return GlobalConfig.PLUGIN_NAME;
}
 
Example #9
Source Project: easy_javadoc   Author: starcwang   File: ClassConfigurable.java    License: Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Capitalization.Title)
@Override
public String getDisplayName() {
    return "类注释模板配置";
}
 
Example #10
Source Project: easy_javadoc   Author: starcwang   File: MethodConfigurable.java    License: Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Capitalization.Title)
@Override
public String getDisplayName() {
    return "方法注释模板配置";
}
 
Example #11
Source Project: CodeGen   Author: hykes   File: TemplatesConfigurable.java    License: MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Templates";
}
 
Example #12
Source Project: easy_javadoc   Author: starcwang   File: CommonConfigurable.java    License: Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Capitalization.Title)
@Override
public String getDisplayName() {
    return "EasyJavadoc";
}
 
Example #13
Source Project: idea-php-generics-plugin   Author: Haehnchen   File: PsalmValidatorConfigurable.java    License: MIT License 4 votes vote down vote up
@Nls
public String getDisplayName() {
    return "Psalm";
}
 
Example #14
Source Project: idea-php-generics-plugin   Author: Haehnchen   File: PsalmValidatorQualityToolConfigurableList.java    License: MIT License 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Title)
@Override
public String getDisplayName() {
    return "Psalm";
}
 
Example #15
Source Project: idea-php-generics-plugin   Author: Haehnchen   File: PsalmValidatorConfigurableForm.java    License: MIT License 4 votes vote down vote up
@Nls
public String getDisplayName() {
    return "Psalm";
}
 
Example #16
Source Project: NutzCodeInsight   Author: threefish   File: GenerateSqlXmlIntention.java    License: Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getText() {
    return "创建 " + templateFileName;
}
 
Example #17
Source Project: idea-php-generics-plugin   Author: Haehnchen   File: PhpStanValidatorConfigurableForm.java    License: MIT License 4 votes vote down vote up
@Nls
public String getDisplayName() {
    return "PhpStan";
}
 
Example #18
Source Project: CodeGen   Author: hykes   File: VariablesConfigurable.java    License: MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "CodeGen";
}
 
Example #19
Source Project: trains-pycharm-plugin   Author: allegroai   File: HookConfigurable.java    License: Apache License 2.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "TRAINS";
}
 
Example #20
Source Project: markdown-image-kit   Author: dong4j   File: ProjectSettingsPage.java    License: MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Markdown Image Kit";
}
 
Example #21
Source Project: markdown-image-kit   Author: dong4j   File: ActionTask.java    License: MIT License 4 votes vote down vote up
public ActionTask(@Nullable Project project,
                  @Nls(capitalization = Nls.Capitalization.Title) @NotNull String title,
                  ActionManager manager) {
    super(project, title, manager);
}
 
Example #22
Source Project: idea-php-typo3-plugin   Author: cedricziel   File: FluidConfigurationPage.java    License: MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return FluidBundle.message("fl.pages.options.title");
}
 
Example #23
Source Project: SmartTomcat   Author: zengkid   File: TomcatSettingConfigurable.java    License: Apache License 2.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Tomcat Server";
}
 
Example #24
Source Project: markdown-image-kit   Author: dong4j   File: IntentionActionBase.java    License: MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getFamilyName() {
    return getText();
}
 
Example #25
Source Project: intellij-quarkus   Author: redhat-developer   File: LSPLocalInspectionTool.java    License: Eclipse Public License 2.0 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getDisplayName() {
    return "LSP";
}
 
Example #26
Source Project: translator   Author: jojoldu   File: TranslatorConfigurable.java    License: MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Translator";
}
 
Example #27
Source Project: intellij-quarkus   Author: redhat-developer   File: QuarkusModuleBuilder.java    License: Eclipse Public License 2.0 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@Override
public String getDescription() {
    return "Create <b>Quarkus</b> projects using code.quarkus.io provided by Quarkus Tools";
}
 
Example #28
Source Project: idea-php-typo3-plugin   Author: cedricziel   File: MethodArgumentDroppedMatcherInspection.java    License: MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #29
Source Project: px2rwd-intellij-plugin   Author: sunqian1991   File: ProjectSettingConfig.java    License: MIT License 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Title)
@Override
public String getDisplayName() {
    return PLUGIN_NAME;
}
 
Example #30
Source Project: px2rwd-intellij-plugin   Author: sunqian1991   File: PX2REMIntention.java    License: MIT License 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getFamilyName() {
    return "Px to rem converter";
}