Difference between revisions of "How to add a tool to Eiffel Studio"

(Forward link)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:EiffelStudio]]
 
[[Category:EiffelStudio]]
== This page describes how one can add a new tool window to the interface. ==
+
{{Warning|This page has been deprecate due to changes in tool development in EiffelStudio 6.1. Please see [[Tool Integration Development]]}}
  
1. Install Eiffel Studio and download Eiffel Studio SVN source codes. Compile the Eiffel Studio project.
+
==  There are some advanced topics: ==
  
2. Now we start to make our brand new "Hello World Tool" for Eiffel Studio.
+
*Memory handling for our tool
 
+
*Add a mini tool bar to our tool
3. Create a cluster where you decide to put our "Hello World Tool" classes, as you seen in figure 1.
+
*Internationalization support
 
+
[[Image:How to add a tool to Eiffel Studio figure 1.png]]
+
 
+
4. Create our key class "EB_HELLO_WORLD_TOOL" under "hello_world_tool" which is just created. Make sure "EB_TOOL" is our new class ancestor. The steps are shown in figure 2.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 2.png]]
+
 
+
5. Simple implement our EB_HELLO_WORLD_TOOL features which we have to implemented. The steps are shown in figure 3.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 3.png]]
+
 
+
6. Simple implement something to make EB_HELLO_WORLD_TOOL works at runtime. The steps are shown in figure 4.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 4.png]]
+
 
+
7. Add our Hello World tool related features into EB_DEVELOPMENT_WINDOW_TOOLS. The steps are shown in figure 5.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 5.png]]
+
 
+
8. Add initialization codes for our Hello World tool when starting Eiffel Studio. The steps are shown in figure 6 and figure 7.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 6.png]]
+
[[Image:How to add a tool to Eiffel Studio figure 7.png]]
+
 
+
8. Add a new menu item under Eiffel Studio view->Tools menu. Use this menu item we can show/hide our Hello World tool. The steps are shown in figure 8.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 8.png]]
+
 
+
9. Congratulations! Everything is ready, press F7 compile the project, run it. Then you will see our Hello World tool has been added to Eiffel Studio. The result is shown in figure 9.
+
 
+
[[Image:How to add a tool to Eiffel Studio figure 9.png]]
+
 
+
==  There are some advanced topics: ==
+
  
*We should handle memory issues for our tool, see [[not added yet]].
+
Please see [[How_to_add_a_tool_to_Eiffel_Studio_advance|How to add a tool to Eiffel Studio advance]]
*If you want to add a mini tool bar, see [[not added yet]].
+
*You want to have internationalization support, see [[not added yet]].
+

Latest revision as of 12:29, 13 August 2007

Warning.png Warning: This page has been deprecate due to changes in tool development in EiffelStudio 6.1. Please see Tool Integration Development

There are some advanced topics:

  • Memory handling for our tool
  • Add a mini tool bar to our tool
  • Internationalization support

Please see How to add a tool to Eiffel Studio advance