[kepler-dev] D&D Canvas Question

Edward A Lee eal at eecs.berkeley.edu
Tue Sep 14 08:52:13 PDT 2004


Hmm... Then you've completely changed the drag and drop
mechanism, so I have no idea how it works...

Note that the original mechanism was carefully architected
so that you could safely drop an object onto an executing model...
It does this using a MoMLChangeRequest.

Edward

At 10:04 AM 9/14/2004 -0500, Rod Spears wrote:
>Our data source objects have already been constructed prior to dropping 
>them onto the canvas, so when they are dropped their icon and location 
>changes, but a new one is not constructed.
>
>Rod
>
>
>Edward A Lee wrote:
>>At 06:18 PM 9/13/2004 -0500, Rod Spears wrote:
>>>Is there a notification to "actor" when it is dropped onto the canvas 
>>>(from the lefthand panel)?
>>>
>>>I see several differ attributes getting changed....(like _location, 
>>>_icon, etc).
>>>
>>>Thanks,
>>>Rod
>>
>>When it is dropped, the actor is constructed from a MoML description.
>>Its constructor is called with the container and name as an argument...
>>So there is no pre-existing actor to "notify"...
>>
>>Edward
>>
>>
>>------------
>>Edward A. Lee, Professor
>>518 Cory Hall, UC Berkeley, Berkeley, CA 94720
>>phone: 510-642-0455, fax: 510-642-2739
>><mailto:eal at eecs.Berkeley.EDU>eal at eecs.Berkeley.EDU, 
>>http://ptolemy.eecs.berkeley.edu/~eal
>
>
>--
>Rod Spears
>Biodiversity Research Center
>University of Kansas
>1345 Jayhawk Boulevard
>Lawrence, KS 66045, USA
>Tel: 785 864-4082, Fax: 785 864-5335
>_______________________________________________ kepler-dev mailing list 
>kepler-dev at ecoinformatics.org 
>http://www.ecoinformatics.org/mailman/listinfo/kepler-dev

------------
Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal




More information about the Kepler-dev mailing list