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 File: TranslateTask.java    From AndroidLocalizePlugin with 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 File: BsNotification.java    From reasonml-idea-plugin with 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 #3
Source File: BsNotification.java    From reasonml-idea-plugin with 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 #4
Source File: CreateInjectorQuickFix.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getName() {
    return "Refactor to method injection";
}
 
Example #5
Source File: MissingModuleJSInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getDisplayName() {
    return "Missing JavaScript module";
}
 
Example #6
Source File: DuneFacetEditor.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@NotNull
@Nls
@Override
public String getDisplayName() {
    return "Dune";
}
 
Example #7
Source File: ReasonSettingsConfigurable.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@NotNull
@Nls
@Override
public String getDisplayName() {
    return "Reason";
}
 
Example #8
Source File: FunctionBracesIntention.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getText() {
    return "Add braces to blockless function";
}
 
Example #9
Source File: LegacyClassesForIdeQuickFix.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getName() {
    return "Migrate class usage";
}
 
Example #10
Source File: LegacyClassesForIDEInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #11
Source File: BsToolWindowFactory.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@Nls
@Override
public String getTitle() {
    return "Process";
}
 
Example #12
Source File: CountColorConfiguration.java    From Android-Resource-Usage-Count with MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Android Resource Usage Count";
}
 
Example #13
Source File: BPMNFileEditorMainConfigurable.java    From intellij-bpmn-editor with GNU General Public License v3.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "BPMN Editor";
}
 
Example #14
Source File: ConstantMatcherInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #15
Source File: ClassConstantMatcherInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #16
Source File: FunctionCallMatcherInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #17
Source File: LegacyClassesForIDEInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getDisplayName() {
    return "Legacy class used";
}
 
Example #18
Source File: DuneToolWindowFactory.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@Nls
@Override
public String getTitle() {
    return "Process";
}
 
Example #19
Source File: FunctionBracesIntention.java    From reasonml-idea-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getFamilyName() {
    return "Add braces to blockless function";
}
 
Example #20
Source File: SettingConfigurable.java    From AndroidStringsOneTabTranslation with Apache License 2.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "AndroidStringsOneTabTranslation";
}
 
Example #21
Source File: GenerateSqlXmlIntention.java    From NutzCodeInsight with Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getFamilyName() {
    return "自动创建SqlTpl xml文件";
}
 
Example #22
Source File: ToolConfigurable.java    From NutzCodeInsight with Apache License 2.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "NutzCodeInsight";
}
 
Example #23
Source File: MissingModulePHPInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Sentence)
@NotNull
@Override
public String getDisplayName() {
    return "Missing JavaScript module";
}
 
Example #24
Source File: PluginSettingsConfigurable.java    From IDEA-Native-Terminal-Plugin with MIT License 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Native Terminal Plugin";
}
 
Example #25
Source File: SmartSettingsPanel.java    From SmartIM4IntelliJ with Apache License 2.0 4 votes vote down vote up
@Nls @Override public String getDisplayName() {
    return "SmartIM";
}
 
Example #26
Source File: InternalTypeFileInspection.java    From idea-php-typo3-plugin with MIT License 4 votes vote down vote up
@Nls
@NotNull
@Override
public String getGroupDisplayName() {
    return GroupNames.BUGS_GROUP_NAME;
}
 
Example #27
Source File: IdeaMessages.java    From react-native-console with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Nullable
public static String showInputDialog(@Nullable Project project, @Nls String message, @Nls(capitalization = Nls.Capitalization.Title) String title, @Nullable Icon icon, @Nullable String initialValue, @Nullable InputValidator validator) {
  return IdeaMessages.showInputDialog(project, (Component)null, message, title, icon, initialValue, validator, (TextRange)null);
}
 
Example #28
Source File: Json2JavaConfigurable.java    From json2java4idea with Apache License 2.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return bundle.message("settings.name");
}
 
Example #29
Source File: AppSettingsController.java    From litho with Apache License 2.0 4 votes vote down vote up
@Nls(capitalization = Nls.Capitalization.Title)
@Override
public String getDisplayName() {
  return "Litho";
}
 
Example #30
Source File: BPMNFileEditorDiagramConfigurable.java    From intellij-bpmn-editor with GNU General Public License v3.0 4 votes vote down vote up
@Nls
@Override
public String getDisplayName() {
    return "Diagram";
}