Message Prompter actions
destroyPart
The destroyPart action destroys the part and its children, and releases all associated resources. You can use this action for both visual and nonvisual parts. All connections to the destroyed part are removed.
prompt
The prompt action displays the prompter.
promptFor:
The promptFor: action displays the prompter for any window part or any children of a window part. You connect the self attribute of the window part to the promptFor: action of the prompter part.
You can connect the self attribute of the window part to the promptFor: action of the prompter part to display the prompter for a window.
In addition, you can connect an AbtError object to the argument of the promptFor: action. When a method associated with a public interface action returns an AbtError instance this will cause the errorResult event to be fired rather than the normalResult. The errorResult of the event to action connection can be connected to the promptFor: action of a message prompter and, if the method returns an AbtError instance, the prompter will appear showing details of the AbtError.
Note:
For this special usage of the Message Prompter part, any preset values (from a Settings View, a Property Sheet, or a script) are ignored for the messageText and title attributes. The values for the messageText and title attributes are always taken from the AbtError object.
Last modified date: 01/29/2015