org.xwiki.gwt.wysiwyg.client.plugin.separator
Class AbstractSeparator

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator
All Implemented Interfaces:
UIExtension
Direct Known Subclasses:
MenuBarSeparator, ToolBarSeparator

public abstract class AbstractSeparator
extends Object
implements UIExtension

Abstract separator.

Version:
$Id$

Constructor Summary
AbstractSeparator(String role)
          Creates a new separator for the given extension point.
 
Method Summary
 String getRole()
          
 boolean isEnabled(String feature)
          
 void setEnabled(String feature, boolean enabled)
          
 
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

AbstractSeparator

public AbstractSeparator(String role)
Creates a new separator for the given extension point.

Parameters:
role - the name of the extension point for which the new separator is created.
Method Detail

getRole

public String getRole()

Specified by:
getRole in interface UIExtension
See Also:
UIExtension.getRole()

isEnabled

public boolean isEnabled(String feature)

Specified by:
isEnabled in interface UIExtension
See Also:
UIExtension.isEnabled(String)

setEnabled

public void setEnabled(String feature,
                       boolean enabled)

Specified by:
setEnabled in interface UIExtension
See Also:
UIExtension.setEnabled(String, boolean)


Copyright © 2004-2012 XWiki. All Rights Reserved.