Multi-selection in lists (enh, goodie, SM or trash ?)

Alain Plantec alain.plantec at univ-brest.fr
Fri Mar 25 15:44:36 UTC 2005


well, it's trash ...
sorry but because of a bad cr/lf convertion (I think) attached cs is 
unuseable.
I will send it again soon.
sorry again
alain

> hi all,
>
> Here is a cs that implements multi-selection for ScrollPanes.
> It allow handling of (a priori) an unlimited number of  sublists.
> Each sublist is marked with an "emphasis" (a 
> ListItemMorphEmphasisModel) which is
> a textColor, a font and an emphasis code.
>
> In this cs one have two sublist kinds : a bold blue and a bold red one.
> bold blue is for drag and drop, bold red is for item removal.
> It it designed so that one can easily (I hope) integrate other sublist
> kinds (as a green italic one for example).
>
> How to test it:
> First, close all your browsers.
> install the cs from a file list.
> now you have to close your file list which is no more useable.
>
> Bold blue list test : for drag and drop
> Open a browser. In the selector list, you can collect a blue sublist 
> with shift+left button (red button?).
> Now you can drag blue selection (all selectors in one drag)  and drop 
> it into another category for example.
> Drag and drop is also working on class list : you can drag and drop a
> list of classes from one system category to another for example.
>
> Bold red list test :  for item removing
> In order to insert an item in a red sublist : capslock and cmd-x (it's 
> cmd-X).
> Item under mouse pointer is inserted in a red  sublist.
> Then with cmd-x, all red sublist items will be removed (after a 
> confirmation).
> for now it work with selectors and class list.
>
>
> alain
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>
>  
>




More information about the Squeak-dev mailing list