简体   繁体   中英

Eclipse add XText editor to perspective

I have my own perspective to which I want to add the Xtext generated editor at a special location.

Currently, it opens at the editor area (hard coded into Eclipse as org.eclipse.ui.editorss ). However, the Xtext editor should open at a special location and not at the editor area. Normally you achieve this behavior by either adding the view direct or by adding a placeholder with the ID of the view. The generated Xtext editor is not a view and thus cannot be added using the view mechanisms.

I prefer the way with plugin.xml's perspectiveExtensions extension.

How can I add the Xtext editor at my very own location to my perspective?

在Eclipse 3.x兼容模式下,RCP编辑器始终显示在编辑器区域中,无法更改它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM