mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Elaboration on what types pebbles may comprise.
Author:vwheeler Date:2014-04-30T04:38:54.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1357 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -37,7 +37,7 @@ A simple example of this is demonstrated here:
|
||||
|
||||
Because <eiffel>print</eiffel> takes an argument of type [[ref:/libraries/base/reference/string_8_chart|STRING_8]], button2 becomes a valid drop-target for the pebble contained by button1. Right clicking the mouse pointer over the '''source''' will start the transport, and right clicking with the mouse pointer over a valid '''target''' will complete the transport. The transport can be canceled anytime with a simple left click, just as you would do in EiffelStudio.
|
||||
|
||||
{{note|When a transport completes, the '''pebble''' that was transported is passed as an argument to all features in the '''targets''' drop_actions whose argument type matches the '''pebble'''. <br><br>}}
|
||||
{{note|Any type of object can be used as the '''pebble'''. When a transport completes, the '''pebble''' that was transported is passed as an argument to all agents in the '''target's''' <code>drop_actions</code> list to which the '''pebble''' [[uuid:b8c10baa-4f50-adfe-a6f8-9cb56a8f1917#Conformance|conforms]]. <br><br>}}
|
||||
|
||||
|
||||
==Three Different Modes of Transport==
|
||||
|
||||
Reference in New Issue
Block a user