Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1036 by v.blonde...(a)gmail.com: Ctrl + S and Alt + S haven't the
same behaviour
http://code.google.com/p/moose-technology/issues/detail?id=1036
Describe the problem: what do you get? what do you expect?
To save the modified source code in the debugger under Pharo3.0, we can
make Ctrl + S or Alt + S.
But with the latest version of Moose5.0. Alt + S save the source and move
the stack to the saved method. Ctrl + S only save the source.
How to reproduce the problem: step by step if necessary
Open a debugger, select an other method in the stack trace, modify it.
Try to save with Ctrl + S and do it again with Alt + S.
Additional information: platform, context which may impact the problem
Windows 7 x64 and Linux Ubuntu x64
Please fill in the labels with the following information:
* Type-Defect
* Component-GTDebugger
* Milestone-5.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
Well seen!
Update Roassal and you can do:
-=-=-=-=-=-=-=-=-=-=-=-=
| v e1 e2 l lbl |
v := ROView new.
"Change here"
e1 := (ROBox new size: 30; width:200 ) element.
e2 := (ROBox new size: 30; width:200) element.
l := ROLine elementFrom: e1 to: e2.
lbl := (ROLabel text: 'hello world') element.
ROConstraint stick: lbl onEdge: l. "locate the label between 2 nodes"
e1 @ RODraggable.
e2 @ RODraggable.
v add: e1; add: e2; add: l; add: lbl.
v open
-=-=-=-=-=-=-=-=-=-=-=-=
By the way, I cannot see your attachment? Can some other seen it? It appears as "Mail Attachment.txt”
Alexandre
On Jan 30, 2014, at 12:08 PM, Vincent Blondeau <vincent.blondeau(a)polytech-lille.net> wrote:
> Thanks for the code !
>
> But there still the issue :
>
> <Mail Attachment.txt>
>
> The text is not on the edge and for an UML diagram, is not readable...
>
> I use your code (with some modifications - See below) to do these visualizations on the Roassal latest image.
>
> Cheers,
> Vincent
>
>
> Le 30/01/2014 15:15, Alexandre Bergel a écrit :
>> The problem here is that you are mixing Mondrian code and Roassal code. It is like putting some C or Assembly code in your Java code. You can do it, but you need to know exactly what’s going on.
>>
>> Without Mondrian, you can have:
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> | v e1 e2 l lbl |
>> v := ROView new.
> "Change here"
> e1 := (ROBox new size: 30; width:200 ) element.
> e2 := (ROBox new size: 30; width:200) element.
>> l := ROLine elementFrom: e1 to: e2.
>>
>> lbl := (ROLabel text: 'hello world') element.
>> ROConstraint stick: lbl between: e1 and: e2. "locate the label between 2 nodes"
>>
>> e1 @ RODraggable.
>> e2 @ RODraggable.
>>
>> v add: e1; add: e2; add: l; add: lbl.
>> v open
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> <Mail Attachment.png>
>>
>> If you really wish to stick to Mondrian, you can do:
>>
>> -=-=-=-=-=-=-=-=
>> | b |
>> b:= ROMondrianViewBuilder new.
>> b shape circle size: 30.
> "And here"
> b nodes: #('Hello world. I use some Mondrian code' 'Hello world. I use some Mondrian code too').
>
> b edgeFromAssociation: 'Hello world. I use some Mondrian code' -> 'Hello world. I use some Mondrian code too'.
>> b open.
>>
>> b view edges do: [ :edge |
>> | lbl |
>> lbl := (ROLabel text: 'hello world') element.
>> b view add: lbl.
>> ROConstraint stick: lbl between: edge from and: edge to.
>> ].
>> -=-=-=-=-=-=-=-=
>>
>> <Mail Attachment.png>
>>
>> Cheers,
>> Alexandre
>>
>>
>> On Jan 30, 2014, at 6:51 AM, Vincent Blondeau <vincent.blondeau(a)polytech-lille.net> wrote:
>>
>>> Le 29/01/2014 11:49, Alexandre Bergel a écrit :
>>>> Vincent, did it work?
>>> Not really...
>>>
>>> The code I use is :
>>>
>>> //Node and edges creation
>>> ...
>>> view shape label centeredLabel.
>>> labelNode := view node: 'Hello'. "create the label I want between (it's for the example)"
>>> ROConstraint stick: labelNode between: view edges first from and: view edges first to. "locate the label between 2 nodes"
>>> view treeLayout.
>>> view open
>>>
>>> A text "hello" is displayed but at the begining, the text is misplaced :
>>> <Mail Attachment.txt>
>>> If I move one of the nodes linked to the edge, the text moves to the right location (the picture at the bottom, shows what I want to do :) )
>>> <Mail Attachment.txt>
>>> But the text doesn't stay on the edge but it's between the left sides of the nodes...
>>>
>>> <Mail Attachment.txt>
>>> Do I use the right method and the right arguments ?
>>>
>>> Thanks for helping !
>>>
>>> Vincent
>>>>
>>>> Alexandre
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>>
>>>> Moose-dev(a)iam.unibe.ch
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev(a)iam.unibe.ch
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>>
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I updated the white theme a little bit:
- the scrollbars and buttons are as dark as the title bar
- the resizers are visible with the same color
Please let me know if this works for you.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi!
As you may know, we are working on Roassal2. Maybe we could include it in the moose image?
Gofer new smalltalkhubUser: 'ObjectProfile'
project: 'Roassal2';
package: 'ConfigurationOfRoassal2';
load.
(Smalltalk at: #ConfigurationOfRoassal2) load
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
Just to keep you updated with the excellent work Sergio Maas did with Roassal 2.
Roassal2 now support SVG path. The cool thing about it, is that the web is stuffed with really nice looking icon (e.g., http://iconmonstr.com). We can now embed these icons in any visualization.
As an example, consider this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v shape |
v := RTView new.
shape := RTSVGPath new path: 'M442.264,283.033l-90.66,52.343l28.787,16.621c-28.083,38.277-64.824,62.301-104.362,68.397V231.153
c0-54.82,48.786-60.084,48.786-112.339C324.814,80.869,293.944,50,256,50c-37.943,0-68.814,30.869-68.814,68.814
c0,52.694,48.786,57.052,48.786,112.338v189.242c-39.538-6.097-76.278-30.12-104.363-68.397l28.788-16.621l-90.66-52.343v104.686
l27.018-15.6C137.32,429.445,194.595,462,256,462s118.68-32.555,159.246-89.881l27.018,15.6V283.033z M227.242,118.814
c0-15.857,12.9-28.758,28.758-28.758c15.856,0,28.758,12.9,28.758,28.758c0,15.856-12.901,28.757-28.758,28.757
C240.143,147.571,227.242,134.671,227.242,118.814z'.
shape fillColor: Color red.
shape scale: [:vv | vv model ].
v add: ((shape elementsOn: #(0.1 0.2 0.3 0.4) ) @ RTPopup).
v open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
The problem here is that you are mixing Mondrian code and Roassal code. It is like putting some C or Assembly code in your Java code. You can do it, but you need to know exactly what’s going on.
Without Mondrian, you can have:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v e1 e2 l lbl |
v := ROView new.
e1 := (ROBox new size: 30) element.
e2 := (ROBox new size: 30) element.
l := ROLine elementFrom: e1 to: e2.
lbl := (ROLabel text: 'hello world') element.
ROConstraint stick: lbl between: e1 and: e2. "locate the label between 2 nodes"
e1 @ RODraggable.
e2 @ RODraggable.
v add: e1; add: e2; add: l; add: lbl.
v open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you really wish to stick to Mondrian, you can do:
-=-=-=-=-=-=-=-=
| b |
b:= ROMondrianViewBuilder new.
b shape circle size: 30.
b nodes: #(1 2).
b edgeFromAssociation: 1 -> 2.
b open.
b view edges do: [ :edge |
| lbl |
lbl := (ROLabel text: 'hello world') element.
b view add: lbl.
ROConstraint stick: lbl between: edge from and: edge to.
].
-=-=-=-=-=-=-=-=
Cheers,
Alexandre
On Jan 30, 2014, at 6:51 AM, Vincent Blondeau <vincent.blondeau(a)polytech-lille.net> wrote:
> Le 29/01/2014 11:49, Alexandre Bergel a écrit :
>> Vincent, did it work?
> Not really...
>
> The code I use is :
>
> //Node and edges creation
> ...
> view shape label centeredLabel.
> labelNode := view node: 'Hello'. "create the label I want between (it's for the example)"
> ROConstraint stick: labelNode between: view edges first from and: view edges first to. "locate the label between 2 nodes"
> view treeLayout.
> view open
>
> A text "hello" is displayed but at the begining, the text is misplaced :
> <Mail Attachment.txt>
> If I move one of the nodes linked to the edge, the text moves to the right location (the picture at the bottom, shows what I want to do :) )
> <Mail Attachment.txt>
> But the text doesn't stay on the edge but it's between the left sides of the nodes...
>
> <Mail Attachment.txt>
> Do I use the right method and the right arguments ?
>
> Thanks for helping !
>
> Vincent
>>
>> Alexandre
>>
>>
>>
>>> On 24 Jan 2014, at 07:11, Vincent Blondeau <vincent.blondeau(a)polytech-lille.net>
>>> wrote:
>>>
>>> Hello,
>>>
>>> I use Roassal to visualize a FAST AST as a kind of UML diagram.
>>> Each node on Roassal is a node of the AST and the edges shows the parent link.
>>> That's work fine and it's very easy to do it ! Thanks !
>>>
>>> But I would like to add some text on the edges to know what are the instance variables containing the children nodes.
>>>
>>> I saw the examples and there's not a such functionality.
>>>
>>> Is it possible to add it ?
>>>
>>> Cheers,
>>> Vincent
>>> _______________________________________________
>>> Moose-dev mailing list
>>>
>>> Moose-dev(a)iam.unibe.ch
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> _______________________________________________
>> Moose-dev mailing list
>>
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.