dsto.dfc.swt.commands
Interface CustomToolbarCommand

All Known Implementing Classes:
BasicToggleCommand, CmdSetBeanProperty, CmdToggleDataBeanProperty, CmdToggleWindowStyle

public interface CustomToolbarCommand

Interface for commands that wish to provide a custom toolbar UI.

Version:
$Revision$

Method Summary
 CommandToolbarItemProvider createToolbarProvider(CommandView view, org.eclipse.swt.widgets.ToolBar toolbar, int index)
          Create a toolbarUI provider for the command.
 

Method Detail

createToolbarProvider

CommandToolbarItemProvider createToolbarProvider(CommandView view,
                                                 org.eclipse.swt.widgets.ToolBar toolbar,
                                                 int index)
Create a toolbarUI provider for the command.

Parameters:
view - The command view.
toolbar - The host toolbar for the UI.
index - The index for the UI item(s).
Returns:
A CommandMenuItemProvider that provides the UI.


Copyright © 2008 Commonwealth of Australia