Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to add an e4 eclipse part into Show View dialog
How to add an e4 eclipse part into Show View dialog [message #1079878] Mon, 05 August 2013 07:34 Go to next message
Jakub Czerny is currently offline Jakub Czerny
Messages: 3
Registered: July 2013
Junior Member
Hello.

How can I add my part (defined as 'PartDescriptor' in fragment.e4xmi file in my plugin) into the "Show View" dialog tree (main menu > Window > Show View > Other ...) ?

Based on examination of org.eclipse.e4.ui.workbench.swt.internal.copy.ViewContentProvider#createChildren source code and based on examination of PartDescriptors of other parts using Live Application Model part I tried to add following tags to my PartDescriptor on Supplementary tab:

View
categoryTag:MyGroup

However, it doesn't work for me. I use Eclipse 4.3 and e4 0.14.

Thans for answers.
Re: How to add an e4 eclipse part into Show View dialog [message #1079947 is a reply to message #1079878] Mon, 05 August 2013 09:13 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5422
Registered: July 2009
Senior Member
I don't think this is the class making up the Show View ... content in
the compat layer which is constructed from IViewDescriptors IIRC. Hence
if you contribute through a fragment it can't show up there.

Tom

On 05.08.13 10:18, Jakub Czerny wrote:
> Hello.
>
> How can I add my part (defined as 'PartDescriptor' in fragment.e4xmi
> file in my plugin) into the "Show View" dialog tree (main menu > Window
>> Show View > Other ...) ?
>
> Based on examination of
> org.eclipse.e4.ui.workbench.swt.internal.copy.ViewContentProvider#createChildren
> source code and based on examination of PartDescriptors of other parts
> using Live Application Model part I tried to add following tags to my
> PartDescriptor on Supplementary tab:
>
> View
> categoryTag:MyGroup
>
> However, it doesn't work for me. I use Eclipse 4.3 and e4 0.14.
>
> Thans for answers.
Previous Topic:Closing a window seems to remove it from the model
Next Topic:Fragment with part
Goto Forum:
  


Current Time: Sat Oct 25 18:33:49 GMT 2014

Powered by FUDForum. Page generated in 0.03338 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software