mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 15:22:31 +01:00
Author:halw
Date:2008-10-10T16:43:02.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@76 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -58,7 +58,11 @@ This is similar to a '''double-click''', a commonly used interaction technique,
|
|||||||
|
|
||||||
In the previous example we pick-and-dropped a feature to its own tool. You can also pick-and-drop to a different tool.
|
In the previous example we pick-and-dropped a feature to its own tool. You can also pick-and-drop to a different tool.
|
||||||
|
|
||||||
Try this now. Bring up a new Development Window by choosing the menu entry <code> File </code> <code> --> </code> <code> New window </code> (unless you already have a second Development Window open, in which case you can simply reuse it). Make sure the two Development Window do not overlap too much, so that you can see enough of each. In the first Development Window, pick a class (right-click it). Move the mouse to the Editing Tool of the second Development Tool. Drop the class by right-clicking again. The tool retargets itself to the chosen class.
|
Try this now. Bring up a new Development Window by choosing the menu entry
|
||||||
|
<code lang="text">
|
||||||
|
File --> New window </code>
|
||||||
|
|
||||||
|
(unless you already have a second Development Window open, in which case you can simply reuse it). Make sure the two Development Window do not overlap too much, so that you can see enough of each. In the first Development Window, pick a class (right-click it). Move the mouse to the Editing Tool of the second Development Tool. Drop the class by right-clicking again. The tool retargets itself to the chosen class.
|
||||||
|
|
||||||
Many people like to take advantage of this possibility to keep two or more Development Windows open, and pick-and-drop frequently from one to the other when they see a development object of interest and want to know more about it, without losing its original context.
|
Many people like to take advantage of this possibility to keep two or more Development Windows open, and pick-and-drop frequently from one to the other when they see a development object of interest and want to know more about it, without losing its original context.
|
||||||
</div><div>
|
</div><div>
|
||||||
@@ -96,7 +100,7 @@ This enables you to see, in the same window, information on two different classe
|
|||||||
The choice between linked and isolated behavior is a matter of taste; let's see how you can change it, so that you can set your own preference.
|
The choice between linked and isolated behavior is a matter of taste; let's see how you can change it, so that you can set your own preference.
|
||||||
|
|
||||||
To change the behavior, choose the menu entry
|
To change the behavior, choose the menu entry
|
||||||
<code>
|
<code lang="text">
|
||||||
View --> Link context tool</code>
|
View --> Link context tool</code>
|
||||||
|
|
||||||
After this, the entry will change to <code> View </code> <code> --> </code> <code> Unlink context tool </code>, so that you can later revert to isolated behavior. Under isolation behavior, try pick-and-dropping a class or feature into the top Editing Tool; then pick-and-drop a class or feature into the bottom Context Tool. You will notice that each of these operations retargets the affected tool, but not the other.
|
After this, the entry will change to <code> View </code> <code> --> </code> <code> Unlink context tool </code>, so that you can later revert to isolated behavior. Under isolation behavior, try pick-and-dropping a class or feature into the top Editing Tool; then pick-and-drop a class or feature into the bottom Context Tool. You will notice that each of these operations retargets the affected tool, but not the other.
|
||||||
@@ -104,14 +108,14 @@ After this, the entry will change to <code> View </code> <code> --> </code> <cod
|
|||||||
==Customizing the view==
|
==Customizing the view==
|
||||||
|
|
||||||
If you will often alternate between the linked and isolated behaviors, you can use the <code> Link/Isolate </code> button of the top toolbar. This button is <span>not</span> present by default on the toolbar, so this is a good opportunity to take a quick look at the user interface customization mechanism, which you can use later to tailor the interface to the exact form you need. Select
|
If you will often alternate between the linked and isolated behaviors, you can use the <code> Link/Isolate </code> button of the top toolbar. This button is <span>not</span> present by default on the toolbar, so this is a good opportunity to take a quick look at the user interface customization mechanism, which you can use later to tailor the interface to the exact form you need. Select
|
||||||
<code>
|
<code lang="text">
|
||||||
View --> Toolbars --> Customize standard toolbar</code>
|
View --> Toolbars --> Customize standard toolbar</code>
|
||||||
|
|
||||||
(The adjacent entry is <code> toolbar project Customize </code> which provides complementary capabilities under a similar form.) You see a list of available buttons:
|
(The adjacent entry is <code> toolbar project Customize </code> which provides complementary capabilities under a similar form.) You see a list of available buttons:
|
||||||
|
|
||||||
[[Image:index-63]]
|
[[Image:index-63]]
|
||||||
|
|
||||||
The icons in the list on the right are currently displayed in the toolbar, but not those on the left. Among the latter you see (fourth from the bottom on the left-side list) <code> Link or not the context tool to other components </code>. Select it by clicking; this makes the <code> -> Add </code> button active. Click this button to move the Link/Isolate icon to the list of displayed icons. It becomes the first item of the list, which is fine for the moment. (Later on you can change the order of buttons in the toolbar if you like, by using the <code> Up </code> and <code> Down </code> buttons.) Click <code> OK </code>. The toolbar of your development tool has a new button which you can now use to switch, for the enclosing Development Window, between the isolated and linked behaviors of the Context Tool.
|
The icons in the list on the right are currently displayed in the toolbar, but not those on the left. Among the latter you see (fourth from the bottom on the left-side list) <code lang="text"> Link or not the context tool to other components </code>. Select it by clicking; this makes the <code> -> Add </code> button active. Click this button to move the Link/Isolate icon to the list of displayed icons. It becomes the first item of the list, which is fine for the moment. (Later on you can change the order of buttons in the toolbar if you like, by using the <code> Up </code> and <code> Down </code> buttons.) Click <code> OK </code>. The toolbar of your development tool has a new button which you can now use to switch, for the enclosing Development Window, between the isolated and linked behaviors of the Context Tool.
|
||||||
</div>
|
</div>
|
||||||
==Context memory==
|
==Context memory==
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ The first thing to do to start Eiffeling is to create a project. Most commands a
|
|||||||
|
|
||||||
When opening EiffelStudio, by default a dialog is popped up that proposes to create or open a project:
|
When opening EiffelStudio, by default a dialog is popped up that proposes to create or open a project:
|
||||||
|
|
||||||
[[Image:startup-dialog|center]]
|
|
||||||
|
[[Image:startup-dialog]]
|
||||||
|
|
||||||
|
|
||||||
Under '''Create project''', several options are offered, which depend on the platform you are on.
|
Under '''Create project''', several options are offered, which depend on the platform you are on.
|
||||||
* '''Basic application''' is the most basic new project that can be generated. It only includes the [[EiffelBase|base library]] and by default only creates the frame of the project. This is the ideal choice to start a textual (console) application, or to discover Eiffel. Indeed, the project is very light and includes only things that are essential in any project. It is available on all platforms.
|
* '''Basic application''' is the most basic new project that can be generated. It only includes the [[EiffelBase|base library]] and by default only creates the frame of the project. This is the ideal choice to start a textual (console) application, or to discover Eiffel. Indeed, the project is very light and includes only things that are essential in any project. It is available on all platforms.
|
||||||
@@ -14,7 +16,9 @@ Under '''Create project''', several options are offered, which depend on the pla
|
|||||||
* '''WEL application''' generates a project using the [[WEL|Windows Eiffel Library(WEL)]] . This option is recommended for projects needing advanced Windows features, or Windows applications that are time-critical, since the graphic functionality provided by WEL is more efficient than the one provided by Vision2, which on the other hand provides a platform-independent abstract interface. This wizard is only available on Windows.
|
* '''WEL application''' generates a project using the [[WEL|Windows Eiffel Library(WEL)]] . This option is recommended for projects needing advanced Windows features, or Windows applications that are time-critical, since the graphic functionality provided by WEL is more efficient than the one provided by Vision2, which on the other hand provides a platform-independent abstract interface. This wizard is only available on Windows.
|
||||||
All those options are also available in the ''' File'''/ '''New project...''' menu. This pops up a dialog with all the options to generate a new project:
|
All those options are also available in the ''' File'''/ '''New project...''' menu. This pops up a dialog with all the options to generate a new project:
|
||||||
|
|
||||||
[[Image:create-a-project|center]]
|
|
||||||
|
[[Image:create-a-project]]
|
||||||
|
|
||||||
|
|
||||||
{{tip|If you checked the "Don't show this dialog at startup" checkbox in the start-up dialog but want to get it back, you can use the [[Discardable dialogs|Preferences dialog]] to reset the default value. }}
|
{{tip|If you checked the "Don't show this dialog at startup" checkbox in the start-up dialog but want to get it back, you can use the [[Discardable dialogs|Preferences dialog]] to reset the default value. }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user