Java Code Examples for org.fife.ui.rsyntaxtextarea.SyntaxConstants#SYNTAX_STYLE_JSON

The following examples show how to use org.fife.ui.rsyntaxtextarea.SyntaxConstants#SYNTAX_STYLE_JSON . 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: JsonFileTreeNodeFactoryProvider.java    From jd-gui with GNU General Public License v3.0 5 votes vote down vote up
@Override
@SuppressWarnings("unchecked")
public <T extends JComponent & UriGettable> T createPage(API api) {
    return (T)new TextFileTreeNodeFactoryProvider.Page(entry) {
        @Override public String getSyntaxStyle() { return SyntaxConstants.SYNTAX_STYLE_JSON; }
    };
}
 
Example 2
Source File: ZestEngineWrapper.java    From zap-extensions with Apache License 2.0 4 votes vote down vote up
@Override
public String getSyntaxStyle() {
    return SyntaxConstants.SYNTAX_STYLE_JSON;
}