Dear list,
I am still struggling in populating my meta model with Java code. It
is not clear to me how I can express dependencies. For example, I
have a class Point, and a second class PointFactory. I guess there
should be a famix entity intended to express this situation that
contains the following information:
- the method PointFactory>>createNewPoint has a reference to Point
Which of the FAMIXes classes should I use? FAMIXAccess,
FAMIXInvocation, FAMIXGlobalVariable?
Then, what should I do with this famix entity. The FAMIXMethod
(PointFactory>>createNewPoint) should know about it. Where should I
do an add: ? In FAMIXMethod>>accesses, incomingInvocations,
outgoingInvocations, ... ?
Side question, what is a group (e.g., incomingInvocationsGroup)?
Side questions 2: does it make sense that I add come comments in the
moose code and then publish it in Store? I will do this... This is
important I believe. But how can I do it? Sorry about my ignorance
about Store.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex,
And here are the answers for the other two questions.
On Apr 16, 2008, at 1:21 AM, Alexandre Bergel wrote:
> Side question, what is a group (e.g., incomingInvocationsGroup)?
The methods that end with Group offer the collection of entities in a
Group, and Group can be typed (e.g., ClassGroup) and such a typed
Group has methods with meta-descriptions that then are shown better in
the ui.
> Side questions 2: does it make sense that I add come comments in the
> moose code and then publish it in Store?
Of course, you can add comments :)
> I will do this... This is important I believe. But how can I do it?
> Sorry about my ignorance
> about Store.
I guess you are asking about the publishing policy. You can find
details here:
http://moose.unibe.ch/docs/dev/versioning
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"There are no old things, there are only old ways of looking at them."
Hi everybody !
IÂ’m working on the method MooseModel >> packagesDSM and I noticed that the
message sorted: sent to an OrderedCollection doesnÂ’t sort anything!
I also tried with a simple condition of sort: p1staticNeededPackages size
> p2staticNeededPackages size
I donÂ’t understand why the OrderedCollection is not sorted.
Have I forgot anything?
Thanks
Romain
Hi,
related to my previous question, I have a model loaded in moose which
I generated usinig the namespaceImporter. When I inspect the model all
the classes and methods are there but they are not displayed n the
browser.
Any ideas?
Orla
Hi everybody,
I have some trouble embedding an Eyesee diagram in an application
window. Right now, I basically put a VisualisationUI as a subcanvas.
The code snippets that illustrate the essential parts of that process
are below.
However, this does not seem to be an ideal solution. The diagram is
not scaled to the subcanvas (there are scrollbars) and I don't see how
to accomplish that. Maybe I'm doing something wrong and I should not
use the VisualisationUI as the subcanvas? Or maybe I can easily scale
the diagram to the size of the subcanvas? I only found a way to change
the zoom level.
Any help would be appreciated.
Thanks!
---- code snippets ----
....
theCanvas := Graphics.VisualizationUI new
....
diagramrenderer diagram gcWrapper:
EyeSee.DiagramGraphicsContextWrapper new.
diagramrenderer diagram setup.
...
postBuildWith: aBuilder
theCanvas visualization model: diagramrenderer.
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
Hi!
I wish to specify that a class belongs to a package. Which of these
invocations should I use?
famixClass setBelongsTo: package.
famixClass packageIn: package
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
THe following code used to export a moose model of moose but now is
not working.
Any ideas?
Thanks
Orla
|model |
model := MooseModel new.
model name: aName.
NameSpaceImporter new add: SCG.Moose; model: model; run.
MooseModel root addEntity: model.
In the last version of Moose, there is the following piece of code:
EntityState>>cache: selector initializer: aBlock
^self at: selector ifAbsentPut: [ aBlock cullValue: self entity ]
cullValue: does not exist. callValue: neither...
This raises some rollbacks in the moose GUI...
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.