Hello everyone,
I'm working on a small visualisation of packages and classes and basically
I want to be able to drag and drop one class to other package
In Roassal I could do this:
| view el |
view := ROView new.
el := ROElement sprite.
view add: el.
el
on: ROMouseDragged
do: [ :event | Transcript show: 'ok'; cr ].
view open.
But in Roassal 2 I only have TRMouseDragging (equivalent to ROMouseDragging
in R1), that executes the block during the whole dragging operation. What's
the alternative to MouseDragged in Roassal 2?
Other question will come after that, but let's do baby steps.
Cheers,
--
Gustavo Santos
Université de Lille-1
Hi,
I like very much the new energy people are putting into creating the
SystemLogger engine for Pharo. I think this is a specifically important
area for which we have to have a solution out of the box. At the same time,
I also think that Pharo provides an infrastructure that makes room for
ideas that are otherwise hard to reach in other languages or environments.
Stef asked for collaborations around this project, so here is my literally
small contribution: a rather different logging engine. It is called Beacon,
it is based entirely on Announcements, it has ~200 lines of code, it has no
tags or levels, and in my opinion it is fully functional.
You can see a detailed description here including some informal comparisons
with SystemLogger:
http://www.humane-assessment.com/blog/beacon
Please let me know what you think. I would be happy to join forces to reach
a mature solution that is both versatile and that can show how Pharo is
different.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi,
I don't know what i done, but now roassal can't draw. The screenshot of the
error is attached.
Thanks!
--
*ATREVI D. Fabrice *
*Master en Informatique A l'Institut de la Francophonie pour l'Informatique
(IFI/Hanoï)*
Dear all,
I want to process large XML file (typically event logs with more than
80Mb data) and I'm not able to do that at the moment with the XML DOM
parser (it says I reach the read limit after 3094 XML lines) and I
guess I will have problem to manage such a large file in memory after
that.
Should I switch to an event-driven XML parser in order to avoid
loading all the XML file in memory ? Do we have such a parser for
Pharo ?
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
Sorry, it may be due to the use go GTInspector.
Alexandre
On Jun 6, 2014, at 2:50 PM, Alexandre Bergel <alexandre.bergel(a)me.com> wrote:
> Hi!
>
> Since we have rubric, typing is dead slow…
> I have not done much profiling. But the method Text>>addAttribute: att from: start to: stop seems to be the culprit...
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
Something really annoying when using GTDebugger on a long method. The cursor is always at the bottom of the text pane.
I’ve created a short video that illustrates the pb...
https://dl.dropboxusercontent.com/u/31543901/TMP/PbWithGTDebugger.mov
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi all!
As you may have noticed, here in Lugano we are playing a lot with
CodeCity ;-)
I was wondering if there is a way to programmatically take a screenshot
of a CodeCity visualization.
I see that with Roassal you can do that, but it seems to be not
compatible with CC, am I missing something?
Thanks!
Tommaso
Hi!
Serge shown us today how to have three panes in a GTInspector. This made my day!
https://vimeo.com/97507411
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
Is there any news about making Rubric faster when being used with the GTInspector?
It would be very cool to have this fixed :-)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi guys,
I was playing with CodeCity. Thanks, Ricky for the effort in porting it to Pharo!
I was wondering if there is a way to pan the city? i.e., not rotating around axes, simple 2D pan.
I also have a “feature request” (that I already implemented myself): I noticed that the CCColorNormalizer lacks of a “zero” color.
In short, when you want to differentiate nodes with weight = 0.
For this I implemented a #CCColorNormalizerWithZeroColor (subclass of CCColorNormalizer) that overrides
ccValue: anObject
| inputValue |
inputValue := self transformation ccValue: anObject.
inputValue isZero
ifTrue: [ ^ self zero ]
ifFalse: [ ^ super ccValue: anObject ]
#zero is a Color, instance variable of CCColorNormalizerWithZeroColor.
Thanks in advance,
Roby
Hi!
We worked on the arrow support in Roassal. Here is a screenshot:
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hola,
Say I have a layout:
elements := <a collection of elements>
layout := RTForceBasedLayout new applyOn: elements; yourself
and then later I instantiate another element newElement, how can I tell the layout to take this one into account as well? If I add it to the collection of elements, nothing happens, and if I add it to the collection of elements contained in the layout I get the red error morph. :-(
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi all,
another small bug in Roassal2: sending cleanAll to a view does not remove the labels attached to nodes in that view.
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi all,
at some point I was sending @RTlabelled to a group of edges that happened to be empty, and up came the debugger :-(
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi!
I'm using roassal in glamour for painting. I want to know how i can give a
length for edge. Like in the screenshot, the default length is too small.
And if possible, i want boxes and arcs do not intersect.
Thanks,
--
*ATREVI D. Fabrice*
*Master en Informatique A l'Institut de la Francophonie pour l'Informatique
(IFI/Hanoï)*
Hi all,
quick question: how do I set the vertical separation between nodes in a RTTreeLayout? I have tried verticalGap: and topGap: but it does not make a difference. length: is undefined.
Thanks in advance,
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi!
The second day of the moose day is over. It was great to meet you guys.
I had a wonderful time!
Thanks Serge for organizing the event, setting up the website, arranging the restaurant, and having found sponsors :-)
Good spirit!!
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
When removing grouped nodes from RTView, we get the red box. Try this
script:
view := RTView new.
menuBuilder := RTMenuBuilder new view: view.
menuBuilder menu: 'Click Me' background: Color gray callback: [
view clean.
].
group := RTGroup new.
(1 to: 10) do: [:each| group add: ((RTBox new borderColor: (Color green);
elementOn:each)
@ RTDraggable;
+(RTLabel new color: (Color red);
text: each asString; yourself))].
view add: group.
RTVerticalLineLayout on: view elements.
view open.
Is it a bug or does it occur because of the wrong usage of RTGroup?
Usman