siouxsie.desktop.commands.impl
Class CommandsHandler

java.lang.Object
  extended by siouxsie.desktop.commands.impl.CommandsHandler

public class CommandsHandler
extends java.lang.Object

Commands handler. Creates menu bar and tool bar for applications.

Version:
$Id$
Author:
Arnaud Cogoluegnes

Constructor Summary
CommandsHandler()
           
 
Method Summary
 javax.swing.JMenuBar getAppMenuBar(java.lang.String appId)
           
 javax.swing.JToolBar getAppToolBar(java.lang.String appId)
           
 org.pietschy.command.ActionCommand getCommand(java.lang.String commandId)
          Return a command from its id.
 java.util.List<CommandDescription> getCommandDescriptions()
           
 ICommandInitializer getCommandInitializerService()
           
 java.util.List<CommandManagerListenerContribution> getCommandManagerListeners()
           
 IExceptionHandler getExceptionHandler()
           
 java.util.List<Face> getFaces()
           
 java.util.List<Group> getGroups()
           
 ICommand getSiouxsieCommand(java.lang.String id)
           
 void init()
           
 void setCommandDescriptions(java.util.List<CommandDescription> commandDescriptions)
           
 void setCommandInitializerService(ICommandInitializer commandInitializerService)
           
 void setCommandManagerListeners(java.util.List<CommandManagerListenerContribution> commandManagerListeners)
           
 void setExceptionHandler(IExceptionHandler exceptionHandler)
           
 void setFaces(java.util.List<Face> faces)
           
 void setGroups(java.util.List<Group> groups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandsHandler

public CommandsHandler()
Method Detail

getCommandInitializerService

public ICommandInitializer getCommandInitializerService()

setCommandInitializerService

public void setCommandInitializerService(ICommandInitializer commandInitializerService)

getFaces

public java.util.List<Face> getFaces()

setFaces

public void setFaces(java.util.List<Face> faces)

init

public void init()

getCommandDescriptions

public java.util.List<CommandDescription> getCommandDescriptions()

setCommandDescriptions

public void setCommandDescriptions(java.util.List<CommandDescription> commandDescriptions)

getGroups

public java.util.List<Group> getGroups()

setGroups

public void setGroups(java.util.List<Group> groups)

getCommand

public org.pietschy.command.ActionCommand getCommand(java.lang.String commandId)
Return a command from its id.

Parameters:
commandId -
Returns:

getAppMenuBar

public javax.swing.JMenuBar getAppMenuBar(java.lang.String appId)

getAppToolBar

public javax.swing.JToolBar getAppToolBar(java.lang.String appId)

getSiouxsieCommand

public ICommand getSiouxsieCommand(java.lang.String id)

getCommandManagerListeners

public java.util.List<CommandManagerListenerContribution> getCommandManagerListeners()

setCommandManagerListeners

public void setCommandManagerListeners(java.util.List<CommandManagerListenerContribution> commandManagerListeners)

getExceptionHandler

public IExceptionHandler getExceptionHandler()

setExceptionHandler

public void setExceptionHandler(IExceptionHandler exceptionHandler)


Copyright © 2006-2008 null. All Rights Reserved.