net.sourceforge.geeboss.model.editors
Class EditorsManager

java.lang.Object
  extended by net.sourceforge.geeboss.model.editors.EditorsManager
All Implemented Interfaces:
LoadConfigurationSupport
Direct Known Subclasses:
MemoryEditorsManager

public abstract class EditorsManager
extends java.lang.Object
implements LoadConfigurationSupport

Base class for editors managers in the geeboss application

Author:
Frederic BORRY

Constructor Summary
EditorsManager(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create a MemoryManager given it's configuration
 
Method Summary
abstract  EditorHandler createEditorHandlerInstance(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create an editor handler instance for this manager given the editor's configuration
 EditorHandler[] getEditorHandlers()
          Returns all handlers
 EditorHandler[] getPedalHandlers()
          Returns all the pedal handlers
 void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Load this EditorsManager's configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorsManager

public EditorsManager(org.apache.avalon.framework.configuration.Configuration configuration,
                      GeebossContainer container)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Create a MemoryManager given it's configuration

Parameters:
configuration - the configuration object
container - the geeboss container
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

getPedalHandlers

public EditorHandler[] getPedalHandlers()
Returns all the pedal handlers

Returns:
all the pedal handlers

getEditorHandlers

public EditorHandler[] getEditorHandlers()
Returns all handlers

Returns:
all handlers

createEditorHandlerInstance

public abstract EditorHandler createEditorHandlerInstance(org.apache.avalon.framework.configuration.Configuration configuration,
                                                          GeebossContainer container)
                                                   throws org.apache.avalon.framework.configuration.ConfigurationException
Create an editor handler instance for this manager given the editor's configuration

Parameters:
configuration - the editor's configuraion
container - the geeboss container
Returns:
the created EditorHandler instance
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

loadConfiguration

public void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
                              GeebossContainer container)
                       throws org.apache.avalon.framework.configuration.ConfigurationException
Load this EditorsManager's configuration

Specified by:
loadConfiguration in interface LoadConfigurationSupport
Parameters:
configuration - the configuration object
container - the geeboss container
Throws:
org.apache.avalon.framework.configuration.ConfigurationException


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.