minimap in Glamour-Roassal
by Usman Bhatti
Hello,
I am trying to create a roassal minimap in a glamour browser. But I do not
get a minimap when pressing m key.
It might be something to do with how keystrokes are interpreted in Glamour.
can you have a look?
Here's a simple browser with a roassal visualization (adapted from one of
ben's mail on moose-dev).
| browser viewHack |
browser := GLMTabulator new.
browser column: #list; column: #drawing.
browser transmit
to: #list;
andShow: [ :a | a list ].
browser transmit
to: #drawing;
andShow: [ :a | a roassal painting:
[ :moview :collection |
moview raw @ (ROMiniMap new targetView: moview stack).
collection do: [ :x | moview view add: (ROElement spriteOn:
x) + ROLabel + ROBox white ].
ROVerticalLineLayout on: moview view elements.
viewHack := moview view.
] ].
browser transmit
from: #list port:#selection;
to: #drawing;
transformed:
[ :x | | foundElements |
viewHack elements do: [ :el | ROUnhighlightElement on: el ].
targetElement := viewHack elements at: x.
ROFocusView on: targetElement.
ROHighlightElement on: targetElement color: Color red.
viewHack signalUpdate
].
browser openOn: #(1 2 3 4 5 6).
9 years, 7 months
Issue 942 in moose-technology: Fame-ImportExport - XML Export - transformation of \n and \t not working.
by moose-technology@googlecode.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 942 by v.blonde...(a)gmail.com: Fame-ImportExport - XML Export -
transformation of \n and \t not working.
http://code.google.com/p/moose-technology/issues/detail?id=942
In the class FMXMLPrinter of the Fame-ImportExport package, the
method 'primitive:' doesn't remplace the Character cr by \n and Character
tab by \t as expected in the source code. Indeed the affectation of the
local block variable by this line of code :
char = $n
doesn't work.
The result expected is :
'<?xml version="1.0"?>
<Document>
<Element name="FAMIX.Comment" id="1">
<Attribute name="content">
<String value="This is a test\"\n\t"/>
</Attribute>
</Element>
</Document>'
What we have actually :
'<?xml version="1.0"?>
<Document>
<Element name="FAMIX.Comment" id="1">
<Attribute name="content">
<String value="This is a test\"\
\ "/>
</Attribute>
</Element>
</Document>'
Platform : Win7, Pharo 2.0
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
9 years, 7 months
famix generator for .NET assemblies
by Thomas Haug
Hi everybody,
I have implemented a Famix-Generator which analyses .NET assemblies and produces mse files for CodeCity as well as the MOOSE platform.
If you want to give it a try, you can download it from my site (german, I am sorry - I will change that in near future):
http://www.sharpmetrics.net/index.php/famix-generator
The generator creates famix artifacts for namespaces, types (classes, interfaces, enums und structs), methods, methods calls and local variables. the tool is not complete (missing features, bugs?), I will enhance it during the next weeks or months.. ;-)
(BTW you need a .NET 4.0 installed on your machine. It does not run on the Mono plattform, right now.)
Cheers
Thomas
9 years, 8 months