Show
Ignore:
Timestamp:
12/17/06 01:19:39 (2 years ago)
Author:
timothy
Message:

Allow plugins and scripts to supply toolbar items that the user can add along side the standard Colloquy items. If a plugin or script supplies toolbar items they will show up in the toolbar customize sheet like the other items.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/SDK/Python/Template.py

    r3426 r3464  
    1313# return an array of NSMenuItems that should be dispalyed for 'item' associated with 'view' 
    1414def contextualMenuItems( item, view ): 
     15        pass 
     16 
     17# return an array of toolbar item identifier strings that can be associated with 'view' 
     18def toolbarItemIdentifiers( view ): 
     19        pass 
     20 
     21# return an NSToolbarItem for 'identifier' associated with 'view' 
     22def toolbarItem( identifier, view, willBeInserted ): 
     23        pass 
     24 
     25# perform the action associated with 'toolbarItem' for 'view' 
     26def handleClickedToolbarItem( toolbarItem, view ): 
    1527        pass 
    1628