Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
68 posts
|
Hi,
When I remove an element from the view and this element had an interaction RTLabelled, the label is not removed. | view el | view := RTView new.
el := (RTBox new size: 20; color: Color blue) elementOn: 'Element'. view add: el. el @ RTLabelled. el on: TRMouseClick do: [ :event | el remove. view canvas signalUpdate ].
view open Leo Perard
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5677 posts
|
Thanks to all the discussion we are having, I am realizing that RTLabelled is wrongly defined. This is not the way to go. What we need, (listen Doru), is a nice composition mechanism for shapes.
What we have now works okay for other things than Label. Label do not work for now. I am working on it right now… Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Apr 24, 2014, at 7:49 AM, Leo Perard <[hidden email]> wrote: > Hi, > > When I remove an element from the view and this element had an interaction RTLabelled, the label is not removed. > > | view el | > view := RTView new. > el := (RTBox new size: 20; color: Color blue) elementOn: 'Element'. > view add: el. > el @ RTLabelled. > el on: TRMouseClick do: [ :event | el remove. view canvas signalUpdate ]. > view open > > -- > Leo Perard > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev ... [show rest of quote] _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
782 posts
|
We discussed it and tried to create a custom composite shape on top of Roassal 2. But soon it was realized that creating a such a shape would mean adapting layouts accordingly.
Tx for taking it up and integrating the composite shape in Roassal 2. usman On Thu, Apr 24, 2014 at 2:58 PM, Alexandre Bergel <[hidden email]> wrote: Thanks to all the discussion we are having, I am realizing that RTLabelled is wrongly defined. This is not the way to go. What we need, (listen Doru), is a nice composition mechanism for shapes. ... [show rest of quote] _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by abergel
CONTENTS DELETED
The author has deleted this message.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5677 posts
|
Ah yes. I forgot these complicated usages…
Alexandre On Apr 24, 2014, at 3:44 PM, Juraj Kubelka <[hidden email]> wrote: > What Doru wants is quite complex. It does not mean draw one shape above another. But also be able to define that I want to have those elements inside the second shape, another elements above third area. Like UML class. It has three parts. One for name, one for fields, one for methods. You want to do separate nesting for fields and for methods. And soon someone will want different interactions for each shape. For example different click actions, different context menus, etc. > > In Roassal1 there is also resize strategy, so if someone moves nested elements, it should change shape size or disable to move the nested element outside the UML shape. > > Cheers, > Jura > > El 24-04-2014, a las 9:58, Alexandre Bergel <[hidden email]> escribió: > >> Thanks to all the discussion we are having, I am realizing that RTLabelled is wrongly defined. This is not the way to go. What we need, (listen Doru), is a nice composition mechanism for shapes. >> What we have now works okay for other things than Label. Label do not work for now. I am working on it right now… >> >> Alexandre >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> On Apr 24, 2014, at 7:49 AM, Leo Perard <[hidden email]> wrote: >> >>> Hi, >>> >>> When I remove an element from the view and this element had an interaction RTLabelled, the label is not removed. >>> >>> | view el | >>> view := RTView new. >>> el := (RTBox new size: 20; color: Color blue) elementOn: 'Element'. >>> view add: el. >>> el @ RTLabelled. >>> el on: TRMouseClick do: [ :event | el remove. view canvas signalUpdate ]. >>> view open >>> >>> -- >>> Leo Perard >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev ... [show rest of quote] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
7411 posts
|
I am so happy that you are focusing on that :) Doru On Thu, Apr 24, 2014 at 9:56 PM, Alexandre Bergel <[hidden email]> wrote: Ah yes. I forgot these complicated usages… ... [show rest of quote] "Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |