Java Code Examples for org.jetbrains.annotations.Nls

The following examples show how to use org.jetbrains.annotations.Nls. These examples are extracted from open source projects. 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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
/**
 * {@inheritDoc}
 */
@Nls(capitalization = Nls.Capitalization.Title)
@Override
public String getDisplayName() {
    return GlobalConfig.PLUGIN_NAME;
}
 
Example 9
Source Project: easy_javadoc   Source 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   Source 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   Source 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   Source 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
@Nls
public String getDisplayName() {
    return "Psalm";
}
 
Example 14
@Nls(capitalization = Nls.Capitalization.Title)
@Override
public String getDisplayName() {
    return "Psalm";
}
 
Example 15
@Nls
public String getDisplayName() {
    return "Psalm";
}
 
Example 16
Source Project: NutzCodeInsight   Source 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
@Nls
public String getDisplayName() {
    return "PhpStan";
}
 
Example 18
Source Project: CodeGen   Source 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   Source 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   Source 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   Source 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   Source 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   Source 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   Source File: IntentionActionBase.java    License: MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getFamilyName() {
    return getText();
}
 
Example 25
@Nls
@NotNull
@Override
public String getDisplayName() {
    return "LSP";
}
 
Example 26
Source Project: translator   Source File: TranslatorConfigurable.java    License: MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Translator";
}
 
Example 27
@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
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example 29
Source Project: px2rwd-intellij-plugin   Source 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   Source 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";
}