Hi,
I developed a small extension which allows to query a moose model to obtain a set of implicit associations derived from low level relationships.
What you can do concretely is for example to select a group of namespace entities, and ask for all implicit associations existing between the selected entities based on a specific relationship existing at a lower abstraction level (i.e.: the method level).
The end result is much similar to the one provided by Moose Chef, with the advantage of being much more generic and flexible.
Each generated association keeps a reference to the concrete relationships on which it is based on.
If you are interested, you can try it out at: http://www.squeaksource.com/Lift.html
The wiki page contains some usage examples.
cheers,
Andrea
_____________________________
Andrea Caracciolo -- caracciolo(a)iam.unibe.ch
Software Composition Group
University of Bern
Hi,
I would like to create a visualization with resizable nodes (with resizable
I mean that I can click and drag a border to change the size of the node).
Is this possible in Roassal or Mondrian?
Cheers,
Fabrizio
Hi,
Roassal add "Roassal Easel" as an item in the root of the World menu. However, this is a rather primitive Easel.
In Glamour, there already exists an Easel similar to the Mondrian one. I now added all these editors in the Moose menu.
In the Moose image, I would prefer to not have the default Roassal easel in the World menu, because it increases confusion. Perhaps one idea would be to move it into Tools (like PetitParser does).
Alex, what do you say?
Cheers,
Doru
--
www.tudorgirba.com
"Yesterday is a fact.
Tomorrow is a possibility.
Today is a challenge."
I remember seeing some discussion on this in the past.
What is the status of the Latent Semantic Indexing (Hapax I believe) in
Moose?
Was it ported to Pharo?
nicolas
MouseEnter event does not fire while entering a node.
This script shows the demonstrates the problem.
view := ROMondrianViewBuilder new.
view shape rectangle size: 20.
view interaction on: ROMouseEnter do: [ :event |
view shape line color: Color blue.
view edgesFrom: [ :i | i \\ 2 ].
].
view nodes: (1 to: 20).
view shape line.
view treeLayout.
view open
tx,
Usman Bhatti
Hi!
The release of Roassal is now official. As you might have seen, Roassal is now distributed with Moose. The plan is to slowly replace Mondrian by Roassal. This may take some time, but we will reach the point that Mondrian can rest in peace.
Roassal remains largely compatible with Mondrian. The visualizations you have scripted with Mondrian should normally work with Roassal without too much pain.
Gofer new
squeaksource: 'Roassal';
package: 'ConfigurationOfRoassal';
load.
(Smalltalk at: #ConfigurationOfRoassal) project lastVersion load.
Having Roassal out implies that I will essentially focus on Roassal instead of Mondrian. Naturally, I will continue to incorporate important bug fixes in Mondrian. But as far I am concerned, no major enhancement of Mondrian is planned.
We learnt a lot with Mondrian. Roassal really goes one step further with better interactions, a clean low level if you wish to build your own domain specific language. To be short, Roassal is simpler and better.
I suggest people to enter bug fixes and requests for enhancement in the Moose google project as we are doing for Mondrian.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I have the following browser:
| browser |
browser := GLMTabulator new.
browser
row: [ :r | r column: #one; column: #two];
row: #three.
browser transmit to: #one; andShow: [:a |
a title: 'One'.
a list display: [ #('Something 1' 'Something 2' 'Something 3' 'Something
4')];
selectionAct: [:list |
(list pane port: #customSelection) value: 1 ]
entitled: 'Open new panel'
].
browser transmit from: #one; to: #two; andShow: [:a |
a title: 'Two'.
a list
display: [ #('A' 'B' 'C' 'D') ]
].
browser transmit from: #two; to: #three; andShow: [:a |
a title: 'Information'.
a text display:[ :x | 'Information related to ',x asString ] .
].
browser transmit to: #three; from: #one port:#customSelection;andShow: [:a
|
a title: 'Three'.
a list
display: [#('A' 'B' 'C' 'D')]
].
browser openOn: 1.
When a value of the list of the pane "two" is selected a new pane is open
in #three. Also, when the action of the pop-up menu of the pane #one is
selected, a new pane is open in #three. My problem is that the new pane
opened after clicking in the pop-up menu is only shown the first time that
it is called. That is, if I click in the menu, then I click in an element
of the pane #two and finally I click again in the menu action the pane
#three is not shown this time. I'm doing something wrong? I can't
understand why this happens.
Thanks!
Cheers,
Santiago
--
Santiago Vidal
Hi!
I know this has been on the wished list of many of you. The following script produces:
-=-=-=-=-=-=-=-=-=-=-=-=
| view el1 el2 edge line |
view := ROView new.
el1 := ROElement new.
el1 @RODraggable.
el1 extent: 50@50.
el1 + ROBox blue.
el2 := ROElement new.
el2 @RODraggable.
el2 extent: 50@50.
el2 + ROBox green.
el1 translateTo: 0 @ 100.
edge := ROEdge from: el1 to: el2.
line := ROLine new.
line add: ROArrow new offset: 0.1.
line add: ROArrow new offset: 0.5.
edge + line.
view add: el1; add: el2; add: edge.
view open
-=-=-=-=-=-=-=-=-=-=-=-=
I will remove ROArrowedLine very soon then
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I'm getting this error in my visualizations. Should I open a bug entry?
DNU: ROMondrianViewBuilder >> container...
To reproduce: execute the following code in a freshly downloaded moose
image, trigger the visualization by right-clicking on a number and
selecting the menu item....
| browser |
browser := GLMTabulator withStatusbar.
browser column: #one; column: #two.
browser transmit to: #one; andShow: [ :a |
a list
title: 'Select and trigger from menu';
display: [:x | 1 to: x ];
selectionAct: [:list |
| value |
value := list selection * 10. "simulate some custom setup"
(list pane port: #customSelection) value: value ]
entitled: 'Multiply by 10 and then send outside'
].
browser transmit to: #two; from: #one port: #customSelection; andShow: [ :a |
a roassal
title: 'Numbers in Roassal';
painting: [:view :number |
view shape label.
view nodes: (1 to: number).
view edgesFrom: [:each | each // 5 ].
view treeLayout.
ROEaselMorphic new populateMenuOn: view.
]].
browser openOn: 42
Hello,
I had built a few visualizations in Galmour based on low-level roassal api.
I download a new version of Moose and the now glamour returns an object
of ROMondrianViewBuilder instead of ROView, which breaks my visualizations.
So, does glamour aim to provide a way to work with the low-level api or
should I just create my own extensions to adapt my visualization to the new
mode?
tx,
Usman