Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
gui_tips [2026/09/01 19:00] hermann |
gui_tips [2026/09/02 02:12] (current) hermann |
||
|---|---|---|---|
| Line 105: | Line 105: | ||
| * You can zoom using the mouse wheel. | * You can zoom using the mouse wheel. | ||
| - | * You can pan by dragging the mouse while holding down the left button. | + | * You can pan by dragging the mouse while holding down the right button. |
| * If a selected functor is not visible, you can center the view on it by clicking its name in its action bar (the bar shown above a functor when it is selected). | * If a selected functor is not visible, you can center the view on it by clicking its name in its action bar (the bar shown above a functor when it is selected). | ||
| * You can copy the path of the model open in the sketch by hovering the mouse over the tab bearing the model's name and pressing **Ctrl+C**, or by left-clicking the tab and choosing the corresponding option from the menu that opens. In this menu, you can choose between the full file name of the model and the name of the folder where the model is saved. | * You can copy the path of the model open in the sketch by hovering the mouse over the tab bearing the model's name and pressing **Ctrl+C**, or by left-clicking the tab and choosing the corresponding option from the menu that opens. In this menu, you can choose between the full file name of the model and the name of the folder where the model is saved. | ||
| Line 125: | Line 125: | ||
| * **Green border** – the functor exports input and/or output ports as part of a submodel. | * **Green border** – the functor exports input and/or output ports as part of a submodel. | ||
| * **Blue border** – the functor's input and/or output ports are exported to a wizard. (Note: functors that are part of a submodel cannot export input and/or output ports to wizards.) | * **Blue border** – the functor's input and/or output ports are exported to a wizard. (Note: functors that are part of a submodel cannot export input and/or output ports to wizards.) | ||
| - | * After copying the current selection of the displayed model using **Copy Selection** or **Ctrl+C**, you can paste that selection either (a) into another model, or (b) into an external text editor. In case (b), the selection is pasted using the EGO Script representation of that fragment. Ports connected to functors that were not selected and copied are shown as disconnected (''.UNBOUND''). The settings specified in **Options | EGO Script** are used when writing the fragment. | + | * After copying the current selection of the displayed model using **Copy Selection** or **Ctrl+C**, you can paste that selection into the same model, into another model, or into an external text editor. |
| + | * When pasting into the **same model**, functors are reconnected to the output ports their original representations were connected to. Hold **Ctrl+Shift+V** to paste without this reconnection instead. | ||
| + | * When pasting into **another model** or into an **external text editor**, ports connected to functors that were not selected and copied are shown as disconnected (''.UNBOUND''). | ||
| + | * When pasting into an external text editor, the selection is pasted using the EGO Script representation of that fragment, written according to the settings specified in **Options | EGO Script**. | ||
| * Likewise, you can paste a script fragment into a model after copying it from an external text editor to the system clipboard. The only restriction is that the fragment must be syntactically valid. Ports connected to variables whose definitions were not copied are treated as disconnected. | * Likewise, you can paste a script fragment into a model after copying it from an external text editor to the system clipboard. The only restriction is that the fragment must be syntactically valid. Ports connected to variables whose definitions were not copied are treated as disconnected. | ||
| Line 131: | Line 134: | ||
| * Models, images, R and Python scripts, and files in general can be dragged into the sketch. What is done with the file depends on its representation. | * Models, images, R and Python scripts, and files in general can be dragged into the sketch. What is done with the file depends on its representation. | ||
| - | * Dragging an R or a Python script into the sketch creates a [[CalculateRExpression]] or a [[CalculatePythonExpression]] functor, respectively. The script's content is used to fill in the ''expression'' port. | + | * Dragging an R or a Python script into the sketch creates a [[Calculate R Expression]] or a [[Calculate Python Expression]] functor, respectively. The script's content is used to fill in the ''expression'' port. |
| * A filename can be dragged into any filename editor (''MapFilename'', ''TableFilename'', ''Folder'', etc.). The filename is used to fill in the editor. | * A filename can be dragged into any filename editor (''MapFilename'', ''TableFilename'', ''Folder'', etc.). The filename is used to fill in the editor. | ||
| * If the application is run as administrator (using "Run as Administrator" or equivalent), drag and drop of files from Windows Explorer is disabled. This is done by Windows and affects any application, not just Dinamica EGO. | * If the application is run as administrator (using "Run as Administrator" or equivalent), drag and drop of files from Windows Explorer is disabled. This is done by Windows and affects any application, not just Dinamica EGO. | ||