Re: [Pharo-users] Mouse events in FastTableModel subclass [Spec]

2017-01-07 Thread Matteo
whenSelectedItemChanged: [ :new :old :something :announcment | > { new . old . something . announcment } inspectOnce ]; > openWithSpec. > --- > > Best regards, > Henrik > > -Opprinnelig melding- > Fra: Pharo-users [mailto:ph

Re: [Pharo-users] Mouse events in FastTableModel subclass [Spec]

2017-01-06 Thread Henrik Nergaard
. --- Best regards, Henrik -Opprinnelig melding- Fra: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] På vegne av Matteo Sendt: 06 January 2017 16:35 Til: pharo-users@lists.pharo.org Emne: Re: [Pharo-users] Mouse events in FastTableModel subclass [Spec] Update: problem fixed

Re: [Pharo-users] Mouse events in FastTableModel subclass [Spec]

2017-01-06 Thread Ben Coman
Thanks for the follow up. This will probably be useful for me to know later. cheers -ben On Fri, Jan 6, 2017 at 11:34 PM, Matteo wrote: > Update: problem fixed by adding an "Announcer" to the "double click" > event, i.e.: > > morWidget > onAnnouncement:

Re: [Pharo-users] Mouse events in FastTableModel subclass [Spec]

2017-01-06 Thread Matteo
Update: problem fixed by adding an "Announcer" to the "double click" event, i.e.: morWidget onAnnouncement: FTStrongSelectionChanged send: #doubleClick: to: self. Where "morWidget" is the morphic object representing a list of pictures, "self" is the

[Pharo-users] Mouse events in FastTableModel subclass [Spec]

2017-01-05 Thread Matteo via Pharo-users
--- Begin Message --- Hi, I've created a PictureListModel class to manage a list of pictures. It's a subclass FastTableModel and its adapter (MorphicPictureListAdapter) is a subclass of MorphicFastTableAdapter. The widget works correctly: it shows a scrollable list of pictures. The problem is