Bug 567627

Summary: Provide API to embed the Generic Text Editor in a MultiPage Editor
Product: [Eclipse Project] Platform Reporter: Aurelien Pupier <apupier>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: gautier.desaintmartinlacaze
Version: 4.18   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Aurelien Pupier CLA 2020-10-06 05:31:11 EDT
unless I missed something, to embed an editor in the Multipage editor, you need to instantiate it. The org.eclipse.ui.internal.genericeditor.ExtensionBasedTextEditor.ExtensionBasedTextEditor() is unfortunately part of internal API.

It is already used in m2e for the MavenPomEditor for instance https://git.eclipse.org/c/m2e/m2e-core.git/tree/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java#n337

it would be nice to have an API o create the editor in order to embed in a multipage editor. Either by making the class part of public API or by providing a specific method.