Design in Mondrian
by Alexandre Bergel
Hi!
One strong principle in Mondrian is to have graph elements independent of their representation. A graph element being just a wrapper of the domain object. This is what has been enforced in the VW and Pharo versions.
However, this has not been completely nice and clean. For example, MOGraphElement defines #bounds, #absoluteBounds. MONode defines #translatedBy:. Shall these methods be moved into the shape?
Currently, we have the following responsibilities:
a graph element:
- keeping a ref to its shape
- managing caches
- managing attributes
- managing nesting of nodes and edges
- layout
- supporting announcement
a node:
- keeping a location
- maintaining a zordered-list of elements to display
- dedicated caches (e.g., bitmap)
- rendering on a canvas
an edge:
- target and source node
- rendering on a canvas
a root:
- selection box
- another event management
Clearly, some responsibilities are ill located. I will do soon some cleaning...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
12 years, 5 months
Re: [Pharo-project] [ANN 1.2] 1.2.1 Full Release Image
by Tudor Girba
Hi,
The Moose build uses 1.2.1 now:
http://hudson.moosetechnology.org/job/moose-latest-dev/
Cheers,
Doru
On 3 Apr 2011, at 10:45, Stéphane Ducasse wrote:
> tx!
> and yes we should continue
>
> On Apr 3, 2011, at 9:36 AM, Marcus Denker wrote:
>
>>
>> On Apr 3, 2011, at 9:35 AM, Marcus Denker wrote:
>>
>>>
>>> https://gforge.inria.fr/frs/download.php/28435/Pharo-1.2.1-11.04.03.zip
>>>
>>
>>
>> .. the all green image of today from Hudson. Yes, this is not repeatable and tomorrow
>> the hudson one might be different. But we need to move on. 1.1 was build just once, too.
>> So we can continue to build the perfect fully automatic process for 1.3...
>>
>> Next:
>> -> Make a one-click.
>> -> Make a cog one-click.
>> -> push all open reports in the tracker to 1.2.2
>>
>>
>> --
>> Marcus Denker -- http://www.marcusdenker.de
>> INRIA Lille -- Nord Europe. Team RMoD.
>>
>>
>
>
--
www.tudorgirba.com
"Problem solving should be focused on describing
the problem in a way that makes the solution obvious."
12 years, 5 months
Design pattern detection
by Andre Hora
Hello,
Is there any tool in Moose to detect design patterns?
regards,
--
Andre Hora
12 years, 5 months