Hi,
I am trying to replicate the figure present on the following webpage:
The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: |famixClasses|
famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). view shape rectangle withText size: 10. view nodes: famixClasses.
view shape: (MOOrthoHorizontalLineShape new). view edgesFrom: #superclass. view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. thanx Usman _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
I think you want to use MORectangleShape>>text: it takes a one-argument block, the argument will be the famixclass that the shape is representing. On 13 Sep 2011, at 12:14, Usman Bhatti wrote: Hi, ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Usman Bhatti
|famixClasses|
famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). "view shape rectangle withText size: 10." view shape: (UMLClassDiagram new umlShape). view nodes: famixClasses. view shape: (MOOrthoHorizontalLineShape new). view edgesFrom: #superclass. view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. Cheers, Alexandre On 13 Sep 2011, at 12:14, Usman Bhatti wrote: > Hi, > > I am trying to replicate the figure present on the following webpage: > http://www.themoosebook.org/book/internals/famix/core > > The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: > > |famixClasses| > famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). > view shape rectangle withText size: 10. > view nodes: famixClasses. > view shape: (MOOrthoHorizontalLineShape new). > view edgesFrom: #superclass. > view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. > > I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. > > thanx > Usman > > _______________________________________________ > 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 |
Alex, that is not good because it shows the methods of the Smalltalk class :). Now that you mentioned it, UMLClassDiagram should be removed and instead we should simply use MOShapeSelector>>umlClassWithTitle:
Usman, please load the latest Moose-MondrianPaintings you can simply use: MOFameView new openOn: MooseModel meta And you can simply tweak the visualization to only show your classes. Cheers, Doru On 13 Sep 2011, at 20:04, Alexandre Bergel wrote: > |famixClasses| > famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). > "view shape rectangle withText size: 10." > view shape: (UMLClassDiagram new umlShape). > view nodes: famixClasses. > view shape: (MOOrthoHorizontalLineShape new). > view edgesFrom: #superclass. > view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. > > Cheers, > Alexandre > > > On 13 Sep 2011, at 12:14, Usman Bhatti wrote: > >> Hi, >> >> I am trying to replicate the figure present on the following webpage: >> http://www.themoosebook.org/book/internals/famix/core >> >> The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: >> >> |famixClasses| >> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >> view shape rectangle withText size: 10. >> view nodes: famixClasses. >> view shape: (MOOrthoHorizontalLineShape new). >> view edgesFrom: #superclass. >> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >> >> I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. >> >> thanx >> Usman >> >> _______________________________________________ >> 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 -- www.tudorgirba.com "To utilize feedback, you first have to acquire it." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
thanks doru.
Stef On Sep 13, 2011, at 8:25 PM, Tudor Girba wrote: > Alex, that is not good because it shows the methods of the Smalltalk class :). Now that you mentioned it, UMLClassDiagram should be removed and instead we should simply use MOShapeSelector>>umlClassWithTitle: > > Usman, please load the latest Moose-MondrianPaintings you can simply use: > MOFameView new openOn: MooseModel meta > > And you can simply tweak the visualization to only show your classes. > > Cheers, > Doru > > > On 13 Sep 2011, at 20:04, Alexandre Bergel wrote: > >> |famixClasses| >> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >> "view shape rectangle withText size: 10." >> view shape: (UMLClassDiagram new umlShape). >> view nodes: famixClasses. >> view shape: (MOOrthoHorizontalLineShape new). >> view edgesFrom: #superclass. >> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >> >> Cheers, >> Alexandre >> >> >> On 13 Sep 2011, at 12:14, Usman Bhatti wrote: >> >>> Hi, >>> >>> I am trying to replicate the figure present on the following webpage: >>> http://www.themoosebook.org/book/internals/famix/core >>> >>> The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: >>> >>> |famixClasses| >>> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >>> view shape rectangle withText size: 10. >>> view nodes: famixClasses. >>> view shape: (MOOrthoHorizontalLineShape new). >>> view edgesFrom: #superclass. >>> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >>> >>> I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. >>> >>> thanx >>> Usman >>> >>> _______________________________________________ >>> 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 > > -- > www.tudorgirba.com > > "To utilize feedback, you first have to acquire it." > > > _______________________________________________ > 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 |
thanx all...
On Tue, Sep 13, 2011 at 8:51 PM, Stéphane Ducasse <[hidden email]> wrote: thanks doru. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Trying to export an image in Mondrian and aborting the export give the message, "Saving Aborded". Is it normal? Plz see the attached image.
On Tue, Sep 13, 2011 at 10:18 PM, Usman Bhatti <[hidden email]> wrote: thanx all... _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Screen shot 2011-09-14 at 12.08.21 PM.png (67K) Download Attachment |
> Trying to export an image in Mondrian and aborting the export give the message, "Saving Aborded". Is it normal? Plz see the attached image.
I am not sure to understand. Is there something unexpected? "export canceled" is better as a message? Alexandre > > On Tue, Sep 13, 2011 at 10:18 PM, Usman Bhatti <[hidden email]> wrote: > thanx all... > > > On Tue, Sep 13, 2011 at 8:51 PM, Stéphane Ducasse <[hidden email]> wrote: > thanks doru. > > Stef > > On Sep 13, 2011, at 8:25 PM, Tudor Girba wrote: > > > Alex, that is not good because it shows the methods of the Smalltalk class :). Now that you mentioned it, UMLClassDiagram should be removed and instead we should simply use MOShapeSelector>>umlClassWithTitle: > > > > Usman, please load the latest Moose-MondrianPaintings you can simply use: > > MOFameView new openOn: MooseModel meta > > > > And you can simply tweak the visualization to only show your classes. > > > > Cheers, > > Doru > > > > > > On 13 Sep 2011, at 20:04, Alexandre Bergel wrote: > > > >> |famixClasses| > >> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). > >> "view shape rectangle withText size: 10." > >> view shape: (UMLClassDiagram new umlShape). > >> view nodes: famixClasses. > >> view shape: (MOOrthoHorizontalLineShape new). > >> view edgesFrom: #superclass. > >> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. > >> > >> Cheers, > >> Alexandre > >> > >> > >> On 13 Sep 2011, at 12:14, Usman Bhatti wrote: > >> > >>> Hi, > >>> > >>> I am trying to replicate the figure present on the following webpage: > >>> http://www.themoosebook.org/book/internals/famix/core > >>> > >>> The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: > >>> > >>> |famixClasses| > >>> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). > >>> view shape rectangle withText size: 10. > >>> view nodes: famixClasses. > >>> view shape: (MOOrthoHorizontalLineShape new). > >>> view edgesFrom: #superclass. > >>> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. > >>> > >>> I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. > >>> > >>> thanx > >>> Usman > >>> > >>> _______________________________________________ > >>> 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 > > > > -- > > www.tudorgirba.com > > > > "To utilize feedback, you first have to acquire it." > > > > > > _______________________________________________ > > 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 > > > <Screen shot 2011-09-14 at 12.08.21 PM.png>_______________________________________________ > 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 |
Best would be no dialog at all.
Doru On 14 Sep 2011, at 13:23, Alexandre Bergel wrote: >> Trying to export an image in Mondrian and aborting the export give the message, "Saving Aborded". Is it normal? Plz see the attached image. > > I am not sure to understand. Is there something unexpected? "export canceled" is better as a message? > > Alexandre > >> >> On Tue, Sep 13, 2011 at 10:18 PM, Usman Bhatti <[hidden email]> wrote: >> thanx all... >> >> >> On Tue, Sep 13, 2011 at 8:51 PM, Stéphane Ducasse <[hidden email]> wrote: >> thanks doru. >> >> Stef >> >> On Sep 13, 2011, at 8:25 PM, Tudor Girba wrote: >> >>> Alex, that is not good because it shows the methods of the Smalltalk class :). Now that you mentioned it, UMLClassDiagram should be removed and instead we should simply use MOShapeSelector>>umlClassWithTitle: >>> >>> Usman, please load the latest Moose-MondrianPaintings you can simply use: >>> MOFameView new openOn: MooseModel meta >>> >>> And you can simply tweak the visualization to only show your classes. >>> >>> Cheers, >>> Doru >>> >>> >>> On 13 Sep 2011, at 20:04, Alexandre Bergel wrote: >>> >>>> |famixClasses| >>>> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >>>> "view shape rectangle withText size: 10." >>>> view shape: (UMLClassDiagram new umlShape). >>>> view nodes: famixClasses. >>>> view shape: (MOOrthoHorizontalLineShape new). >>>> view edgesFrom: #superclass. >>>> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >>>> >>>> Cheers, >>>> Alexandre >>>> >>>> >>>> On 13 Sep 2011, at 12:14, Usman Bhatti wrote: >>>> >>>>> Hi, >>>>> >>>>> I am trying to replicate the figure present on the following webpage: >>>>> http://www.themoosebook.org/book/internals/famix/core >>>>> >>>>> The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: >>>>> >>>>> |famixClasses| >>>>> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >>>>> view shape rectangle withText size: 10. >>>>> view nodes: famixClasses. >>>>> view shape: (MOOrthoHorizontalLineShape new). >>>>> view edgesFrom: #superclass. >>>>> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >>>>> >>>>> I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. >>>>> >>>>> thanx >>>>> Usman >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> -- >>> www.tudorgirba.com >>> >>> "To utilize feedback, you first have to acquire it." >>> >>> >>> _______________________________________________ >>> 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 >> >> >> <Screen shot 2011-09-14 at 12.08.21 PM.png>_______________________________________________ >> 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 -- www.tudorgirba.com "Beauty is where we see it." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
On Wed, Sep 14, 2011 at 1:23 PM, Alexandre Bergel <[hidden email]> wrote:
"Saving Aborted" conveys the message in a better way, if a message is intended for the user.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
:-)
I agree. Now in version 2.123 of Mondrian. Alexandre On 14 Sep 2011, at 08:54, Tudor Girba wrote: > Best would be no dialog at all. > > Doru > > > On 14 Sep 2011, at 13:23, Alexandre Bergel wrote: > >>> Trying to export an image in Mondrian and aborting the export give the message, "Saving Aborded". Is it normal? Plz see the attached image. >> >> I am not sure to understand. Is there something unexpected? "export canceled" is better as a message? >> >> Alexandre >> >>> >>> On Tue, Sep 13, 2011 at 10:18 PM, Usman Bhatti <[hidden email]> wrote: >>> thanx all... >>> >>> >>> On Tue, Sep 13, 2011 at 8:51 PM, Stéphane Ducasse <[hidden email]> wrote: >>> thanks doru. >>> >>> Stef >>> >>> On Sep 13, 2011, at 8:25 PM, Tudor Girba wrote: >>> >>>> Alex, that is not good because it shows the methods of the Smalltalk class :). Now that you mentioned it, UMLClassDiagram should be removed and instead we should simply use MOShapeSelector>>umlClassWithTitle: >>>> >>>> Usman, please load the latest Moose-MondrianPaintings you can simply use: >>>> MOFameView new openOn: MooseModel meta >>>> >>>> And you can simply tweak the visualization to only show your classes. >>>> >>>> Cheers, >>>> Doru >>>> >>>> >>>> On 13 Sep 2011, at 20:04, Alexandre Bergel wrote: >>>> >>>>> |famixClasses| >>>>> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >>>>> "view shape rectangle withText size: 10." >>>>> view shape: (UMLClassDiagram new umlShape). >>>>> view nodes: famixClasses. >>>>> view shape: (MOOrthoHorizontalLineShape new). >>>>> view edgesFrom: #superclass. >>>>> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >>>>> >>>>> Cheers, >>>>> Alexandre >>>>> >>>>> >>>>> On 13 Sep 2011, at 12:14, Usman Bhatti wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I am trying to replicate the figure present on the following webpage: >>>>>> http://www.themoosebook.org/book/internals/famix/core >>>>>> >>>>>> The purpose is to include the figure in the document describing Famix 3.0 in detail. So far working through examples, I have been able to produce this script: >>>>>> >>>>>> |famixClasses| >>>>>> famixClasses := (FAMIXEntity withAllSubclasses select: [: aClass | aClass name beginsWith: 'FAMIX']). >>>>>> view shape rectangle withText size: 10. >>>>>> view nodes: famixClasses. >>>>>> view shape: (MOOrthoHorizontalLineShape new). >>>>>> view edgesFrom: #superclass. >>>>>> view horizontalDominanceTreeLayout horizontalGap: 20; verticalGap: 7. >>>>>> >>>>>> I need help in removing Famix from the prefix of the class names and add attribute information in a UML like format. >>>>>> >>>>>> thanx >>>>>> Usman >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> -- >>>> www.tudorgirba.com >>>> >>>> "To utilize feedback, you first have to acquire it." >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >>> <Screen shot 2011-09-14 at 12.08.21 PM.png>_______________________________________________ >>> 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 > > -- > www.tudorgirba.com > > "Beauty is where we see it." > > > > > _______________________________________________ > 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 |
Free forum by Nabble | Edit this page |