dsto.dfc.swing.commands
Interface CommandSource

All Known Implementing Classes:
ClientCommandViews, DfcList, DfcTable, DfcTree, DynamicCommandViews, LogMessageTable, MapTableView, MonitorPanel, PanelManager, PanelManager.Panel, StandardCommandViews, StyleSheetTableView, ToolbarPanel

public interface CommandSource

Defines an object (often a UI component) that exports one or more CommandView's.

Version:
$Revision$
See Also:
CommandView

Method Summary
 CommandView getCommandView(String viewName)
          Get the command view instance for a given view name.
 

Method Detail

getCommandView

CommandView getCommandView(String viewName)
Get the command view instance for a given view name.

Parameters:
viewName - The name of the view to be retrieved. Usually one of CommandView.MAIN_MENU_VIEW, CommandView.CONTEXT_MENU_VIEW or CommandView.TOOLBAR_VIEW, but custom views may be supported also.
Returns:
The command view instance or null if view is not defined.


Copyright © 2008 Commonwealth of Australia