Compare Editors

Enterprise Architect provides four principal code editor variants, available through a number of access paths. The most direct access options are identified in these descriptions.

The first three code editor variants listed have the same display format, option toolbar, context menu options and internal function keys. They differ in their method of access and display mechanism.

Editor Variants


Function Key/ Menu Option

See also

Source Code window (Dockable)


'Element | Show Source Viewer'

Description: Displays the contents of the source file for a selected Class (except if the language is C++, when the window displays a tab for the Header file and a tab for the Implementation file).

If you select a different Class, the window changes to show the code for the new Class (unless the first Class calls the second, in which case the window scrolls down to the second Class's code instead).

Source Code View



Class context menu | 'View Source Code'

Description: Displays the code on a tab of the Diagram View; the tab label shows the file name and extension (such as .java); again, for C++, there are two tabs for the Header and Implementation files.

You can display the source code for other Classes on additional tabs, by reselecting the menu option/keys on the next Class.

Internal Editor, External Source Code


'Edit | Open Source File'

Description: Use this option if you intend to edit external code, XML or DDL files (that is, code not imported to or generated in Enterprise Architect).

Displays an external browser, then opens the specific selected code file as a tab  of the Diagram View (for C++, not two code files); otherwise this is identical to the F12 option.

External Editor, Internal or External Source Code


Class context menu | Open Source Directory

Description: Displays an external file browser, open to the directory containing the selected Class's source files; you can open the files in Notepad, Visual Studio or other tools you might have on your system.

Learn more