Package org.graffiti.managers
Interface ModeManager
- All Superinterfaces:
PluginManagerListener
- All Known Implementing Classes:
DefaultModeManager
public interface ModeManager extends PluginManagerListener
Provides an interface for a modes manager.
- Version:
- $Revision: 1.5 $
- See Also:
PluginManagerListener
-
Method Summary
Modifier and Type Method Description void
addMode(Mode mode)
Adds the specified mode to the list of modes this manager contains.Mode
getMode(String mode)
Returns the specified mode from the list of modes.void
removeMode(Mode mode)
Removes the specified mode from the list of modes the manager contains.Methods inherited from interface org.graffiti.managers.pluginmgr.PluginManagerListener
pluginAdded
-
Method Details
-
getMode
Returns the specified mode from the list of modes.- Returns:
- the specified mode from the list of modes.
-
addMode
Adds the specified mode to the list of modes this manager contains.- Parameters:
mode
- the mode to be added to the list.
-
removeMode
Removes the specified mode from the list of modes the manager contains.- Parameters:
mode
- the mode to be removed.
-