Re: [Newbies] Morphic multiple select methods for move to method category

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Morphic multiple select methods for move to method category

Christoph Thiede

Well, the lists in Squeak's System Brower does not support multi-selection. 


But the question is interesting. Why don't we support this? If multiple methods are selected, we could either display the source of the latest selected one, or simply display nothing in the contents field. For refactoring operations, I would consider multi-selection in browsers a quite useful feature.

We could also use multi-selection to perform batch-like menu operations on them ... "Toggle break on entry for all", "File out all", "Remove all" etc.

Best,
Christoph

Von: Beginners <[hidden email]> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 23. April 2020 14:45:00
An: [hidden email]
Betreff: Re: [Newbies] Morphic multiple select methods for move to method category
 
Hi there.

Well, the lists in Squeak's System Brower does not support multi-selection. 

However, you can click on "reorganize" to do that task on the text level:


The main text field will show all message categories and their elements for you to change. After that, accecpt the changes with CMD+S:



Best,
Marcel

Am 23.04.2020 14:35:08 schrieb tty <[hidden email]>:

Hi Folks,

When I have a bunch of methods that I want to categorize in a new method
category, I have not been able to figure out how to move them all at once.
The idiom I am used to is to press ALT , or CTL while clicking, highlight
each one I want to move and them drag and drop from BAR to FOO


Method Cateogry FOO
(empty)

Method Category BAR
method A
method B
method C
method D

thx in advance







--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners



ATT00001.txt (234 bytes) Download Attachment
Carpe Squeak!
Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Morphic multiple select methods for move to method category

timrowledge


> On 2020-04-24, at 11:14 AM, Thiede, Christoph <[hidden email]> wrote:
>
> > Well, the lists in Squeak's System Brower does not support multi-selection.
>
> But the question is interesting. Why don't we support this? If multiple methods are selected, we could either display the source of the latest selected one, or simply display nothing in the contents field. For refactoring operations, I would consider multi-selection in browsers a quite useful feature.

I would tend to agree with this. There are certainly places in the UI where multi-selection would be a useful thing - changing categories, dragging to new places to do refactoring or saving files, all sorts of things


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
You can't make a program without broken egos.



Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Morphic multiple select methods for move to method category

K K Subbu
In reply to this post by Christoph Thiede
On 24/04/20 11:44 PM, Thiede, Christoph wrote:
>
> But the question is interesting. Why don't we support this? If multiple
> methods are selected, we could either display the source of the latest
> selected one, or simply display nothing in the contents field. For
> refactoring operations, I would consider multi-selection in browsers a
> quite useful feature.

Multi-select in methods will be confusing. Which method will appear in
code pane? if code pane is modified then do all the methods have to be
recompiled?

Multi-select is will be quite useful in class/method categories because
categories may be used as filters. But it needs to be done with care. I
find the multi-select in the "help->About this system" disconcerting
because it reuses select for select-again violating POLA. Multi-select
list should be visually distinct from single select lists.

Regards .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Morphic multiple select methods for move to method category

Karl Ramberg
In reply to this post by Christoph Thiede
A feature request:
Multi line selection in MCSaveVersionDialog would be really nice.
I often want to Ignore a lot of changed methods to save a version.
It would be nice to select a several lines at a time to Ignore.

Best,
Karl


On Fri, Apr 24, 2020 at 8:14 PM Thiede, Christoph <[hidden email]> wrote:

Well, the lists in Squeak's System Brower does not support multi-selection. 


But the question is interesting. Why don't we support this? If multiple methods are selected, we could either display the source of the latest selected one, or simply display nothing in the contents field. For refactoring operations, I would consider multi-selection in browsers a quite useful feature.

We could also use multi-selection to perform batch-like menu operations on them ... "Toggle break on entry for all", "File out all", "Remove all" etc.

Best,
Christoph

Von: Beginners <[hidden email]> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 23. April 2020 14:45:00
An: [hidden email]
Betreff: Re: [Newbies] Morphic multiple select methods for move to method category
 
Hi there.

Well, the lists in Squeak's System Brower does not support multi-selection. 

However, you can click on "reorganize" to do that task on the text level:


The main text field will show all message categories and their elements for you to change. After that, accecpt the changes with CMD+S:



Best,
Marcel

Am 23.04.2020 14:35:08 schrieb tty <[hidden email]>:

Hi Folks,

When I have a bunch of methods that I want to categorize in a new method
category, I have not been able to figure out how to move them all at once.
The idiom I am used to is to press ALT , or CTL while clicking, highlight
each one I want to move and them drag and drop from BAR to FOO


Method Cateogry FOO
(empty)

Method Category BAR
method A
method B
method C
method D

thx in advance







--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners



Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Morphic multiple select methods for move to method category

Christoph Thiede

Concerning the "What to show" question, we could simply display nothing and accept nothing if multiple methods are selected. Or just display something like "3 methods selected" in the code pane, and maybe a list of links to every single method.

Don't forget that a Browser's code pane already has a few different meanings, such as method source code, class definition, class comment, class hierarchy, method categories, reorganization, ... :-)


I like the proposal for MCOperationsBrowser, too. At the moment, you can only select nothing and then press <cmd>i, that could be considered a workaround :D


Best,

Christoph


Von: Squeak-dev <[hidden email]> im Auftrag von karl ramberg <[hidden email]>
Gesendet: Samstag, 25. April 2020 13:01:28
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] [Newbies] Morphic multiple select methods for move to method category
 
A feature request:
Multi line selection in MCSaveVersionDialog would be really nice.
I often want to Ignore a lot of changed methods to save a version.
It would be nice to select a several lines at a time to Ignore.

Best,
Karl


On Fri, Apr 24, 2020 at 8:14 PM Thiede, Christoph <[hidden email]> wrote:

Well, the lists in Squeak's System Brower does not support multi-selection. 


But the question is interesting. Why don't we support this? If multiple methods are selected, we could either display the source of the latest selected one, or simply display nothing in the contents field. For refactoring operations, I would consider multi-selection in browsers a quite useful feature.

We could also use multi-selection to perform batch-like menu operations on them ... "Toggle break on entry for all", "File out all", "Remove all" etc.

Best,
Christoph

Von: Beginners <[hidden email]> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 23. April 2020 14:45:00
An: [hidden email]
Betreff: Re: [Newbies] Morphic multiple select methods for move to method category
 
Hi there.

Well, the lists in Squeak's System Brower does not support multi-selection. 

However, you can click on "reorganize" to do that task on the text level:


The main text field will show all message categories and their elements for you to change. After that, accecpt the changes with CMD+S:



Best,
Marcel

Am 23.04.2020 14:35:08 schrieb tty <[hidden email]>:

Hi Folks,

When I have a bunch of methods that I want to categorize in a new method
category, I have not been able to figure out how to move them all at once.
The idiom I am used to is to press ALT , or CTL while clicking, highlight
each one I want to move and them drag and drop from BAR to FOO


Method Cateogry FOO
(empty)

Method Category BAR
method A
method B
method C
method D

thx in advance







--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners



Carpe Squeak!
Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Morphic multiple select methods for move to method category

timrowledge


> On 2020-04-25, at 5:22 AM, Thiede, Christoph <[hidden email]> wrote:
>
> Concerning the "What to show" question, we could simply display nothing and accept nothing if multiple methods are selected. Or just display something like "3 methods selected" in the code pane, and maybe a list of links to every single method.

I'd stick with a simple 'multiple methods selected' banner I think.

> Don't forget that a Browser's code pane already has a few different meanings, such as method source code, class definition, class comment, class hierarchy, method categories, reorganization, ... :-)

Exactly. And let's not forget that we could reasonably change the pane to be whatever makes the most sense for the display setting. Why not a live directory-like tree when showing the hierarchy and allow selecting to update the browser selection? Or single-click to select (multi-select?) and d-click to do the update the browser selection. Then we could select several classes and drag them to a changelist/filer/whatever.  For class comments we could reasonably have a pretty-text pane instead of a code-pane, allowing for more documentary styling and layout - which in turn might collaborate with the help browser system.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Homeopathy: Logic diluted, to make it stronger....