Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Pure E4 plug-in for IDE?
Pure E4 plug-in for IDE? [message #1229480] Thu, 09 January 2014 14:30 Go to next message
Libor Jelinek is currently offline Libor JelinekFriend
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

Hello!
Is it possible to make fragment contributions in pure E4 way? I.e. for example to org.eclipse.ui.main.toolbar model element of org.eclipse.e4.legacy.ide.application application?

I have very simple fragment (shortened)

<?xml version="1.0" encoding="ASCII"?>
<fragment:ModelFragments>
  <fragments featurename="children" parentElementId="org.eclipse.ui.main.toolbar">
    <elements xsi:type="menu:DirectToolItem" elementId="..." label="Say hello" contributionURI="..."/>
  </fragments>
</fragment:ModelFragments>


but I see

!ENTRY org.eclipse.e4.ui.workbench 1 0 2014-01-09 15:19:03.044
!MESSAGE Nothing to merge for ".../fragment.e4xmi"


and toolbar (or menu) isn't visible (contributed).

Thanks!
Libor
Re: Pure E4 plug-in for IDE? [message #1231718 is a reply to message #1229480] Wed, 15 January 2014 08:40 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

Fragments are not yet supported in combination with the compatibility
layer. The reason for that is the order of initialization. The
compatiblity extension points (such as "views") in Luna will support to
add pure e4 views, though.

Cheers

Jonas

Am 09.01.2014 15:30, schrieb Libor Jelinek:
> Hello!
> Is it possible to make fragment contributions in pure E4 way? I.e. for
> example to org.eclipse.ui.main.toolbar model element of
> org.eclipse.e4.legacy.ide.application application?
>
> I have very simple fragment (shortened)
>
>
> <?xml version="1.0" encoding="ASCII"?>
> <fragment:ModelFragments>
> <fragments featurename="children"
> parentElementId="org.eclipse.ui.main.toolbar">
> <elements xsi:type="menu:DirectToolItem" elementId="..." label="Say
> hello" contributionURI="..."/>
> </fragments>
> </fragment:ModelFragments>
>
>
> but I see
>
>
> !ENTRY org.eclipse.e4.ui.workbench 1 0 2014-01-09 15:19:03.044
> !MESSAGE Nothing to merge for ".../fragment.e4xmi"
>
>
> and toolbar (or menu) isn't visible (contributed).
>
> Thanks!
> Libor
Re: Pure E4 plug-in for IDE? [message #1232703 is a reply to message #1229480] Fri, 17 January 2014 14:34 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

As addition to Jonas explanation, here is a link to the related Bugzilla
entry: https://bugs.eclipse.org/bugs/show_bug.cgi?id=376486
You can vote for it, follow it, share it, put a comment, provide some
clues for fixes or even patches ;)

--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Pure E4 plug-in for IDE? [message #1237267 is a reply to message #1232703] Wed, 29 January 2014 09:13 Go to previous messageGo to next message
Eclipse UserFriend
FYI http://dev.eclipse.org/mhonarc/lists/e4-dev/msg08421.html
Re: Pure E4 plug-in for IDE? [message #1403034 is a reply to message #1231718] Sun, 20 July 2014 12:53 Go to previous message
Natalie Mogilka is currently offline Natalie MogilkaFriend
Messages: 27
Registered: August 2010
Location: Kazakhstan, Almaty
Junior Member
Hello, so Luna has released. Is it possible to contribute toolbar with fragments via model? I use Eclipse Luna and E4 last updates but got the same message as described by topic starter:

!ENTRY org.eclipse.e4.ui.workbench 1 0 2014-07-20 18:43:30.248
!MESSAGE Nothing to merge for "platform:/plugin/.../fragment.e4xmi"

[Updated on: Sun, 20 July 2014 12:53]

Report message to a moderator

Previous Topic:Luna Editor bugs
Next Topic:Handler status evaluation with invalid selection resolution
Goto Forum:
  


Current Time: Tue Mar 19 08:40:06 GMT 2024

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

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

Back to the top