famix-core
by Tudor Girba
Hi Alex,
I saw that you removed FAMIXFunction from FAMIX-Core. Is there a
particular reason for this?
But, there is a larger issue here. FAMIX-Core is not meant to be
programmed, but instead it should be generate-able from the MSE
specification of FAMIX. So, basically a test should be to create an
MSE from the descriptions from FAMIX-Core and then regenerate exactly
the same classes back.
Like this, we can make sure that it remains portable and in sync (via
Fame) with implementations in other languages.
To deal with the implementation details, there is a Famix-
Implementation package.
Cheers,
Doru
--
www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot
be done."
14 years, 6 months
Dependencies in Moose-All
by Alexandre Bergel
Hi All,
I am slowing uncovering a problem with Moose-All. If I make a package
(let's say Moose-OBBrowser) and make it required to another one (let's
say Moose-All).
Before saving, I always check whether there is a new version in MC. If
there is one, I merge. But for some reason, merging remove the
dependency I just added.
Simon, were you trapped by this? There is a Moose-ModuleAlgorithms-
simon_denier.19 that is not loaded by Moose-All. Just wondering.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
14 years, 6 months
[squeak] displaying MOFameView
by Tudor Girba
Hi,
I am trying to reproduce the diagram with the FAMIX meta-model. I
found the script in MOFameView>>openOn:, but there is a problem with
the rendering.
I use Pharo 10250.
I attached the error report. What am I doing wrong?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow."
'16 March 2009 12:18:44 am
VM: Mac OS - a SmalltalkImage
Image: Pharo0.1 [Latest update: #10250]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/girba/Desktop/pharo0.1-10250dev09.03.2
Trusted Dir /foobar/tooBar/forSqueak/bogus
Untrusted Dir /Users/girba/Library/Preferences/Squeak/Internet/My Squeak
BalloonEngine(Object)>>error:
Receiver: a BalloonEngine
Arguments and temporary variables:
aString: ''Error: a primitive has failed''
Receiver''s instance variables:
workBuffer: a BalloonBuffer
span: a Bitmap of length 2048
bitBlt: a GrafPort
forms: #()
clipRect: 459@167 corner: 1184@499
destOffset: 462@167
externals: an OrderedCollection()
aaLevel: 4
edgeTransform: nil
colorTransform: nil
deferred: false
postFlushNeeded: false
[] in WorldState>>displayWorldSafely: {[:err :rcvr | errCtx :=
thisContext. [errCtx := errCtx sender. [errCtx no...]}
Arguments and temporary variables:
aWorld: a PasteUpMorph(1622) [world]
err: ''Error: a primitive has failed''
rcvr: a BalloonEngine
errCtx: MOCanvas>>drawOn:
errMorph: a MOCanvas(3824)
BlockContext>>valueWithPossibleArgs:
Receiver: [] in WorldState>>displayWorldSafely: {[:err :rcvr |
errCtx := thisContext. [errCtx := e...etc...
Arguments and temporary variables:
anArray: an Array(''Error: a primitive has failed'' a BalloonEngine)
Receiver''s instance variables:
sender: BlockContext>>valueWithPossibleArgs:
pc: 121
stackp: 0
nargs: 2
startpc: 74
home: WorldState>>displayWorldSafely:
[] in BlockContext>>ifError: {[:ex | errorHandlerBlock
valueWithPossibleArgs: {ex description. ex receiver}]}
Arguments and temporary variables:
errorHandlerBlock: [] in WorldState>>displayWorldSafely:
{[:err :rcvr | errCtx...etc...
ex: Error: a primitive has failed
--- The full stack ---
BalloonEngine(Object)>>error:
[] in WorldState>>displayWorldSafely: {[:err :rcvr | errCtx :=
thisContext. [errCtx := errCtx sender. [errCtx no...]}
BlockContext>>valueWithPossibleArgs:
[] in BlockContext>>ifError: {[:ex | errorHandlerBlock
valueWithPossibleArgs: {ex description. ex receiver}]}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BlockContext>>valueWithPossibleArgs:
[] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)
valueWithPossibleArgs: {exception}]}
BlockContext>>ensure:
MethodContext(ContextPart)>>handleSignal:
Error(Exception)>>signal
Error(Exception)>>signal:
BalloonEngine(Object)>>error:
BalloonEngine(Object)>>primitiveFailed
BalloonEngine>>primAddPolygon:segments:fill:lineWidth:lineFill:
BalloonEngine>>drawPolygon:fill:borderWidth:borderColor:transform:
BalloonCanvas>>drawPath:borderWidth:borderColor:
MOOrthoHorizontalLineShape>>display:on:
MOEdge>>displayOn:
[] in MORoot(MOGraphElement)>>display:on: {[:each | each displayOn:
canvas]}
OrderedCollection>>do:
[] in MORoot(MOGraphElement)>>display:on: {[:canvas | self nodes
do: [:each | each displayOn: canvas]. self edges ...]}
BalloonCanvas(FormCanvas)>>translateBy:during:
MORoot(MOGraphElement)>>display:on:
MORoot>>display:on:
UndefinedObject>>display:on:
MORoot(MOGraphElement)>>displayOn:
MOCanvas>>drawOn:
FormCanvas(Canvas)>>draw:
FormCanvas(Canvas)>>drawMorph:
[] in MOCanvas(Morph)>>fullDrawOn: {[(aCanvas isVisible: self
bounds) ifTrue: [aCanvas drawMorph: self]. self...]}
FormCanvas>>roundCornersOf:in:during:
FormCanvas(Canvas)>>roundCornersOf:during:
MOCanvas(Morph)>>fullDrawOn:
FormCanvas(Canvas)>>fullDraw:
FormCanvas(Canvas)>>fullDrawMorph:
[] in TransformMorph>>drawSubmorphsOn: {[:m | myCanvas fullDrawMorph:
m]}
Array(SequenceableCollection)>>reverseDo:
[] in TransformMorph>>drawSubmorphsOn: {[:myCanvas | (self angle ~=
0.0 or: [self scale ~= 1.0]) ifTrue: [FreeT...]}
FormCanvas>>transformBy:clippingTo:during:smoothing:
TransformMorph>>drawSubmorphsOn:
[] in TransformMorph(Morph)>>fullDrawOn: {[(aCanvas isVisible: self
bounds) ifTrue: [aCanvas drawMorph: self]. self...]}
FormCanvas>>roundCornersOf:in:during:
FormCanvas(Canvas)>>roundCornersOf:during:
TransformMorph(Morph)>>fullDrawOn:
FormCanvas(Canvas)>>fullDraw:
FormCanvas(Canvas)>>fullDrawMorph:
[] in ScrollPane(Morph)>>drawSubmorphsOn: {[:m | canvas fullDrawMorph:
m]}
Array(SequenceableCollection)>>reverseDo:
[] in ScrollPane(Morph)>>drawSubmorphsOn: {[:canvas | submorphs
reverseDo: [:m | canvas fullDrawMorph: m]]}
...etc...'
14 years, 6 months
Another poster :)
by Simon Denier
Hi list
No, it's neither a contest between me and Doru, nor a sudden frenzy
for big pictures hanging on the wall.
Here it is, although it's still not a final version (in particular,
I'm not satisfied with the catch phrase at the top)
http://rmod.lille.inria.fr/seaside/pier/people/Simon+Denier/mooseposter?_...
Comments are welcome, although the window is small as I will send it
tomorrow for printing.
Very important, I actually need some logos in pdf or graffle format
from the following teams/universities: SCG Bern, Lugano, VUB, Louvain
la Neuve, SOUL (to be put next to the RMoD logo)
Or I will try to reuse the ones found on the web.
--
Simon
14 years, 6 months
About EyeSee (VerticalBarDiagram)?
by Hani Abdeen
Hello
I want to use EyeSee and I've some questions:
first, how to give different colors to 'Bars' into a verticalBarDiagram?
precisely, if: models := (models1 union: models2), how to say to diagram
that:
if models1 includes: current then
current visualBar color -> #green
else
current visualBar color -> #red
??
I did this but It does not work:
|diag models removedModels|
models := ...
removedModels := ...
diag := Smalltalk.EyeSee.DiagramRenderer new.
(diag verticalBarDiagram)
y: #size;
regularAxis;
gridLine;
color: [:each| models includes: each];
models: (models addAll: removedModels; yourself).
diag open.
thanks,
Hani
14 years, 6 months
MooseElement>>printOn:
by Alexandre Bergel
In this method, there is: #ErrorPrintingTheObject << #labels >> 'Error
printing the object'
I do not understand what this mean. Why not "self error: 'Error
printing the object'"
?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
14 years, 6 months
Media materials for Moose
by Simon Denier
Hi list
I am looking for any media material (picture, screenshots of tools,
slideshow, videos, podcasts) related to Moose. Some could be put on
the website for the community, and I think they should be put in a
file repository to be shared under a CC licence.
Right now I am working on a poster for Moose and that's why I need
such materials.
--
Simon
14 years, 6 months
[SqMondrian] MOFigureSelection
by Alexandre Bergel
Hi All,
Doru emitted a request on Mondrian. I added the class
MOFigureSelection to capture when a node is selected.
Example in:
MOViewRendererTest>>testFigureSelection
| view node1 announcer |
view := MOViewRenderer new.
view setUsefulHandlersForNodes.
announcer := view interaction.
view nodes: (1 to: 20).
node1 := view nodeForDomainValue: 1.
self deny: (node1 isSelected).
announcer announce: (MOFigureSelection event: nil on: node1).
self assert: (node1 isSelected).
Note that the message setUsefulHandlersForNodes should be sent to the
view. It is automatically sent within an easel. (maybe this is a point
we could discuss).
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
14 years, 6 months