What DCRTFocusable is about?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

What DCRTFocusable is about?

abergel
Hi!

I do not get an example with DCRTFocusable. What does this interaction do? I tried the following and it does not seem to do much.

-=-=-=-=-=-=
b := RTMondrian new.
b shape rectangle width: #numberOfVariables; height: #numberOfMethods.
ns := b nodes: RTShape withAllSubclasses.

es := b edges connectFrom: #superclass.
es @ DCRTFocusable.
b layout tree.
b
-=-=-=-=-=-=

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: What DCRTFocusable is about?

Peter Uhnak
Hi Alex,

We use it to show that an element is selected (focused), but currently it doesn't work very well.
Since yesterday you've added the event observer, so I will rewrite it later today.

However I don't see a use case for it in pure Roassal.

Peter

From: [hidden email]
Sent: ‎7/‎26/‎2015 1:51 PM
To: [hidden email]
Subject: [Moose-dev] What DCRTFocusable is about?

Hi!

I do not get an example with DCRTFocusable. What does this interaction do? I tried the following and it does not seem to do much.

-=-=-=-=-=-=
b := RTMondrian new.
b shape rectangle width: #numberOfVariables; height: #numberOfMethods.
ns := b nodes: RTShape withAllSubclasses.

es := b edges connectFrom: #superclass.
es @ DCRTFocusable.
b layout tree.
b
-=-=-=-=-=-=

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: What DCRTFocusable is about?

abergel
Ok!

Alexandre


> On Jul 26, 2015, at 2:00 PM, Peter Uhnak <[hidden email]> wrote:
>
> Hi Alex,
>
> We use it to show that an element is selected (focused), but currently it doesn't work very well.
> Since yesterday you've added the event observer, so I will rewrite it later today.
>
> However I don't see a use case for it in pure Roassal.
>
> Peter
> From: Alexandre Bergel
> Sent: ‎7/‎26/‎2015 1:51 PM
> To: Moose-related development
> Subject: [Moose-dev] What DCRTFocusable is about?
>
> Hi!
>
> I do not get an example with DCRTFocusable. What does this interaction do? I tried the following and it does not seem to do much.
>
> -=-=-=-=-=-=
> b := RTMondrian new.
> b shape rectangle width: #numberOfVariables; height: #numberOfMethods.
> ns := b nodes: RTShape withAllSubclasses.
>
> es := b edges connectFrom: #superclass.
> es @ DCRTFocusable.
> b layout tree.
> b
> -=-=-=-=-=-=
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev