}
private RtePlugin buildKeysPlugin(RichTextEditor rteAnnotation) {
if (rteAnnotation.keys().length > 0) {
Keys keysAnnotation = rteAnnotation.keys()[0];
KeysRtePluginParameters keysParameters = new KeysRtePluginParameters();
if (!keysAnnotation.tabSize().equals("")) {
keysParameters.setTabSize(keysAnnotation.tabSize());
}
return new KeysRtePlugin(keysParameters);
}
return null;