Anonymous | Login | 03-02-2021 23:57 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0001083 | [Squeak] Browser | minor | always | 04-19-05 22:11 | 08-22-07 05:11 | |||||||
Reporter | aplantec | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.8 | |||||||||
Summary | 0001083: [ENH] implements multi-selections in browsers | |||||||||||
Description |
from preambule: Implements multi-selection for ScrollPanes (PluggableListMorph in Browser and SimpleHierarchicalMorph in Tamaris for example). 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. A sublist emphasis is given with an emphasis rule (a ListItemEmphasisRule). A particular emphasis rule gives events condition and triggered action on list (list view update). Two instance variable have been added to ScrollPane : eventRulesHandler emphasisIndex. - eventRulesHandler is a ListEventRulesHandler. All ListItemEmphasisRule are stored and triggered from it. - emphasisIndex is a ListItemMorphEmphasisIndex. All list item emphasing are kept and get from it. This cs implements two useful sublist kinds: a bold blue and a bold red one. bold blue is for drag and drop, bold red is for item removal. How to test it: 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). It works with selectors and classes list. |
|||||||||||
Additional Information | ||||||||||||
Attached Files |
![]() |
|||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
35 total queries executed. 27 unique queries executed. |