Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

AMWorkflowView Class Reference

Inherits from
Framework
/System/Library/Frameworks/Automator.framework
Availability
Available in Mac OS X v10.5 and later.
Declared in
AMWorkflowView.h
Companion guides

Overview

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.

Tasks

Configuring the Workflow View

Instance Methods

isEditable

Returns a Boolean value indicating whether the workflow view is editable.

- (BOOL)isEditable

Return Value

YES if the workflow view is editable, otherwise NO.

Availability
Declared In
AMWorkflowView.h

setEditable:

Sets whether the workflow view is editable.

- (void)setEditable:(BOOL)flag

Parameters
flag

YES to make the workflow view editable, otherwise NO.

Availability
Declared In
AMWorkflowView.h

setWorkflowController:

Sets the receiver’s controller to the passed workflow controller.

- (void)setWorkflowController:(AMWorkflowController *)workflowController

Parameters
workflowController

The controller to set for the receiver.

workflowController

Returns the receiver’s workflow controller.

- (AMWorkflowController *)workflowController

Return Value

The receiver’s workflow controller, or nil if it doesn’t have a controller.



Next Page > Hide TOC


Last updated: 2006-11-09




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice