Package at.bestsolution.efxclipse.text.jface.rules

Examples of at.bestsolution.efxclipse.text.jface.rules.SingleLineRule


    List<IRule> rules= new ArrayList<IRule>();

    // Add rule for character constants.
    Token token= getToken(ResourceProvider.JAVA_STRING);
    rules.add(new SingleLineRule("'", "'", token, '\\')); //$NON-NLS-2$ //$NON-NLS-1$


    Token defaultToken= getToken(ResourceProvider.JAVA_DEFAULT);
   
    // Add generic whitespace rule.
View Full Code Here


    list.add(wordRule);


    // Add rule for links.
    token= getToken(ResourceProvider.JAVADOC_LINK);
    list.add(new SingleLineRule("{@link", "}", token)); //$NON-NLS-2$ //$NON-NLS-1$
    list.add(new SingleLineRule("{@value", "}", token)); //$NON-NLS-2$ //$NON-NLS-1$
    list.add(new SingleLineRule("{@inheritDoc", "}", token)); //$NON-NLS-2$ //$NON-NLS-1$


    // Add generic whitespace rule.
    token= getToken(ResourceProvider.JAVADOC_DEFAULT);
    list.add(new WhitespaceRule(new JavaWhitespaceDetector(), token));
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.text.jface.rules.SingleLineRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.