public interface UIExtension
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFeatures()
Examples of features are: bold, justifyright and macro.
|
String |
getRole() |
com.google.gwt.user.client.ui.UIObject |
getUIObject(String feature)
It can be a button, a menu item, a label or any other
UIObject-derived instance. |
boolean |
isEnabled(String feature)
Tells if the given feature is enabled in the current context.
|
void |
setEnabled(String feature,
boolean enabled)
Enables or disables the given feature.
|
String[] getFeatures()
com.google.gwt.user.client.ui.UIObject getUIObject(String feature)
UIObject-derived instance.feature - One of the features provided by the editor's plug-ins and supported by the underlying text area.String getRole()
void setEnabled(String feature, boolean enabled)
feature - The feature to enable or disable.enabled - true if the specified feature should be enabled.boolean isEnabled(String feature)
feature - The feature whose enabled state is queried.true if the specified feature is enabled.org.xwiki.gwt.wysiwyg.client.syntax.SyntaxValidatorCopyright © 2004–2015 XWiki. All rights reserved.