Hi,
perhaps this is a naive question, but anyway: I was wondering if it is possible to select multiple figures in mondrian and if so, how to access the selection to spawn another view.
thanks!
Marco
Hi all,
I am trying to understand how to use the MOForms builder in the following script in the context of a FAMIXClassGroup
view shape rectangle
height: [ :cls | cls numberOfMethods ];
width: [ :cls | cls numberOfAttributes ];
].
view nodes: self entities forEach: [:each | | builder |
view shape rectangle.
builder := MOFormsBuilder new.
builder column ; fill.
builder row; fill ; row ; fill.
builder x: 1 y: 1 add: MORectangleShape new.
builder x: 1 y: 1 add: (MOLabelShape new text: [ :e | e name ]).
builder x: 1 y: 2 add: (self viewMethodsForClass: each onView: view).
view layout: builder asLayout.
].
view
edges: self entities
from: [ :cls | cls superclass ].
view treeLayout
where the method #viewMethodsForClass:onView: is as follows:
viewMethodsForClass: class onView: view
view shape rectangle.
^view node: class forIt: [
view shape rectangle.
view nodes: class methods.
view gridLayout.]
What I would like to get is, for each class, a composite figure with
- a label on top
- a composite figure where each subfigure represent a method
Ideally the label and the composite should also be centrally aligned.
However, with my script I get figure attached.
Thanks!
Marco
Hi all,
When I try to load packages Collection-Weak and Collection-Support, SmalltalkImporter have a bug on the character "_".
Is there any way to fix this easily ?
Cheers
---
Jannik Laval
---
Hi all,
part of AspectMaps is a polymetric view of classes and aspects. For
that I want to use Glamour to specify the metrics for the dimension.
The code below shows what I have (and will embed in another browser at
some point) which leads me to 2 questions and a bug.
First question: how can I let each browser show its title? With 6 of
these it's easy to be confused which is which.
Second question: at some point in the mondrian script I need to
retrieve the selections in each browser. (I dont want to automatically
repaint when a selection is changed). How can I do this?
I have tried to get both of these things to work myself but I'm not
having any success ...
The bug: in the code below add a size: 100 to both column
specifications, and you get a nice ZeroDivide error :-/
| browser mprops cprops aprops|
cprops := #(CLOC NumMeth NumAtt NumJP NumAsp).
aprops := #(ALOC NumPC NumAdv NumJPP).
mprops := #(MLOC MNumJP MNumAsp).
browser := GLMTabulator new.
browser column: [: c | c row: #cheight; row: #aheight; row: #mheight];
column: [: c | c row: #cwidth; row: #awidth; row: #mwidth].
browser showOn: #cheight; using: [
browser tree title: 'Classes Height'; display: cprops.].
browser showOn: #cwidth; using: [
browser tree title: 'Classes Width'; display: cprops.].
browser showOn: #aheight; using: [
browser tree title: 'Aspects Height'; display: aprops.].
browser showOn: #awidth; using: [
browser tree title: 'Aspects Width'; display: aprops.].
browser showOn: #mheight; using: [
browser tree title: 'Methods Height'; display: mprops.].
browser showOn: #mwidth; using: [
browser tree title: 'Methods Width'; display: mprops.].
browser openOn: 'Select'
--
Johan Fabry
jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Hi,
Please use the 4.0-beta.4 release of Moose. As it was mentioned in the
announcement mail, this release solves the PrimitiveType problem.
Cheers,
Doru
On 4 Jan 2010, at 16:02, Usman Bhatti wrote:
> Hi Doru,
>
> I have similar problem here. I have generated an MSE file with
> InFusion. Moose (moose-suite-4_0-beta.app) fails to load the file...
> A bit of troubleshooting shows that moose is having a problem with
> PrimitiveType expressions present in mse file. I removed them from
> the generated file and it worked...
>
> I am sending you the problematic MSE file for bug replication
> purposes...
>
> regards,
>
>
> On Mon, Jan 4, 2010 at 4:20 PM, Tudor Girba <tudor.girba(a)gmail.com>
> wrote:
> Hi Arif,
>
> It looks like the MSE that you give as input as an incorrect syntax.
> How did you obtain this MSE?
>
> Cheers,
> Doru
>
>
>
> On 4 Jan 2010, at 09:49, Arif Iftikhar wrote:
>
> While loading MSE File in Moose i get the error attached. If i
> proceed it loads 0 entities in moose.Is there any special version of
> moose for such mse file.
>
> --
> Thanks & Regards
>
> Arif Iftikhar
> <moose error.JPG>_______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Value is always contextual."
>
>
>
>
>
>
> --
> Dr. Muhammad Usman Bhatti
> Assistant Professor, FAST-NU LHR
> Office MS-Block
> Ext : 273
> <Callgraph.mse>
--
www.tudorgirba.com
"Sometimes the best solution is not the best solution."
I am looking for a Java Exporter for Moose. Earlier I had tried IPlasma but
I am getting some problems in its interface so I cannot use it. I also tried
J2Moose but the format generated by the tool is not accepted by moose. Is
there a Java exporter for moose that is compatible with the current MSE file
format?
thanx in advance,
Usman
While loading MSE File in Moose i get the error attached. If i proceed it
loads 0 entities in moose.Is there any special version of moose for such mse
file.
--
Thanks & Regards
Arif Iftikhar
Hi,
Moose Suite 4.0 beta 4 is now available for download:
http://moosetechnology.org/download
Among others, it also deals with the PrimitiveTypes exported by
inFusion.
Cheers,
Doru
--
www.tudorgirba.com
"Every successful trip needs a suitable vehicle."