October 19, 2007
Handbook Note 24/113: Refactor(ing) Menus
This note is a comment about the Refactor pull-down of the main menu of the IDE and the Refactoring submenu of the local menu of the editor, mentioned at page 49.
Note 24: The content of the two menu items is not identical. Even if the same commands are enabled and disabled, depending from the current selection, the text of the context menu of the editor is more specific. For example, by selecting the Form1 symbol in the editor, in the main menu you'll see the caption “Rename”, while the context menu becomes “Rename variable Form1”.
This blog post is part of my "113 Delphi 2007 Handbook Notes" blogging project, to promote my new Delphi book.
2 Comments
Handbook Note 24/113 Refactoring Menus
Well, another take to the same idea will be that the context menu is intended to relate with the surroundings aka "the context" where the refactoring is taking place. The IDE menu is simply the function itself, from a general perspective.Comment by Esteban Pacheco [http://blogs.epachsoft.com] on October 19, 18:24
Post Your Comment
Click here for posting your feedback to this blog.
There are currently 0 pending (unapproved) messages.



Handbook Note 24/113 Refactoring Menus
Comment by Li Yang [http://lextm.blogspot.com] on October 19, 12:43