A class which provides information about a specific tool. More...
#import <xap_CocoaPlugin.h>
Public Member Functions | |
(NSString *) | - identifier |
Each tool, for a given provider, has a unique identifier. | |
(NSString *) | - description |
The description is the tooltip or menu item name for this tool. | |
(void) | - setProvider: |
When a tool is added to a tool provider, the provider sends a setProvider: message to the tool. | |
(id< NSObject, XAP_CocoaPlugin_ToolProvider >) | - provider |
The tool provider which owns the tool. | |
(id< NSObject, XAP_CocoaPlugin_ToolInstance >) | - tool |
Multiple toolbar buttons can be created for a particular tool. |
A class which provides information about a specific tool.
Any given tool may have any number of buttons (or menu items) in any number of toolbars; the XAP_CocoaPlugin_Tool object is used to create instances of these.
- (NSString *) description |
The description is the tooltip or menu item name for this tool.
Reimplemented in AP_CocoaTool.
Referenced by XAP_CocoaToolProvider::toolDescription:.
- (NSString *) identifier |
Each tool, for a given provider, has a unique identifier.
Reimplemented in AP_CocoaTool.
Referenced by XAP_CocoaToolProvider::addTool:.
- (id <NSObject, XAP_CocoaPlugin_ToolProvider>) provider |
The tool provider which owns the tool.
Reimplemented in AP_CocoaTool.
- (void) setProvider: | (id< NSObject, XAP_CocoaPlugin_ToolProvider >) | provider |
When a tool is added to a tool provider, the provider sends a setProvider: message to the tool.
provider | The tool provider which has assumed ownership of this tool, or nil if the provider has removed the tool from its list. (Internal use only.) |
Referenced by XAP_CocoaToolProvider::addTool:.
- (id <NSObject, XAP_CocoaPlugin_ToolInstance>) tool |
Multiple toolbar buttons can be created for a particular tool.
This method instantiates a new tool object which manages a toolbar button and, optionally, a menu item.
Reimplemented in AP_CocoaTool.