dsto.dfc.swing.panels
Class ClientCommandViews

java.lang.Object
  extended by dsto.dfc.swing.panels.StandardCommandViews
      extended by dsto.dfc.swing.panels.ClientCommandViews
All Implemented Interfaces:
CommandSource
Direct Known Subclasses:
DynamicCommandViews

public class ClientCommandViews
extends StandardCommandViews

A Client Command View alters the commands visible on the main menu, context menu, and tool bar for a changing client. When the client changes: a) the old clients commands are removed from the command views b) the new clients commands are added to the command views

Version:
$Revision$
Author:
Peter J Smet

Constructor Summary
ClientCommandViews()
           
 
Method Summary
 void addClientCommands()
           
protected  void moveClientMenu(String commandViewName, dsto.dfc.swing.panels.ClientCommandViews.MenuMover menuMover)
           
protected  void moveClientMenus(dsto.dfc.swing.panels.ClientCommandViews.MenuMover menuMover)
           
 void removeClientCommands()
           
 void setClient(Object commandSourceOrNull)
           
 
Methods inherited from class dsto.dfc.swing.panels.StandardCommandViews
addCommand, addCommands, getCommandView, removeCommands, setDefaultCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientCommandViews

public ClientCommandViews()
Method Detail

setClient

public void setClient(Object commandSourceOrNull)

removeClientCommands

public void removeClientCommands()

addClientCommands

public void addClientCommands()

moveClientMenus

protected void moveClientMenus(dsto.dfc.swing.panels.ClientCommandViews.MenuMover menuMover)

moveClientMenu

protected void moveClientMenu(String commandViewName,
                              dsto.dfc.swing.panels.ClientCommandViews.MenuMover menuMover)


Copyright © 2008 Commonwealth of Australia