org.xwiki.gwt.user.client.ui.rta.cmd
Interface SourcesCommandEvents

All Known Subinterfaces:
CommandManager

public interface SourcesCommandEvents

Interface for registering CommandListener.

Version:
$Id: SourcesCommandEvents.java 24900 2009-11-06 16:53:01Z sdumitriu $

Method Summary
 void addCommandListener(CommandListener listener)
          Start listening to the Command events generated by this object.
 void removeCommandListener(CommandListener listener)
          Stop receiving notifications for the Command events generated by this object.
 

Method Detail

addCommandListener

void addCommandListener(CommandListener listener)
Start listening to the Command events generated by this object.

Parameters:
listener - The object to be notified. This listener is added to the collection of listeners notified by this object.

removeCommandListener

void removeCommandListener(CommandListener listener)
Stop receiving notifications for the Command events generated by this object.

Parameters:
listener - The object to be removed from the collection of listeners notified by this object.


Copyright © 2004-2009 XWiki. All Rights Reserved.