<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.eiffelroom.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eiffelroom - Inheriting comments - Comments</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments</link>
 <description>Comments for &quot;Inheriting comments&quot;</description>
 <language>en</language>
<item>
 <title>The contract viewer&#039;s right-click issue</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-431</link>
 <description>&lt;p&gt;Paul, you mention three possible fixes for the right-click issue seen in the sneak preview of the contract viewer.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt; The last would be sad, so let&#039;s not think about that.&lt;/li&gt;
    &lt;li&gt; The second would be disappointing: it&#039;s so neat that it pops up simply by hovering the mouse there.&lt;/li&gt;
    &lt;li&gt; The first is intriguing. You say that hovering the mouse over a feature would display a small beam. What would the user have to do, then, to open the contract viewer? Click on the beam? Move the mouse down a bit to hover over the beam? This sounds a bit disappointing too.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A fourth option would be to leave it as it is, but make sure that right-clicking works. Isn&#039;t this possible? If I try to right-click on a feature but the contract viewer has popped up unexpectedly, is there any reason why the right-click can&#039;t be forwarded to the feature stone underneath? (Not sure if I&#039;ve got my pebble-drop metaphors mixed up there, but you know what I mean.)&lt;/p&gt;

&lt;p&gt;Me, I&#039;d want to activate it via a keyboard shortcut rather than a mouse-hover, of course ;-)&lt;/p&gt;

</description>
 <pubDate>Thu, 28 Feb 2008 04:12:39 -0800</pubDate>
 <dc:creator>peter_gummer</dc:creator>
 <guid isPermaLink="false">comment 431 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>A few Notes</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-430</link>
 <description>&lt;p&gt;We are aware of the right click issue and it will be addressed.&lt;/p&gt;

&lt;p&gt;I put a preview of the contract viewer in the editor to ensure any annoyances are worked out before the release. I mentioned this in one of the &lt;a href=&quot;http://dev.eiffel.com/EiffelStudio_6.2_Releases&quot;&gt;6.2 release notes&lt;/a&gt;, release 6.2.7.2075.&lt;/p&gt;

&lt;p&gt;There are a few things that might happen with this: &lt;ul&gt;
    &lt;li&gt; The drop down is shrunk to a small beam under the feature name text, so it does not pop up accidentally or get in the way.&lt;/li&gt;
    &lt;li&gt; The pop up time out will be longer so it does not pop up too soon, with a key modifier to show it immediately.&lt;/li&gt;
    &lt;li&gt; It will be removed.&lt;/li&gt;
&lt;/ul&gt;

&lt;/p&gt;

&lt;p&gt;We need to get this right because in the future the mechanism will be used in various forms throughout EiffelStudio. As it stands, what you see probably wont be what is released. There is quite a bit of logic already there to determine when to show the token options. Any feedback is welcome, we want to get this right without being annoying.&lt;/p&gt;

&lt;p&gt;In reference to Greg&#039;s remarks, it&#039;s not a tool tip. In the future you&#039;ll be editing contracts directly on the &amp;quot;assistance window&amp;quot;. As I&#039;ve said these types of windows will be placed through EiffelStudio in future releases, not just in the editor.&lt;/p&gt;

</description>
 <pubDate>Wed, 27 Feb 2008 16:47:14 -0800</pubDate>
 <dc:creator>paulbates</dc:creator>
 <guid isPermaLink="false">comment 430 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>I like it if it works</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-429</link>
 <description>&lt;p&gt;I have no problem with this innovation. Where I get annoyed as a user is when an innovation gets in the way of standard user interface conventions. (Pick and drop is the classic example of that. Until recently, it impeded the use of context menus, and even today there is no drag and drop.) In 6.2.7.2437, we have this nice preview of the contracts tooltip, and I like it, but a couple of times already it has popped up when I was attempting to right-click a feature.&lt;/p&gt;

&lt;p&gt;The trouble with this sort of thing is that it&#039;s easy to prototype and get people saying &amp;quot;Wow!&amp;quot;, but it&#039;s very difficult to get it right. So I&#039;d be glad to see this in 6.2, as long as it&#039;s very thoroughly tested! I would expect to see an option in Preferences for turning it off.&lt;/p&gt;

</description>
 <pubDate>Wed, 27 Feb 2008 14:30:57 -0800</pubDate>
 <dc:creator>peter_gummer</dc:creator>
 <guid isPermaLink="false">comment 429 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>I&#039;m not sure if there is any</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-428</link>
 <description>&lt;p&gt;I&#039;m not sure if there is any standard for tooltips, but if you look at Visual Studio they have something very similar. They do not have a button, but they have expandable tree views in the tool tip. Not exactly the same, but it looks like tooltips are not just messages anymore, you can interact with them.&lt;/p&gt;

</description>
 <pubDate>Mon, 25 Feb 2008 20:59:45 -0800</pubDate>
 <dc:creator>manus_eiffel</dc:creator>
 <guid isPermaLink="false">comment 428 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>Nice, but..</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-427</link>
 <description>&lt;p&gt;Shouldn&#039;t the &amp;quot;Edit Contracts...&amp;quot; button be in a popup menu instead of a tooltip?&lt;/p&gt;

&lt;p&gt;This seems like a very non-standard add-on to tooltip functionality. I do think the tooltip is a good idea, and I also believe strongly that Eiffel Vision should be migrating closer to supporting standard behavior rather than adding more departures from it.&lt;/p&gt;

&lt;p&gt;If it is documented as a standard for Windows or some other common user interface, could you please refer me to the document?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Greg&lt;/p&gt;

</description>
 <pubDate>Mon, 25 Feb 2008 12:40:53 -0800</pubDate>
 <dc:creator>gcompestine</dc:creator>
 <guid isPermaLink="false">comment 427 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>It definitely makes sense to</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-426</link>
 <description>&lt;p&gt;It definitely makes sense to use Precursor and we will go with it for now since it seems that people prefer it even though it is not used for implementation but for specification.&lt;/p&gt;

</description>
 <pubDate>Tue, 19 Feb 2008 10:22:43 -0800</pubDate>
 <dc:creator>manus_eiffel</dc:creator>
 <guid isPermaLink="false">comment 426 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>Precursor vs. Original</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-425</link>
 <description>&lt;p&gt;The keyword Precursor refers to the implementation, but the notion of precursor feature is implementation free, as defined in ECMA 367-2, section 8.10.27: &amp;quot;A precursor of an inherited feature is a version of the feature in the parent from which it is inherited.&amp;quot; On the other hand, Original may be confused with the definition of Origin of a feature, section 8.5.1, which is the class where the feature was first introduced. Considering these two definitions, I clearly prefer Precursor because what we mean is the comment in the precursor feature (i.e. the version of the feature in the parent), not the comment that appeared when the feature was first introduced. In the example below:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;class&lt;/span&gt; A&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;feature&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;f&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Comment 1&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;class&lt;/span&gt; B&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;inherit&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;A&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;redefine&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;feature&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;f&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Comment 2&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;class&lt;/span&gt; C&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;inherit&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;B&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;redefine&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;feature&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;f&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Precursor&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;what we mean is &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Comment 2&lt;/span&gt;&lt;/code&gt; and not &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Comment 1&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;

</description>
 <pubDate>Tue, 19 Feb 2008 01:20:25 -0800</pubDate>
 <dc:creator>ericb</dc:creator>
 <guid isPermaLink="false">comment 425 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>Comments are clearly not implementations</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-424</link>
 <description>&lt;p&gt;If it appears in a comment, it&#039;s clearly not referring to an implementation, so I can&#039;t see any opportunity for confusion if you use &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Precursor&amp;gt;&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;But if you really don&#039;t want to do that, then how about:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;ditto&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Which people might abbreviate to:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;;-)&lt;/p&gt;

</description>
 <pubDate>Mon, 18 Feb 2008 15:21:49 -0800</pubDate>
 <dc:creator>peter_gummer</dc:creator>
 <guid isPermaLink="false">comment 424 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>We thought about Precursor,</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-423</link>
 <description>&lt;p&gt;We thought about Precursor, but because it refers to an implementation rather than to a specification we thought something else would be better. This is why we have settled for &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Original&amp;gt;&lt;/span&gt;&lt;/code&gt;; this is definitely not a firm decision yet as we are waiting for more feedback.&lt;/p&gt;

</description>
 <pubDate>Mon, 18 Feb 2008 14:40:00 -0800</pubDate>
 <dc:creator>manus_eiffel</dc:creator>
 <guid isPermaLink="false">comment 423 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>Precursor</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-422</link>
 <description>&lt;p&gt;But seriously, why not use the same keyword that Eiffel code uses to denote the inherited routine:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Precursor {MANU}&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Then people only have to remember one word. You&#039;ll have newcomers confused trying to remember which word they have to use in which context.&lt;/p&gt;

&lt;p&gt;(Not that I&#039;m particularly fond of the keyword &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #800080;&quot;&gt;Precursor&lt;/span&gt;&lt;/code&gt; -- I would have found &lt;code class=&quot;geshifilter eiffel&quot;&gt;inherited&lt;/code&gt; more intuitive -- but &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #800080;&quot;&gt;Precursor&lt;/span&gt;&lt;/code&gt; it is, so let&#039;s use it!)&lt;/p&gt;

</description>
 <pubDate>Mon, 18 Feb 2008 14:28:37 -0800</pubDate>
 <dc:creator>peter_gummer</dc:creator>
 <guid isPermaLink="false">comment 422 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>I have a comment</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-421</link>
 <description>&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Original {MANU}&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

</description>
 <pubDate>Mon, 18 Feb 2008 14:20:48 -0800</pubDate>
 <dc:creator>peter_gummer</dc:creator>
 <guid isPermaLink="false">comment 421 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>Original comments, everywhere</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comment-420</link>
 <description>&lt;p&gt;For those that have read your blog, as of rev#72341 the inherited/original comments can also be seen in the code browsing tools such as the Features and Class Tools.&lt;/p&gt;

&lt;p&gt;Also, it&#039;s worth mentioning that the &amp;lt;Original&amp;gt; comment can be injected anywhere in a redefined feature&#039;s comments, it&#039;s not an exclusive system. It is entirely possible to author new comments for a new feature and implant &amp;lt;Original&amp;gt; on one of the new lines. The end results merging the written comment with the inherited comment of a redefined feature.&lt;/p&gt;

</description>
 <pubDate>Mon, 18 Feb 2008 12:26:03 -0800</pubDate>
 <dc:creator>paulbates</dc:creator>
 <guid isPermaLink="false">comment 420 at http://www.eiffelroom.com</guid>
</item>
<item>
 <title>Inheriting comments</title>
 <link>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments</link>
 <description>&lt;p&gt;I don&#039;t know if you are like me but often when you redefine a feature, I used to copy/paste the comments so that I still know what the feature is supposed to do in english terms (in addition to the contracts of course). In 6.2, we are introducing a new facility so that in the editor and in the flat-view of the feature you do not have to do the copy/paste.&lt;/p&gt;

&lt;p&gt;I&#039;m going to use classes from the compiler to show the new feature. The definition of {TYPE_A}.good_generics states:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;good_generics: &lt;a href=&quot;http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fdocs.eiffel.com%2Feiffelstudio%2Flibraries+BOOLEAN&amp;btnI=I%27m+Feeling+Lucky&quot;&gt;&lt;span style=&quot;color: #800000&quot;&gt;BOOLEAN&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;is&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- Has the base class exactly the same number of generic&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- parameters in its formal generic declarations?&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;require&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is_class_valid: is_class_valid&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #800080;&quot;&gt;Result&lt;/span&gt; := &lt;span style=&quot;color: #800080;&quot;&gt;True&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;and now in my descendant LIKE_TYPE_A, I just do the following:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;geshifilter eiffel&quot; style=&quot;font-family: monospace;&quot;&gt;good_generics: &lt;a href=&quot;http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fdocs.eiffel.com%2Feiffelstudio%2Flibraries+BOOLEAN&amp;btnI=I%27m+Feeling+Lucky&quot;&gt;&lt;span style=&quot;color: #800000&quot;&gt;BOOLEAN&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;is&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Original&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #800080;&quot;&gt;Result&lt;/span&gt; := actual_type.&lt;span style=&quot;color: #000060;&quot;&gt;good_generics&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #0600FF; font-weight: bold;&quot;&gt;end&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Basically, what we are doing is that the comment &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Original&amp;gt;&lt;/span&gt;&lt;/code&gt; is a placeholder to get the inherited comment. In the EiffelStudio editor, it is shown by the following tooltip when you leave your mouse pointer over the feature name for a few seconds:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.eiffelroom.org/node/263&quot;&gt;&lt;img src=&quot;http://www.eiffelroom.org/files/images/inherited_comments.png&quot; title=&quot;Showing inherited comments inline in EiffelStudio&quot; alt=&quot;Inherited comment&quot; style=&quot;display: block; margin-left: auto; margin-right: auto;&quot; width=&quot;642&quot; height=&quot;403&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note that if you do put no header comment in the redefined routine, we will still show the inherited comment. However it was felt that having &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Original&amp;gt;&lt;/span&gt;&lt;/code&gt; was a clear indication for the reader of the class that the header comment was not forgotten.&lt;/p&gt;

&lt;p&gt;And if you inherit the routine from various ancestors, you can choose which ancestor&#039;s comment to take by using the following syntax &lt;code class=&quot;geshifilter eiffel&quot;&gt;&lt;span style=&quot;color: #008000; font-style: italic;&quot;&gt;-- &amp;lt;Original {MY_ANCESTOR}&amp;gt;&lt;/span&gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If you have any feedback on this new feature, please let us know by dropping a comment.&lt;/p&gt;

</description>
 <comments>http://www.eiffelroom.com/blog/manus_eiffel/inheriting_comments#comments</comments>
 <category domain="http://www.eiffelroom.com/tag/eiffelstudio">EiffelStudio</category>
 <category domain="http://www.eiffelroom.com/tag/comment">comment</category>
 <category domain="http://www.eiffelroom.com/tag/eiffel">Eiffel</category>
 <pubDate>Mon, 18 Feb 2008 10:32:48 -0800</pubDate>
 <dc:creator>manus_eiffel</dc:creator>
 <guid isPermaLink="false">262 at http://www.eiffelroom.com</guid>
</item>
</channel>
</rss>
