> I do not really see a reason to not have this by default,
> especially given the name "...useful..." :). I would rather want to
> have a setter to disable this, because this is a more rare case.
It depends I guess. Is it useful to have draggable nodes in a system
complexity ? In a UML?
This is a different thing. The popupText will appear only when I
specify one, but by default the mechanism of announcing the popup
should be active.
Cheers,
Doru
Alexandre
>
>
> On 11 Mar 2009, at 13:47, Alexandre Bergel wrote:
>
>> Hi All,
>>
>> Doru emitted a request on Mondrian. I added the class
>> MOFigureSelection to capture when a node is selected.
>> Example in:
>> MOViewRendererTest>>testFigureSelection
>>
>> | view node1 announcer |
>> view := MOViewRenderer new.
>> view setUsefulHandlersForNodes.
>> announcer := view interaction.
>> view nodes: (1 to: 20).
>>
>> node1 := view nodeForDomainValue: 1.
>> self deny: (node1 isSelected).
>> announcer announce: (MOFigureSelection event: nil on: node1).
>> self assert: (node1 isSelected).
>>
>> Note that the message setUsefulHandlersForNodes should be sent to
>> the view. It is automatically sent within an easel. (maybe this is
>> a point we could discuss).
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel
http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
>
www.tudorgirba.com
>
> "If you interrupt the barber while he is cutting your hair, you
> will end up with a messy haircut."
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev