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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear List,
As far as I understood, interfaces are implemented with FAMiXClass
for which the isInterface field is set to true. Fine. But how do I
set the link "isImplementedBy:" from a class to an interface? Is this
by declaring a superclass? That would look odd..
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
now raise an error with the last version of Moose.
Is there any test that cover these methods? I am not sure whether I
am filling the moose model in a wrong way.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I am thinking of starting another effort in April to extend
moose.unibe.ch, and I am looking for 1-2 people interested in giving a
hand with it. It would involve coding in Squeak and with Pier.
Please let me know if you would be willing to help.
Here are some use cases:
- make publications update periodically from external urls
- generate news for the newer publications (like on the scg website)
- make the tool page a special structure that has explicit pointers to
publications, to contributors and to the license
- describe the tool as active/inactive and build a museum for the
inactive tools (Michele's suggestion)
- have the contributor be a special structure where we can derive a
default profile based
- query the VW Store database for project information, and then link
the information with the existing publications and contributors
- an upload interface for case studies
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"To lead is not to demand things, it is to make them happen."
Hi,
I just noticed that Mondrian Easel doesnt work with Mondrian.Utils
version 1.38 and later (no problem with the previous versions). I have an
exception when I click on Open a Mondrian Easel.
Apparently, the problem is in the method
Mondrian.SearchAwareMondrianEasel>>postBuildWith:
The variable EaselHighlightingController is not understood.
How can I fix the problem?
Hi,
Moose can now be loaded in 7.6. There were a couple of problems, but I
think I managed to find them all. Please try to load and let me know
if you encounter problems.
Here are the most important problems:
1. in 7.6 they changed a bit the code to obtain all versions from a
Pundle (Pundle class>>allVersionsWithName:), and it appears that we
have a problem with the CodeFoo bundle in the database. I believe this
is due to Adrian renaming CodeFoo packages into CodeFu. I solved this
temporarily by adding a hack package that overrides the mentioned
behavior.
2. BlockClosure>>cull: had a different implementation in 7.6 then in
CodeFoo so now I renamed it in CodeFoo to cullValue:
3. due to the changes in Refactoring Browser in 7.6 the browser
extensions use now a different mechanism so a couple of packages that
extended the browser had problems. For the moment I solved the problem
by just removing the behavior.
4. a series of external packages needed to be updated in Store to work
with 7.6.
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"From an abstract enough point of view, any two things are similar."
Are there any plans making Moose load in VisualWorks 7.6?
- The Setup package breaks the launcher and the code browser.
Unfortunately MooseSetup (1.6,girba) also loads the Setup package.
- Then I tried to manually load Moose Config (1.25,girba), what
doesn't seem to reach an end and just keeps on loading forever.
Now I am lost ;-)
Btw, ASBAqua and ASBLook (from public StORE) are really cool if you
are on a Mac. For the first time it doesn't hurt to look at the VW
user-interface.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch