| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <title>External editors</title> |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <H1 CLASS="Head"> |
| External editors</H1> |
| <P CLASS="Para" Label=Type>Sometimes you may need to use an external program to |
| edit a file in the Workbench. This can occur, for example, when the Workbench |
| has no editor for that file type.</P> |
| <P CLASS="Para" Label=Type>The external program will be used as the default editor if that program is |
| registered as the system default editor for that file type and no other editor |
| is registered for that file type in the Workbench. For example, on most systems the default |
| editor for JPEG files is an application for editing or viewing image files. If there is no other editor |
| associated with .jpg or .jpeg files in the Workbench, then opening a JPEG file from the |
| Workbench would cause the file to be opened externally, in the system default editor.</P> |
| <P CLASS="Para" Label=Type>To open an external program that is not the default editor, you can use |
| <b>Open With > Other...</b> from the context menu of a file. External programs can also be registered in |
| Eclipse as the associated editor for a given file type. Use the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.FileEditors)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"> |
| <b>General > Editors > File Associations</b></a> preference page to register editors. |
| </P> |
| |
| <p><img border="0" src="../images/ngrelc.png" alt="Related concepts"><br> |
| <a href="concepts-2.htm">The Workbench</a><br> |
| <a href="concepts-6.htm">Editors</a></p> |
| |
| <p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| <a href="../tasks/tasks-46.htm">Opening files for editing</a><br> |
| <a href="../tasks/tasks-51.xhtml">Associating editors with file types</a><br> |
| <a href="../tasks/tasks-52.htm">Editing files outside the Workbench</a></p> |
| |
| </BODY> |
| </HTML> |