[kepler-dev] Need Help from the Ptolemy Folks
Rod Spears
rods at ku.edu
Fri Jan 28 08:49:51 PST 2005
I am not sure how the reply got lost.....
But requestChange() worked great!
Thanks,
Rod
Edward A. Lee wrote:
>
> If the change to the port is made via the requestChange() method
> with a MoMLChangeRequest, then the repaint should happen automatically.
> If it is not made via the requestChange() method, then it is likely done
> wrong and will cause problems if the change is made while the model
> is running...
>
> I seem to recall having answered this before (spam filters?).
>
> Edward
>
> At 12:52 PM 1/27/2005 -0600, Rod Spears wrote:
>
>> I sent this question out a while back but didn't really get answer to
>> help me solve the problem, so I will ask again.
>>
>> We configure our port dynamically after the actor is dropped onto the
>> canvas and the new port do not paint until the actor is clicked on
>> and dragged or if a different actor is dropped onto the canvas.
>>
>> I think the real question is: How do I invalidate an actor and cause
>> a "paint" to happen so all the ports are drawn or redrawn?
>>
>> Thanks,
>> Rod
>>
>> _______________________________________________
>> 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-2718
> eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal
More information about the Kepler-dev
mailing list