Re: Issue 4156 in pharo: New widgets for senders/implementors

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

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo
Updates:
        Summary: New widgets for senders/implementors

Comment #2 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

thanks ben. What is PluggableTextMorphWithLimits?

We should remove the class Senders from the system too.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo

Comment #3 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

Cool this is fast!!!



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo

Comment #4 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

PluggableTextMorphWithLimits is a cool stuff ^^

You have a warningLimit ( 350 by default ) and an alertLimit ( 2*  
warningLimit by default ), and the number of characters of the text  
displayed is counted ( without space, tabs, cr etc).

If you are below the warning limit, the background is white ( or the  
default color ), if you are between warningLimit and alertLimit, the  
background turn more and more yellow, and if you are above the alertLimit,  
the background turn orange :)


It comes from a discussion I had with Nico yesterday. Even if every  
programer knows it's bad to write long method, if it's not interactively  
reminded to you, you do not pay attention or you just don't care. With this  
little trick, when you see the background turning yellow, you start to  
think hard how to refactor your code :)

(The idea comes from the little radar when you enter a town, with a little  
smiley depending if you are over the speed limit or not. You really want to  
see the happy face, and you slow down)

I will update the RecentSubmissions package, but we should discuss the  
place of the class AbstractToolBrowser, because Nautilus inherits from this  
class, but FlatMessageListBrowser should too ( it's wrote in the comment of  
a duplicated method ).

So maybe AbstractToolBrowser should be moved into the system



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo

Comment #5 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

FlatMessageListBrowser is now in RecentSubmission package.

Here I provide a cs to use FlatMessageListBrowser to display  
senders/implementors/inheritance


It needs:
      - Issue 4163
      - Issue 4162
      - PluggableTextMorphWithLimits ( it can be easily changed )

Attachments:
        SystemNavigation.BenjaminVanRyseghem.1.cs  3.8 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo

Comment #6 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

I will integrate that - sd


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo

Comment #7 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

I integrated the limited pluggable textmorph.
And I will integrate recent changes and I come back here.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4156 in pharo: New widgets for senders/implementors

pharo
Updates:
        Status: Closed
        Labels: Milestone-1.3

Comment #8 on issue 4156 by [hidden email]: New widgets for  
senders/implementors
http://code.google.com/p/pharo/issues/detail?id=4156

in 13184


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker