[Moose-dev] Re: Moose-dev Digest, Vol 38, Issue 16

Simon Denier Simon.Denier at inria.fr
Tue Nov 3 13:16:41 MET 2009


On 3 nov. 2009, at 13:12, Usman Bhatti wrote:

> Thanx a lot for the quick help. I got stuck with the installation of  
> VW and Moose on my new machine.
> I've got moose from this site:
> http://moose.unibe.ch/download/vw
>
> I am running the script provided by Doru with MOOSE.
> | inh |
> view nodes: classGroup.
> view edgeShape: MOOrthoVerticalLineShape new.
> inh := view edgesFrom: #superclass.
> view treeLayout userDefinedEdges: inh.
> view edges: classGroup from: #yourself toAll: #invokedClasses using:
> (MOCurveFitterShape new color: Color red).
>
> However, when I try to run the script on the LAN sample classes,  
> Easel is having difficulty in understanding these two constructs...
> MOOrthoVerticalLineShape and MOCurveFitterShape...

that's normal, there are only parts of Pharo Mondrian. You can find  
easily the replacement in VW by browsing the hierarchy of Shape.

>
> I would like to mention here that I was having difficulty in  
> downloading VW so I downloaded Virtual machine and Required  
> components from this site:
> http://www.cincomsmalltalk.com/scripts/DownloadFiles.ssp
>
> I'm surely missing something here but cannot figure it out.
> And I am sure you people can help :-)
>
>
>
>
> On Fri, Oct 30, 2009 at 5:42 PM, <moose-dev-request at iam.unibe.ch>  
> wrote:
> Send Moose-dev mailing list submissions to
>        moose-dev at iam.unibe.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> or, via email, send a message with subject or body 'help' to
>        moose-dev-request at iam.unibe.ch
>
> You can reach the person managing the list at
>        moose-dev-owner at iam.unibe.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Moose-dev digest..."
>
>
> Today's Topics:
>
>   1. Help needed with class hierarchy visualization (Usman Bhatti)
>   2. Re: Help needed with class hierarchy visualization (Tudor Girba)
>   3. Re: glamour day - november 6 (Simon Denier)
>   4. Re: Help needed with class hierarchy visualization (Simon Denier)
>   5. Re: Help needed with class hierarchy visualization
>      (Alexandre Bergel)
>   6. Re: Help needed with class hierarchy visualization (Tudor Girba)
>   7. Re: Help needed with class hierarchy visualization (Tudor Girba)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 30 Oct 2009 15:05:17 +0500
> From: Usman Bhatti <usman.bhatti at gmail.com>
> Subject: [Moose-dev] Help needed with class hierarchy visualization
> To: moose-dev at iam.unibe.ch
> Message-ID:
>        <716651510910300305x1db798b9p23634f3244b6a7d5 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I am looking to visualize my class hierarchy in moose in such a way  
> that the
> method calls within classes is overlapped over the class hierarchy
> visualization.
>
> In addition to this, I am looking to filter the visualization  
> results by
> specifying invoked methods so that my visualization does not get  
> cluttered
> with all the method calls within the class hierarchy. Can I generate  
> such a
> visualization with Moose?
>
> regards,
>
> Usman
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20091030/2935475a/attachment-0001.html 
> >
>
> ------------------------------
>
> Message: 2
> Date: Fri, 30 Oct 2009 11:21:10 +0100
> From: Tudor Girba <tudor.girba at gmail.com>
> Subject: [Moose-dev] Re: Help needed with class hierarchy
>        visualization
> To: Related to the development of Moose and other related tools
>        <moose-dev at iam.unibe.ch>
> Message-ID: <D4771331-0193-4FF0-BFC3-098FF47C60B0 at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Yes, you can :).
>
> It would be helpful to start by sending to the list the script that
> you tried to create and then we go from there.
>
> Are you using VW or Pharo?
>
> Cheers,
> Doru
>
>
> On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
>
> > Hi all,
> >
> > I am looking to visualize my class hierarchy in moose in such a way
> > that the method calls within classes is overlapped over the class
> > hierarchy visualization.
> >
> > In addition to this, I am looking to filter the visualization
> > results by specifying invoked methods so that my visualization does
> > not get cluttered with all the method calls within the class
> > hierarchy. Can I generate such a visualization with Moose?
> >
> > regards,
> >
> > Usman
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Be rather willing to give than demanding to get."
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 30 Oct 2009 11:42:07 +0100
> From: Simon Denier <Simon.Denier at inria.fr>
> Subject: [Moose-dev] Re: glamour day - november 6
> To: Related to the development of Moose and other related tools
>        <moose-dev at iam.unibe.ch>
> Message-ID: <65A95460-E56E-4B68-9F02-87B66407393A at inria.fr>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
>
>
> Having a closer look at Glamour implementation is on my todo list. Not
> sure I can contribute a lot off-site (and just before Chile) but I
> will check.
> One thing I would like to see/do is a table widget. It is cruelly
> lacking in the Moose finder.
>
> On 27 oct. 2009, at 23:19, Tudor Girba wrote:
>
> > Hi,
> >
> > As you might know, Glamour received the 3rd prize at the ESUG
> > Innovation Awards. Together with the nice diploma, we also received
> > a 200 EUR cash prize.
> >
> > After long deliberations we decided to put this money back to some
> > good use and organize a Glamour Day on November 6:
> > http://moose.unibe.ch/events/2009-11-06-glamour-day
> >
> > The event will be organized in the meeting room of SCG, starting
> > from 10:00, and it will take the form of a sprint in which we can
> > all enjoy the glamorous glamour of Glamour.
> >
> > The prize money will be used to provide (within the mentioned limit)
> > food and beverages.
> >
> > Everyone is welcome. Just, please let us know if you plan to
> > participate.
> >
> > Cheers,
> > The Glamorous Team
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
>  Simon
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 30 Oct 2009 13:31:00 +0100
> From: Simon Denier <Simon.Denier at inria.fr>
> Subject: [Moose-dev] Re: Help needed with class hierarchy
>        visualization
> To: Related to the development of Moose and other related tools
>        <moose-dev at iam.unibe.ch>
> Message-ID: <BCE97970-168B-4BAF-A8E8-2B6F3D922B8D at inria.fr>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
>
>
> On 30 oct. 2009, at 11:21, Tudor Girba wrote:
>
> > Yes, you can :).
> >
> > It would be helpful to start by sending to the list the script that
> > you tried to create and then we go from there.
>
> As a starter, you can try the following script in a MOEasel
>
> view nodes: classGroup.
> view edgeShape: MOOrthoVerticalLineShape new.
> view edgesFrom: #superclass.
> view treeLayout.
> view edges: classGroup from: #yourself toAll: #invokedClasses using:
> (MOCurveFitterShape new color: Color red).
>
>
> It needs much polishing to make it more readable/usable though
> (beginning with filtering the invokedClasses like you want)
>
>
> >
> > Are you using VW or Pharo?
> >
> > Cheers,
> > Doru
> >
> >
> > On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
> >
> >> Hi all,
> >>
> >> I am looking to visualize my class hierarchy in moose in such a way
> >> that the method calls within classes is overlapped over the class
> >> hierarchy visualization.
> >>
> >> In addition to this, I am looking to filter the visualization
> >> results by specifying invoked methods so that my visualization does
> >> not get cluttered with all the method calls within the class
> >> hierarchy. Can I generate such a visualization with Moose?
> >>
> >> regards,
> >>
> >> Usman
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev at iam.unibe.ch
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > www.tudorgirba.com
> >
> > "Be rather willing to give than demanding to get."
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
>  Simon
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 30 Oct 2009 09:39:16 -0300
> From: Alexandre Bergel <alexandre at bergel.eu>
> Subject: [Moose-dev] Re: Help needed with class hierarchy
>        visualization
> To: Related to the development of Moose and other related tools
>        <moose-dev at iam.unibe.ch>
> Message-ID: <2BD5AAD5-7C77-4F84-BCB9-B40A4FD835FE at bergel.eu>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> I like your script. But when I import Smalltalk code, invokedClasses
> remains empty. Is this normal?
>
> Alexandre
>
>
> On 30 Oct 2009, at 09:31, Simon Denier wrote:
>
> >
> > On 30 oct. 2009, at 11:21, Tudor Girba wrote:
> >
> >> Yes, you can :).
> >>
> >> It would be helpful to start by sending to the list the script that
> >> you tried to create and then we go from there.
> >
> > As a starter, you can try the following script in a MOEasel
> >
> > view nodes: classGroup.
> > view edgeShape: MOOrthoVerticalLineShape new.
> > view edgesFrom: #superclass.
> > view treeLayout.
> > view edges: classGroup from: #yourself toAll: #invokedClasses using:
> > (MOCurveFitterShape new color: Color red).
> >
> >
> > It needs much polishing to make it more readable/usable though
> > (beginning with filtering the invokedClasses like you want)
> >
> >
> >>
> >> Are you using VW or Pharo?
> >>
> >> Cheers,
> >> Doru
> >>
> >>
> >> On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
> >>
> >>> Hi all,
> >>>
> >>> I am looking to visualize my class hierarchy in moose in such a
> >>> way that the method calls within classes is overlapped over the
> >>> class hierarchy visualization.
> >>>
> >>> In addition to this, I am looking to filter the visualization
> >>> results by specifying invoked methods so that my visualization
> >>> does not get cluttered with all the method calls within the class
> >>> hierarchy. Can I generate such a visualization with Moose?
> >>>
> >>> regards,
> >>>
> >>> Usman
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> Moose-dev at iam.unibe.ch
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >> --
> >> www.tudorgirba.com
> >>
> >> "Be rather willing to give than demanding to get."
> >>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev at iam.unibe.ch
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > Simon
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 30 Oct 2009 13:40:16 +0100
> From: Tudor Girba <tudor.girba at gmail.com>
> Subject: [Moose-dev] Re: Help needed with class hierarchy
>        visualization
> To: Related to the development of Moose and other related tools
>        <moose-dev at iam.unibe.ch>
> Message-ID: <FAE5ACB9-EB14-4181-A198-2311C0957E94 at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi,
>
> To make sure that the tree shows the inheritance relationships you
> also have to make sure that you tell the treeLayout to only consider
> the inheritance edges:
>
> | inh |
> view nodes: classGroup.
> view edgeShape: MOOrthoVerticalLineShape new.
> inh := view edgesFrom: #superclass.
> view treeLayout userDefinedEdges: inh.
> view edges: classGroup from: #yourself toAll: #invokedClasses using:
> (MOCurveFitterShape new color: Color red).
>
>
> Cheers,
> Doru
>
>
> On 30 Oct 2009, at 13:31, Simon Denier wrote:
>
> >
> > On 30 oct. 2009, at 11:21, Tudor Girba wrote:
> >
> >> Yes, you can :).
> >>
> >> It would be helpful to start by sending to the list the script that
> >> you tried to create and then we go from there.
> >
> > As a starter, you can try the following script in a MOEasel
> >
> > view nodes: classGroup.
> > view edgeShape: MOOrthoVerticalLineShape new.
> > view edgesFrom: #superclass.
> > view treeLayout.
> > view edges: classGroup from: #yourself toAll: #invokedClasses using:
> > (MOCurveFitterShape new color: Color red).
> >
> >
> > It needs much polishing to make it more readable/usable though
> > (beginning with filtering the invokedClasses like you want)
> >
> >
> >>
> >> Are you using VW or Pharo?
> >>
> >> Cheers,
> >> Doru
> >>
> >>
> >> On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
> >>
> >>> Hi all,
> >>>
> >>> I am looking to visualize my class hierarchy in moose in such a
> >>> way that the method calls within classes is overlapped over the
> >>> class hierarchy visualization.
> >>>
> >>> In addition to this, I am looking to filter the visualization
> >>> results by specifying invoked methods so that my visualization
> >>> does not get cluttered with all the method calls within the class
> >>> hierarchy. Can I generate such a visualization with Moose?
> >>>
> >>> regards,
> >>>
> >>> Usman
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> Moose-dev at iam.unibe.ch
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >> --
> >> www.tudorgirba.com
> >>
> >> "Be rather willing to give than demanding to get."
> >>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev at iam.unibe.ch
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > Simon
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Not knowing how to do something is not an argument for how it cannot
> be done."
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 30 Oct 2009 13:41:48 +0100
> From: Tudor Girba <tudor.girba at gmail.com>
> Subject: [Moose-dev] Re: Help needed with class hierarchy
>        visualization
> To: Related to the development of Moose and other related tools
>        <moose-dev at iam.unibe.ch>
> Message-ID: <F5CDC499-2517-415D-841C-09AC0A2DDEE1 at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> No, it's not normal.
>
> Did you run the visualization on all classes? There will be no edges
> if you do not show both the source and the target.
>
> Cheers,
> Doru
>
>
> On 30 Oct 2009, at 13:39, Alexandre Bergel wrote:
>
> > I like your script. But when I import Smalltalk code, invokedClasses
> > remains empty. Is this normal?
> >
> > Alexandre
> >
> >
> > On 30 Oct 2009, at 09:31, Simon Denier wrote:
> >
> >>
> >> On 30 oct. 2009, at 11:21, Tudor Girba wrote:
> >>
> >>> Yes, you can :).
> >>>
> >>> It would be helpful to start by sending to the list the script
> >>> that you tried to create and then we go from there.
> >>
> >> As a starter, you can try the following script in a MOEasel
> >>
> >> view nodes: classGroup.
> >> view edgeShape: MOOrthoVerticalLineShape new.
> >> view edgesFrom: #superclass.
> >> view treeLayout.
> >> view edges: classGroup from: #yourself toAll: #invokedClasses
> >> using: (MOCurveFitterShape new color: Color red).
> >>
> >>
> >> It needs much polishing to make it more readable/usable though
> >> (beginning with filtering the invokedClasses like you want)
> >>
> >>
> >>>
> >>> Are you using VW or Pharo?
> >>>
> >>> Cheers,
> >>> Doru
> >>>
> >>>
> >>> On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
> >>>
> >>>> Hi all,
> >>>>
> >>>> I am looking to visualize my class hierarchy in moose in such a
> >>>> way that the method calls within classes is overlapped over the
> >>>> class hierarchy visualization.
> >>>>
> >>>> In addition to this, I am looking to filter the visualization
> >>>> results by specifying invoked methods so that my visualization
> >>>> does not get cluttered with all the method calls within the class
> >>>> hierarchy. Can I generate such a visualization with Moose?
> >>>>
> >>>> regards,
> >>>>
> >>>> Usman
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> Moose-dev at iam.unibe.ch
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> www.tudorgirba.com
> >>>
> >>> "Be rather willing to give than demanding to get."
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> Moose-dev at iam.unibe.ch
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >> --
> >> Simon
> >>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> Moose-dev at iam.unibe.ch
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > Moose-dev at iam.unibe.ch
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Speaking louder won't make the point worthier."
>
>
>
> ------------------------------
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev at iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> End of Moose-dev Digest, Vol 38, Issue 16
> *****************************************
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev at iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
  Simon



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20091103/e8b7de74/attachment-0001.html>


More information about the Moose-dev mailing list