Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Application Model - Extending editor

Pawel,

Please work with Marco Descher. Marco is currently working on a set of patches to add a tab to any of the model elements in the editor. I think if we look at extending the model editor we should combine these two use cases. 

Here is the bug that Marco is working on:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=422465

Cheers,

Wim






On Tue, Nov 26, 2013 at 10:30 AM, Paweł Doleciński <pawel@xxxxxxxxxxxxx> wrote:
Hi all,

I would like to ask you about extending application model editor.
How to add my own editor I know, but the real question is how to integrate it with context menu.
I want to be able to right-click on "Shared elements" or "PartStack" and choose my "NewSuperPart".

I found out possibility to add something to PartStack context menu but cannot do it with Shared Elements.

I guess I should override VWindowSharedElementsEditor but its package "org.eclipse.e4.tools.emf.ui.internal.common.component.virtual" is not exported. 
Moreover, for PartStack I did also a hack, as its package is exported internaly.

Is there any right way to do such an extension?

Thank you for help.
--
Pozdrawiam / Best regards
Paweł Doleciński

_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev



Back to the top