Example usage for com.intellij.openapi.application ApplicationBundle BUNDLE

List of usage examples for com.intellij.openapi.application ApplicationBundle BUNDLE

Introduction

In this page you can find the example usage for com.intellij.openapi.application ApplicationBundle BUNDLE.

Prototype

String BUNDLE

To view the source code for com.intellij.openapi.application ApplicationBundle BUNDLE.

Click Source Link

Usage

From source file:com.intellij.psi.codeStyle.arrangement.std.StdArrangementSettingsToken.java

License:Apache License

@NotNull
public static StdArrangementSettingsToken tokenByBundle(@NotNull String id,
        @NotNull @PropertyKey(resourceBundle = ApplicationBundle.BUNDLE) String key,
        @NotNull StdArrangementTokenType tokenType) {
    return new StdArrangementSettingsToken(id, ApplicationBundle.message(key), tokenType);
}

From source file:com.intellij.psi.codeStyle.arrangement.std.StdArrangementTokens.java

License:Apache License

private static StdArrangementSettingsToken token(@NotNull String id,
        @NotNull @PropertyKey(resourceBundle = ApplicationBundle.BUNDLE) String key,
        @NotNull StdArrangementTokenType type) {
    StdArrangementSettingsToken result = StdArrangementSettingsToken.tokenByBundle(id, key, type);
    TOKENS_BY_ID.put(id, result);/* w w w  . j  a va 2  s . com*/
    return result;
}