XML editor Part in CTabItem [message #1091372] |
Wed, 21 August 2013 08:06  |
Eclipse User |
|
|
|
Hello everyone,
My question is its shortest for is "How to include the standard eclipse XML editor in a Composite of a part that I created myself?"
Background:
I have started developing Eclipse e4 RCP recently and progression is slow but steady. In many instances I am struggeling with the approach to relatively simple things because I cannot find relevant documentation. Because I could not find any help on the www I would like to as you for advice on these forums for the following problem:
I try to create a Part that acts as a multipage editor. What confuses me first of all is that there are all these predefined Part classes (such as MultiPageEditorPart), but on these forums I have found that is is not needed nor advised to use these classes for extension. Why are these abstact classes defined? In addition, I was not able to use the SWT WindowBuilder when my class extended the MultiPageEditorPart.
My current approach to create a multipage editoris to define a single part in the application model that points to an implementing class that creates a CTabFolder control. Each of the CTabItems contains its own Composite and is ready to contain its own Controls (this works with the SWT WindowBuilder). Next, I would like one of the multipage editor tabs to contain the standard XML editor that comes with eclipse. And I have no idea how to do this.
Any help would be appreciated greatly.
Pim
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05456 seconds