Today: CodeAnnotationMorph
Comment Of The Day Contest - One Day One Comment Rules: #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
#2: If you cannot comment it, deprecate it. Laurent
|
Ok, let's join the party ;-)
I am a "lightweight" Morph. I display annotations for some code holder (such as a browser). Noury Le 10 févr. 2011 à 18:14, laurent laffont a écrit : > Today: CodeAnnotationMorph > > > Comment Of The Day Contest - One Day One Comment > Rules: > #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s). > #2: If you cannot comment it, deprecate it. > Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest > > Laurent Noury Bouraqadi http://car.mines-douai.fr/noury -- -6th National Conference on “Control Architecture of Robots” 24-25 mai 2011, Grenoble area, France http://car2011.inrialpes.fr/ -19th ESUG International Smalltalk Conference 22-26 August 2011, Edinburgh, UK http://www.esug.org/Conferences/2011 |
I cannot find in which case/tool it is used .... CodeAnnotationMorph allInstances is always empty and following senders don't help me much. Laurent Le 10 févr. 2011 à 21:07, Noury Bouraqadi a écrit :
-- Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ |
in my image, it's used in
CodeHolder>>addOptionalAnnotationsTo: at: plus: Le 11 févr. 2011 à 18:18, Laurent Laffont a écrit :
|
In reply to this post by laurent laffont
--------------------------------
I display code annotations that can be embedded in a browser (basic core image browser) to show useful informations about the current method or class. In order to show me in your browser, the "show annotation pane" setting must be set to true (search for 'annotation' in the setting browser). This setting is set to false by default. The informations to show are given by CodeHolder>>annotation. A methods annotation is built according to a list of requests which consists in a list of symbols. These symbols are interpreted by CodeHolder>>#annotationForSelector: ofClass:. See CodeHolder class >>#annotationRequests for more details about this list of requests. By default, the author, the time stamp, the message category, the senders and implementors count and the list of change sets in which the method is referenced are shown. Because the building of an annotation can be very time consuming (especially the implementors count),an annotation is built in background. So, I am also a good example of how a process can be used in order to build some data in background. Instance Variables codeHolder: <CodeHolder> process: <Process> codeHolder - The CodeHolder (a Browser, a MessageList ..) in which I'm embedded process - The process which is building the annotation in background -------------------------------- Cheers Alain Le 11/02/2011 18:18, Laurent Laffont a écrit : > I cannot find in which case/tool it is used .... > > CodeAnnotationMorph allInstances is always empty and following senders > don't help me much. > > > Laurent > > > Le 10 févr. 2011 à 21:07, Noury Bouraqadi a écrit : > >> Ok, let's join the party ;-) >> >> I am a "lightweight" Morph. I display annotations for some code >> holder (such as a browser). >> >> Noury >> >> Le 10 févr. 2011 à 18:14, laurent laffont a écrit : >> >>> Today: CodeAnnotationMorph >>> >>> >>> Comment Of The Day Contest - One Day One Comment >>> Rules: >>> #1: Each day a not commented class is elected. Each day the best >>> comment will be integrated with name of the author(s). >>> #2: If you cannot comment it, deprecate it. >>> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest >>> >>> Laurent >> >> Noury Bouraqadi >> http://car.mines-douai.fr/noury >> -- >> -6th National Conference on >> “Control Architecture of Robots” >> 24-25 mai 2011, Grenoble area, France >> http://car2011.inrialpes.fr/ >> >> -19th ESUG International Smalltalk Conference >> 22-26 August 2011, Edinburgh, UK >> http://www.esug.org/Conferences/2011 >> >> >> >> >> > > -- > Laurent Laffont - @lolgzs <http://twitter.com/#%21/lolgzs> > > Pharo Smalltalk Screencasts: http://www.pharocasts.com/ > Blog: http://magaloma.blogspot.com/ > |
OK I understand now. Thanks Alain Laurent. On Fri, Feb 11, 2011 at 11:52 PM, Alain Plantec <[hidden email]> wrote: -------------------------------- |
Free forum by Nabble | Edit this page |