protected SingleTokenScanner createSingleTokenScanner(String tokenProperty) {
return new SingleTokenScanner(getTokenStoreFactory(), tokenProperty);
}
protected ITokenStoreFactory getTokenStoreFactory() {
return new ITokenStoreFactory() {
@Override
public ITokenStore createTokenStore(String[] propertyColorNames) {
return new TokenStore(getColorManager2(), getPreferenceStore(), propertyColorNames);
}
};