GMLRenderer and some changes to svgWriter
by Johan Brichau
Hi everyone,
I have uploaded a small set of changes to:
- MondrianUtils
- CodeFu-Graphics
Concerning:
- a GMLRenderer for Mondrian-like scripts (currently at the same
status as the graphvizRenderer)
(writes the GML format: http://www.infosun.fim.uni-passau.de/Graphlet/GML/)
- Previously, the SvgWriter could only write to a file. I have changed
it so it can also be used to generate the svg contents in a string
without creating an actual file. I found this useful to generate the
svg image in a method for use in Seaside.
- Some methods were missing (e.g. #displayLineFrom:to:) in the
SvgWriter. They were added.
Doru adviced me to create a specific branch of CodeFoo for this, so
that is where these changes are ;-)
cheers,
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
14 years, 11 months
JBrewer anywhere?
by Alexandre Bergel
Hi!
Is there a description of this tool available somewhere? It is not
listed on moose's website.
I am interesting in knowing what has been done on using connecting
Java and Moose. I am already aware of Johan's work and J2Moose.
Anything else?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
14 years, 11 months
VW 7.6 and Moose
by Orla Greevy
Hi,
does the setup package no longer load with vw 7.6
Orla
14 years, 11 months
Mondrian question
by Alexandre Bergel
Dear list,
I have the following script to display dependencies between packages:
-=-=-=-=-=-=-=-=-=-=-=-=
| packages allClasses |
packages := mooseModel allNamespaces.
allClasses := mooseModel allClasses.
self assert: [allClasses notEmpty].
self assert: [packages notEmpty].
view nodes: packages forEach: [:each |
view nodes: each classes].
view edges: allClasses from: #yourself toAll: #dependentClasses.
-=-=-=-=-=-=-=-=-=-=-=-=
It display a 1-row heigh picture of packages. How can I add a layout
on it ? I think that a grid will be ideal.
I plan to add the list of scripts I am working on:
http://moose.unibe.ch/tools/Java4Moose/Mondrian+Scripts
I think this might help newbies in Mondrian...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
14 years, 11 months
Expressing dependencies in FAMIX
by Alexandre Bergel
Dear list,
I am still struggling in populating my meta model with Java code. It
is not clear to me how I can express dependencies. For example, I
have a class Point, and a second class PointFactory. I guess there
should be a famix entity intended to express this situation that
contains the following information:
- the method PointFactory>>createNewPoint has a reference to Point
Which of the FAMIXes classes should I use? FAMIXAccess,
FAMIXInvocation, FAMIXGlobalVariable?
Then, what should I do with this famix entity. The FAMIXMethod
(PointFactory>>createNewPoint) should know about it. Where should I
do an add: ? In FAMIXMethod>>accesses, incomingInvocations,
outgoingInvocations, ... ?
Side question, what is a group (e.g., incomingInvocationsGroup)?
Side questions 2: does it make sense that I add come comments in the
moose code and then publish it in Store? I will do this... This is
important I believe. But how can I do it? Sorry about my ignorance
about Store.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
14 years, 11 months
groups and versioning [was: Expressing dependencies in FAMIX]
by Tudor Girba
Hi Alex,
And here are the answers for the other two questions.
On Apr 16, 2008, at 1:21 AM, Alexandre Bergel wrote:
> Side question, what is a group (e.g., incomingInvocationsGroup)?
The methods that end with Group offer the collection of entities in a
Group, and Group can be typed (e.g., ClassGroup) and such a typed
Group has methods with meta-descriptions that then are shown better in
the ui.
> Side questions 2: does it make sense that I add come comments in the
> moose code and then publish it in Store?
Of course, you can add comments :)
> I will do this... This is important I believe. But how can I do it?
> Sorry about my ignorance
> about Store.
I guess you are asking about the publishing policy. You can find
details here:
http://moose.unibe.ch/docs/dev/versioning
Cheers,
Doru
--
www.tudorgirba.com
www.tudorgirba.com/blog
"There are no old things, there are only old ways of looking at them."
14 years, 11 months
Re: Does the message sorted: in the method MooseModel>>packagesDSM do anything?
by Romain PEIRS
Hi Ricky,
What an idiot I am! :-)
Indeed, it is returning a sorted copy! Now, it's working!
Thanks a lot!
Romain
-----Message d'origine-----
De : Richard Wettel [mailto:richard.wettel@lu.unisi.ch]
Envoyé : mercredi 16 avril 2008 12:57
À : peirsro(a)ensieta.fr; Related to the development of Moose and other
related tools
Objet : Re: [Moose-dev] Re: Does the message sorted: in the method
MooseModel>>packagesDSM do anything?
Hi Romain,
I got your question wrong. That's why the #sorted: in
SequenceableCollection is returning a sorted copy of your collection,
and does not modify the original collection.
Ricky
On Apr 16, 2008, at 12:43 PM, Romain PEIRS wrote:
> Hi Ricky,
>
> Thanks for your answer. But my problem is that my collection is not
> sorted
> after this kind of message:
> aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
> staticNeededPackages size]
> I don't really understand why!
>
> Cheers
>
> Romain
>
>
> -----Message d'origine-----
> De : Richard Wettel [mailto:richard.wettel@lu.unisi.ch]
> Envoyé : mercredi 16 avril 2008 12:15
> À : peirsro(a)ensieta.fr; Related to the development of Moose and other
> related tools
> Objet : Re: [Moose-dev] Does the message sorted: in the method
> MooseModel>>packagesDSM do anything?
>
> Hi Romain,
>
> #sorted: expects a block with 2 arguments, such as:
> aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
> staticNeededPackages size]
> which will sort the elements ascending.
> For more examples, just search for the senders of the selector
> #sorted:
>
> Cheers,
> Ricky
>
> On Apr 16, 2008, at 11:55 AM, Romain PEIRS wrote:
>
>> Hi everybody !
>>
>> Im working on the method MooseModel >> packagesDSM and I noticed
>> that the
>> message sorted: sent to an OrderedCollection doesnt sort anything!
>> I also tried with a simple condition of sort: p1staticNeededPackages
>> size
>>> p2staticNeededPackages size
>> I dont understand why the OrderedCollection is not sorted.
>> Have I forgot anything?
>>
>> Thanks
>>
>> Romain
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
14 years, 11 months
Re: Does the message sorted: in the method MooseModel>>packagesDSM do anything?
by Romain PEIRS
Hi Ricky,
Thanks for your answer. But my problem is that my collection is not sorted
after this kind of message:
aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
staticNeededPackages size]
I don't really understand why!
Cheers
Romain
-----Message d'origine-----
De : Richard Wettel [mailto:richard.wettel@lu.unisi.ch]
Envoyé : mercredi 16 avril 2008 12:15
À : peirsro(a)ensieta.fr; Related to the development of Moose and other
related tools
Objet : Re: [Moose-dev] Does the message sorted: in the method
MooseModel>>packagesDSM do anything?
Hi Romain,
#sorted: expects a block with 2 arguments, such as:
aCollection sorted: [:e1 :e2 | e1 staticNeededPackages size < e2
staticNeededPackages size]
which will sort the elements ascending.
For more examples, just search for the senders of the selector #sorted:
Cheers,
Ricky
On Apr 16, 2008, at 11:55 AM, Romain PEIRS wrote:
> Hi everybody !
>
> Im working on the method MooseModel >> packagesDSM and I noticed
> that the
> message sorted: sent to an OrderedCollection doesnt sort anything!
> I also tried with a simple condition of sort: p1staticNeededPackages
> size
>> p2staticNeededPackages size
> I dont understand why the OrderedCollection is not sorted.
> Have I forgot anything?
>
> Thanks
>
> Romain
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
14 years, 11 months
Does the message sorted: in the method MooseModel>>packagesDSM do anything?
by Romain PEIRS
Hi everybody !
Im working on the method MooseModel >> packagesDSM and I noticed that the
message sorted: sent to an OrderedCollection doesnt sort anything!
I also tried with a simple condition of sort: p1staticNeededPackages size
> p2staticNeededPackages size
I dont understand why the OrderedCollection is not sorted.
Have I forgot anything?
Thanks
Romain
14 years, 11 months
Why are the classes and methods not displayed
by Orla Greevy
Hi,
related to my previous question, I have a model loaded in moose which
I generated usinig the namespaceImporter. When I inspect the model all
the classes and methods are there but they are not displayed n the
browser.
Any ideas?
Orla
14 years, 11 months