Chapter 8. Editors
Editors are the primary mechanism for users to create and modify resources (e.g., files). Eclipse provides some basic editors such as text and Java source editors, along with some more complex multipage editors such as the plug-in manifest editor. Products that need to present their own editors can use the same extension points used by the built-in Eclipse editors. This chapter discusses creating a new Properties editor, hooking up actions to it, and linking the editor to the Outline view.
Editors must implement the org.eclipse.ui.IEditorPart
interface. Typically, views are subclasses of org.eclipse.ui.part.EditorPart
and thus ...
Get Eclipse: Building Commercial-Quality Plug-ins, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.