|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator
public abstract class AbstractSeparator
Abstract separator.
| Constructor Summary | |
|---|---|
AbstractSeparator(java.lang.String role)
Creates a new separator for the given extension point. |
|
| Method Summary | |
|---|---|
java.lang.String |
getRole()
|
boolean |
isEnabled(java.lang.String feature)
Tells if the given feature is enabled in the current context. |
void |
setEnabled(java.lang.String feature,
boolean enabled)
Enables or disables the given feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.gwt.wysiwyg.client.plugin.UIExtension |
|---|
getFeatures, getUIObject |
| Constructor Detail |
|---|
public AbstractSeparator(java.lang.String role)
role - the name of the extension point for which the new separator is created.| Method Detail |
|---|
public java.lang.String getRole()
getRole in interface UIExtensionUIExtension.getRole()public boolean isEnabled(java.lang.String feature)
isEnabled in interface UIExtensionfeature - The feature whose enabled state is queried.
true if the specified feature is enabled.UIExtension.isEnabled(String)
public void setEnabled(java.lang.String feature,
boolean enabled)
setEnabled in interface UIExtensionfeature - The feature to enable or disable.enabled - true if the specified feature should be enabled.UIExtension.setEnabled(String, boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||