[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Embedding a text editor in another editor
|
I think those are all custom work, probably based on SourceViewer
(although I'm not 100% sure).
While you might be able to call some of the lifecycle methods on
IEditorPart (init(*), createPartControl(*), etc) since it wouldn't be
part of the workbench model, parts of the embedded editor functionality
would not work (like most of the keybindings).
Eclipse doesn't support nesting components (no editors in editors, no
editors in views, and nothing in a dialog :-)
There are 2 parts that might be able to help. MultiPageEditorPart (the
PDE Editor is based on this) and MultiEditor. Both support embedding
editors with varying degrees of success.
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm