Hi!
I have added a new tab by defining the method:
FAMIXTypeGroup>>mooseFinderUMLIn: composite
<moosePresentationOrder: 20>
composite roassal2
title: 'UML';
titleIcon: MooseIcons mooseSourceText;
initializeView: [ RTUMLClassBuilder new ];
painting: [ :view :each |
each viewUMLOn: view ]
I do not really like the icon although.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I've added RTStyledLabel which supports TextEmphasis.
RTGeneralExample>>styledLabel
~~~~~~~~~~~~~~
| v shape el all |
v := RTView new.
(shape := RTStyledLabel new) color: Color black.
#(normal italic bold underlined struckOut) do: [ :each |
el := shape
emphasis: (TextEmphasis perform: each);
elementOn: each.
v add: el ].
all := shape
emphasis: { TextEmphasis bold. TextEmphasis italic. TextEmphasis
underlined};
elementOn: 'bold + italic + underlined'.
v add: all.
RTVerticalLineLayout on: v elements.
v open
~~~~~~~~~~~~~~~~~~~~~
Peter
Hi,
I would like to build custom magritte view for a FAMIX model, however
it seems that Fame/Metanool are somehow interfering with it..
Imagine a simple model (a class with an attribute):
~~~~~~~~~~~~~~~~~~~~~~~~~~~
cls := FAMIXClass new name: 'Something'.
(attr := FAMIXAttribute new)
name: 'myAttribute';
declaredType: (FAMIXClass new name: 'OtherThing').
cls addAttribute: attr.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
now I can open the magritte description
~~~~~~~~~~~~~~~~~~~~~~~~~~~
attr mooseDescription asMagritteDescription asMagritteMorph openInWindow.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
However this is a meta description, which I don't want...
So second option was to build it manually; I extract descriptions that
I am interested in....
~~~~~~~~~~~~~~~~~~~~~~~~~~~
container := MAContainer new addAll: ({
attr mooseDescription at: 'name'.
attr mooseDescription at: 'declaredType'.
} collect: #asMagritteDescription).
(container asMorphOn: attr) openInWindow.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
However the problem with this is, that the declaredType is presented
as TextField, which is not very useful.
So I'm kind of lost...
basically what I want to do is to have a MAContainer that contains
both the Attribute's name and #declaredType's name.
Is this possible?
Thanks,
Peter
Hi,
I propose to change this:
MoosModel>>sourceLanguage: aSymbol
^sourceLanguage := aSymbol
by:
MoosModel>>sourceLanguage: aSourceLanguage
sourceLanguage := aSourceLanguage.
sourceLanguage mooseModel: self
So, that we don't have to remember to add manually the source language to
the model.
Is it ok to do this change?
usman
Hi!
I am getting an exception with VerveineJ. No idea why.
VerveineJ processing file: ./agilevisualization/example/HelloWorld.java
*** VerveineJ visitor got exception: 'java.lang.NullPointerException' while processing file: ./agilevisualization/example/HelloWorld.java
The code is simply:
I have a .mse file that is created however.
Any what’s going on?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I wanted to use MooseQuery to get some call graphs in a model.
I have 4720 graphs to compute, I start from a class and I want all the incoming invocations at class level recursively.
I used the default queryAllIncomingInvocations of MooseChef and the one of MooseQuery.
It takes 1min20 with MooseChef.
With MooseQuery, it takes 5 mins to do ~500 graphs... so 50 mins to calculate everything (I didn't try ;) )..
Maybe some performance improvement is needed?
Cheers,
Vincent
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Hi!
Just to let you know. I have slightly improved the normalizer. You can now send #distinctColorUsing: aBlockOrSymbol
Consider the following example:
b := RTMondrian new.
b shape circle.
b nodes: Collection withAllSubclasses.
b edges connectFrom: #superclass.
b layout tree.
b normalizer
normalizeSize: #numberOfMethods;
distinctColorUsing: #package.
b
This gives to each class a color depending on its package.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.