Status: New
Owner: ----
CC: tudor.gi...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-PetitParser
New issue 882 by kurs....(a)gmail.com: PetitParser Inspector tab in
GTInspector does not work
http://code.google.com/p/moose-technology/issues/detail?id=882
When opening Petit Parser instance in GTInspector, Inspector tab is empty
Status: New
Owner: tu...(a)tudorgirba.com
Labels: Type-Defect Priority-Medium Component-Finder Milestone-4.7
New issue 885 by tu...(a)tudorgirba.com: Moose Finder does not provide the
navigation list in alphabetical order
http://code.google.com/p/moose-technology/issues/detail?id=885
For example, for a class, attributes appear somewhere in the middle of the
list. It should be on top.
Hi Alex and Vanessa,
At this point, Roassal has open branches. Is this wanted? I guess not, but if yes, which is the official branch?
Cheers,
Doru
--
www.tudorgirba.com
"Yesterday is a fact.
Tomorrow is a possibility.
Today is a challenge."
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium Milestone-4.7
New issue 811 by anquetil...(a)gmail.com: Create more virtual association in
MooseChef
http://code.google.com/p/moose-technology/issues/detail?id=811
Famix recognizes 4 types of associations (reference, access, inheritance,
invocation) and Moosechef was built upon these dependencies
(queryAllOutgoingReferences, ...)
But this will miss a good deal of actual dependencies, because many of them
are not expressed by associations:
- exceptions caught, thrown
- parameter types in parameterized classes
- use of annotations
- other?
With Glamour, to enable targeting the focus of a Roassal View based on
the list selection in another pane, I hacked up the following Workspace
script. Is there a more elegant way to achieve this? In particular, one
that avoids the need to for the 'viewHack' variable?
-------------
| 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 |
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).
--------------------
hi!
Just to share an example on how to do animations in Roassal. All the pieces are there, but abstractions are still missing. Sequencing animations is not intuitive so far.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Source code: ROExample>>animationOn:"
"Preambule. It includes the initialization. "
| view rawView elements b helpLabel |
rawView := ROView new.
view := ROMondrianViewBuilder view: rawView.
"-------------"
"-------------"
"Define 10 blue rectangles, align them, and move them away from the corner"
elements := ROElement forCollection: (1 to: 10).
elements do: [ :el | el + ROBox blue; extent: 40 @ 80 ].
rawView addAll: elements.
ROHorizontalLineLayout new
horizontalGap: 0;
on: elements.
elements do: [ :el |
el translateBy: 40 @ 40 ].
"We define the animation in a block to be repeatable"
b := [ elements do: [ :el |
el model odd ifTrue: [
ROLinearMove new
nbCycles: 30;
for: el by: 0 @ 40;
after: [ ROLinearMove new
nbCycles: 30;
for: el by: 0 @ -40 ] ] ] ].
"We first do the animation"
b value.
"Help message"
RONopAnimation new
nbCycles: 70;
after: [ rawView add: (helpLabel := (ROElement on: 'Click here!') + ROLabel).
helpLabel translateTo: 20 @ 150.];
on: rawView.
RONopAnimation new
nbCycles: 120;
after: [ helpLabel remove ];
on: rawView.
rawView on: ROMouseClick do: [ :event | b value ].
"-------------"
"-------------"
"Below is the initiation of the menu and opening the visualization"
ROEaselMorphic new populateMenuOn: view.
view noLayout.
view open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.