Well, is this supported? I have no idea how
Alexandre
Le 30 nov. 2015 à 12:16, Tudor Girba tudor@tudorgirba.com a écrit :
Hi,
We could have two processors:
- one for the elements
- one for the model behind the elements
The one for the elements would offer the view like Andrei suggested, and the one for models would offer the model preview. What do you think?
Cheers, Doru
On Nov 30, 2015, at 3:59 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
Hi!
This example no longer works. Also when I select an element the zooming in the visualization does not work any more.
I have just tried on the last version of Moose, with the last version of Roassal.
On a related topic we could add something like the following method to RTElement
This is interesting. However, I am wondering whether we are not removing something by doing that. The preview then does not show the model. And maybe this is relevant to have. Would it be possible to visually select the kind of preview to have? Maybe with a tab or something?
Alexandre
RTElement>>spotterPreviewIn: aComposite <spotterPreview: 10> RTBlink unhighlightElements: self view elements. RTBlink highlight: self. aComposite addBrickBack: self view setUpCanvas buildMorph
Now this method is quite a hack but would make it possible to have something in the images from below. The bad part is the method above has a lot of side-effects as it resizes the canvas in the original visualization (if the view is opened somewhere else) and it does not deselect the element when spotter is closed.
<a GTSpotterMorph(116916224)2015-11-30T14-57-48-574342+01-00.png> <a GTSpotterMorph(561774592)2015-11-30T14-57-22-207557+01-00.png>
Cheers, Andrei
On Wed, Oct 28, 2015 at 1:16 AM, Alexandre Bergel alexandre.bergel@me.com wrote: Hi!
I have worked on the actions available in Glamour during the last few days. I have just added a find icon (glasses icon): <Screen Shot 2015-10-27 at 9.12.41 PM.png>
Clicking on it open a spotter to look for element in the view. Selecting it move the camera to focus on it.
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com
"Don't give to get. Just give."
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev