Search in sources :

Example 1 with XMLTitleScanner

use of com.cubrid.tool.editor.xml.scanner.XMLTitleScanner in project cubrid-manager by CUBRID.

the class XMLConfiguration method getXMLScanner.

/**
	 * Retrieves the XML Scanner.
	 * 
	 * @return scanner
	 */
protected XMLTitleScanner getXMLScanner() {
    if (scanner == null) {
        scanner = new XMLTitleScanner(colorManager);
        scanner.setDefaultReturnToken(new Token(new TextAttribute(colorManager.getColor(IXMLColorConstants.DEFAULT))));
    }
    return scanner;
}
Also used : XMLTitleScanner(com.cubrid.tool.editor.xml.scanner.XMLTitleScanner) TextAttribute(org.eclipse.jface.text.TextAttribute) Token(org.eclipse.jface.text.rules.Token)

Aggregations

XMLTitleScanner (com.cubrid.tool.editor.xml.scanner.XMLTitleScanner)1 TextAttribute (org.eclipse.jface.text.TextAttribute)1 Token (org.eclipse.jface.text.rules.Token)1