I have been looking at the ROExample "Nesting" examples and expanded
#nesting2 with another level as shown in the code below, such that there
is the outer view, middle "#1" nodes and inner "#2" nodes. However the
initial state of this has much of the middle node1 and inner node2 nodes
overlapping.
How can these be made for the circle layout to leave spacing between the
middle node1 nodes?
cheers -ben
--------------------
| view nodes1 |
view := ROView new.
view add: (ROElement sprite addAll: (nodes1 := ROElement spritesOn:
(1 to: 10))).
nodes1 do: [:n | n addShape: ROLabel].
nodes1 do:
[ :node1 |
( (node1 model) *100+1 to: (node1 model)*100+5 ) do:
[ :x |
node1 add: ( (ROElement spriteOn: x) addShape: ROLabel).
].
ROGridLayout on: node1 elements.
].
ROCircleLayout on: nodes1.
view openInWindow.
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 792 by google....(a)ben.coman.com.au: Mondrian - broken popupText:
http://code.google.com/p/moose-technology/issues/detail?id=792
I have isolated what I assume is an issue introduced in
ConfigurationOfMondrian-AlexandreBergel.332 with #popupText:
Test Case to execute in Mondrian Easel...
view interaction popupText: [ :es | 'popupText works'].
view shape label.
view node: 'node value'.
With a freshly unzipped Moose_Suite_4_6,
hovering over the node displays a blue box that says 'popupText works'
Using Monticello Browser to load
ConfigurationOfMondrian-AlexandreBergel.331 then doing '(Smalltalk at:
#ConfigurationOfMondrian) project lastVersion load'
has the same behaviour.
With Monticello Browser, loading
ConfigurationOfMondrian-AlexandreBergel.332 then doing '(Smalltalk at:
#ConfigurationOfMondrian) project lastVersion load'
hovering over the node displays a white box that says 'node value'
This behaviour persists through to current
ConfigurationOfMondrian-AlexandreBergel.348
The comment on 332 is: 2.147 : Pharo ground is seriously shaking those
days... popupText: does not use the Pharo popup, it instead uses popupView:
Platform: Windows 7
Status: New
Owner: alexandr...(a)gmail.com
Labels: Type-Defect Priority-High Component-Roassal
New issue 826 by alexandr...(a)gmail.com: Roassal hover popup on edges
http://code.google.com/p/moose-technology/issues/detail?id=826
With the following script, in Mondrian when you hover over edges a popup
appears showing the name of the edge. Is the same possible with Roassal?
view shape rectangle size: 20.
nodes := view nodes: (1 to: 20).
view edges: (2 to: 20) from: 1 to: #yourself.
view circleLayout.
Thanks Ben for noticing this!
Hi,
I' trying to run verveineJ on the Eclipse source code .. and i always get this:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.LinkedList.addBefore(LinkedList.java:778)
at java.util.LinkedList.add(LinkedList.java:198)
at fr.inria.verveine.core.Dictionary.getEntityByName(Unknown Source)
at fr.inria.verveine.extractor.java.JavaDictionary.ensureFamixMethod(Unknown Source)
at fr.inria.verveine.extractor.java.VerveineVisitor.visitVariablesDeclarations(Unknown Source)
at fr.inria.verveine.extractor.java.VerveineVisitor.visit(Unknown Source)
at org.eclipse.jdt.core.dom.FieldDeclaration.accept0(FieldDeclaration.java:279)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at fr.inria.verveine.extractor.java.FamixRequestor.acceptAST(Unknown Source)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:1016)
at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:628)
at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:988)
at fr.inria.verveine.extractor.java.VerveineJParser.parse(Unknown Source)
at fr.inria.verveine.extractor.java.VerveineJParser.main(Unknown Source)
I tried adding -Xmx4000m .. but i still get the same exception.
Is there another trick ?
Thanks.
Andrea
With the Ortho layouts in Mondrian and now Roassal, I find that it can
get a bit messy when moving nodes around when each node pair has its
middle line segment spaced at 50% from each end. I have thought for a
while that it might even better if the middle segment could be shared
among child nodes. So I've done a basic implementation this, and there
are a lot of rough edges, but I wanted to share this before going any
further to check if this approach is reasonable, or if there is a better
way to proceed.
A few of the things that need to be sorted are:
1. Distortion when a node is dragged up so that the top of windows
stretches up
2. Arrows go a bit strange if the child is dragged higher than the parent.
3. The horizontal mid-segments need to be offset, otherwise the join
together when a child node is dragged to the far side.
Attached is an image showing the two methods side by side, and also the mcz.
cheer -ben
Hi,
I just wanted to wish the ESUG participants a nice conference. Please do let us know of any meaningful news.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow."
Hi!
I have a list presentation. When an item of that list is selected, a
text editor opens in another pane. I want to restrict (like when
you're editing a method) to select another item in the list if there
are changes in the editor. Is there some way to execute some code when
the user tries to select something?
Thanks in advance
Nahuel.