Difference between revisions of "How to add a tool to Eiffel Studio advance"
m |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:EiffelStudio]] | ||
+ | {{Warning|This information is outdated as of the release of EiffelStudio 6.1. All tool development should now use EiffelStudio Foundations.}} | ||
+ | |||
This page is a continued page of [[How to add a tool to Eiffel Studio]] | This page is a continued page of [[How to add a tool to Eiffel Studio]] | ||
== Tool memory handling == | == Tool memory handling == | ||
+ | We should implement "internal_recycle" feature for every EB_TOOL descendants. See figure 1. | ||
+ | [[Image:How to add a tool to Eiffel Studio advanced figure 1.png]] | ||
+ | |||
== Add a mini tool bar for our Hello World tool == | == Add a mini tool bar for our Hello World tool == | ||
+ | Redefine two mini tool bar related features in our EB_HELLO_WORLD_TOOL. See figure 2. Then run the Eiffel Studio project, the result is shown in figure 3. | ||
+ | |||
+ | [[Image:How to add a tool to Eiffel Studio advanced figure 2.png]] | ||
+ | |||
+ | [[Image:How to add a tool to Eiffel Studio advanced figure 3.png]] | ||
+ | |||
== Internationalization support == | == Internationalization support == | ||
+ | We added the strings which we want translate to class INTERFACE_NAMES. See figure 4. After that, we update our EB_HELLO_WORLD_TOOL codes. See figure 5. | ||
+ | |||
+ | [[Image:How to add a tool to Eiffel Studio advanced figure 4.png]] | ||
+ | |||
+ | [[Image:How to add a tool to Eiffel Studio advanced figure 5.png]] |
Latest revision as of 08:46, 17 April 2008
Warning: This information is outdated as of the release of EiffelStudio 6.1. All tool development should now use EiffelStudio Foundations.
This page is a continued page of How to add a tool to Eiffel Studio
Tool memory handling
We should implement "internal_recycle" feature for every EB_TOOL descendants. See figure 1.
Add a mini tool bar for our Hello World tool
Redefine two mini tool bar related features in our EB_HELLO_WORLD_TOOL. See figure 2. Then run the Eiffel Studio project, the result is shown in figure 3.
Internationalization support
We added the strings which we want translate to class INTERFACE_NAMES. See figure 4. After that, we update our EB_HELLO_WORLD_TOOL codes. See figure 5.