| Inherits from | |
| Framework | /System/Library/Frameworks/Automator.framework |
| Availability | Available in Mac OS X v10.5 and later.
|
| Declared in | AMWorkflowView.h |
| Companion guides |
You use the AMWorkflowView class to provide viewing and editing of Automator workflows in your application. You use an instance of AMWorkflow to instantiate a workflow and an instance of AMWorkflowController to control its execution. Together, these three classes provide a Model-View-Controller suite for working with workflows.
You can use Interface Builder to add an instance of AMWorkflowView to a window in your application. You can then add an AMWorkflowController object to the nib window and use the controller’s workflowView outlet to connect it to the workflow view. The controller object also has run and stop actions that can be connected to buttons or other user interface elements.
Returns a Boolean value indicating whether the workflow view is editable.
- (BOOL)isEditable
YES if the workflow view is editable, otherwise NO.
AMWorkflowView.hSets whether the workflow view is editable.
- (void)setEditable:(BOOL)flag
YES to make the workflow view editable, otherwise NO.
AMWorkflowView.hSets the receiver’s controller to the passed workflow controller.
- (void)setWorkflowController:(AMWorkflowController *)workflowController
The controller to set for the receiver.
Returns the receiver’s workflow controller.
- (AMWorkflowController *)workflowController
The receiver’s workflow controller, or nil if it doesn’t have a controller.
Last updated: 2006-11-09