We have submitted a project to improve and extend FAST (Famix-AST
metamodel).
If you are a GSOC mentors I would like to encourage you to vote for this
project (and give it the highest note ;-) ).
I believe it will open many new opportunities for Moose in terms of
metrics computation at the level of the model, refactoring
possibilities, rule checking (MooseLint), language convertion, new
queries, etc.
The student for this project already worked with us in the past (on
Pharo) and he is capable of doing it.
nicolas
--
Nicolas Anquetil -- RMod research team (Inria)
Hi!
We've just made an experiment about fading and wiggling edges. Try the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Preambule. It includes the initialization. "
| rawView view |
rawView := ROView new.
view := ROMondrianViewBuilder view: rawView.
"enter your script below"
"-------------"
"-------------"
"To send to the mailing list"
view interaction
dynamicEdgeToAll: [ :model | (1 to: model) collect: [ :v | v // 2 ] ]
usingFading: (ROLine red width: 5; attachPoint: ROCenteredAttachPoint instance).
view shape rectangle size: 20.
view nodes: (1 to: 20).
view circleLayout.
"-------------"
"-------------"
"Below is the initiation of the menu and opening the visualization"
ROEaselMorphic new populateMenuOn: view.
view open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
It's me again. Sorry for bothering you but I'm not able to load Moose from my ConfigurationOf in a fresh 2.0 image…
I tried every possible version: minimal, stable, default, and development but it does not load correctly.
Either I got a..
- SmallInteger>>#add: error which leads me to https://pharo.fogbugz.com/f/cases/10395/ but I cannot understand the fix.
- With development (or default) I got a SmallInteger(Object)>>doesNotUnderstand: #isEmpty.
- Some missing dependencies with BlockContext
I'm wondering if someone can please take a fresh Pharo 2.0 image and try to load Moose (stable, default, or whatever)
using the Configuration and kindly tell me how to set up my configuration to load it.
FYI I'm loading Moose by doing the following in my configuration of:
spec
project: 'Moose' with: [
spec
className: 'ConfigurationOfMoose';
loads: #('default');
file: 'ConfigurationOfMoose';
repository: 'http://smalltalkhub.com/mc/Moose/Moose/main' ]
Then I tried to replace #loads: with #versionString: and change the version string but I had no luck.
Thanks in advance,
Roberto Minelli
Hi,
I just wanted to let you know that I started to work on a Pharo theme that maximizes whitespace.
It is based on the default Glamour theme, but it is even simpler. It is still a work in progress as several things I would like to achieve are not easily possible with the existing morphs' implementation.
Still you can see the direction in a couple of screenshots at (plus a couple of explanations):
http://www.tudorgirba.com/blog/whitespace-theme-for-pharo-work-in-progress
You can play with it in a Moose 4.8 image by:
MooseImageSetupCommandLineHandler new
installFonts;
installAthens;
installGLMWhitespaceTheme.
Cheers,
Doru
--
www.tudorgirba.com
"When people care, great things can happen."
Hi,
i just started to experiment with Spy (i like it a lot :) in Pharo 2.0.
My first attempt to load it was via the Configuration Browser which lists a
Configuration Alexandre_Bergel.10 which does not work on 2.0.
I found a working Configuration (ConfigurationOfSpy-AlexandreBergel.344) on
Smalltalkhub. Perhaps someone can update the configuration in the browser...
Is it already "safe" to use Spy and Roassal on Pharo 2.0?
M.
--
View this message in context: http://forum.world.st/Update-Spy-in-the-Pharo-2-0-Configuration-Browser-tp4…
Sent from the Moose mailing list archive at Nabble.com.
Hi
I've improved ROArc class so that we can now change the angle
between made by the center of the circle and the borders of the edge.
An angle of 0 will return a simple ROLine, and if the angle is bigger
than 2pi, it will use an angle like alpha % 2pi. The angle is given in
rad.
layout:= ROVerticalCompactTree new.
view shape circle size: 15
.
view nodes: ( ROLayout withAllSubclasses ).
view edgesFrom:
#superclass.
layout userDefinedEdges: view edges.
view layout:
layout.
layout verticalGap: 70; horizontalGap: 30.
view applyLayout.
view nodes do: [ :f | (layout childrenFor: f) do: [ :t | (t model
inheritsFrom: f model) ifTrue: [ t model methodDict keysDo: [ :k | (f
model methodDict includesKey: k) ifTrue: [ view edgeFromAssociation: f
model ->t model ] ] ] ] ].
view edges do: [ :e | e - ROLine + (ROArc
new color: (Color r: 0 g: 1 b: 0.5 ); width: 2; angle: 2) ].
layout
userDefinedEdges do: [ :e | e - ROArc + ((ROLine arrowed) color: (Color
r: 1 g: 0 b: 0 ); width: 2 )"; attachPoint: ROCenteredAttachPoint
instance)" ].
Maybe you will see something weird.
Well I don't
understand why, but the first time it draws the ROArc, if the mouse is
not on the canva, there are strange thing until you move the mouse on an
edge...
You can see the same phenomenon when dragging an edge and
making its abscissa bigger and smaller than its father's one.
If you
understand what appends please tell me.
Regards
Mathieu
Hello,
I am looking for two features in Roassal.
- I would like to customized the color of the labels added on the fly
with ROAddName/RORemoveName (See example
ROMondrianViewBuilder>>addingNameOn:).
- Possibility to create dynamicEdges in both directions
(incoming/outgoing), currently, we can only create outgoing edges.
If there's already a way of doing these, I would like to know how?
If not, do you want me to submit a slice?
tx,
Usman