Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Conflicting handlers with Kepler
Conflicting handlers with Kepler [message #1106671] Wed, 11 September 2013 11:40 Go to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Hi,

since I switched over to eclipse kepler, I get the following messages, when I switch between my EMF and GMF editor. With eclipse Juno 4.2.0 I haven't this messages. Any Ideas what could be the reason for this?

!ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.289
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.undo: {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.actions.global.GlobalUndoAction@ab287)} vs {ActionHandler(org.eclipse.emf.edit.ui.action.UndoAction@4eeb3f)}

!ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.293
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.paste: {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalPasteAction@b4519b)} vs {ActionHandler(org.eclipse.emf.edit.ui.action.PasteAction@59abfd)}

!ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.296
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.redo: {ActionHandler(org.eclipse.emf.edit.ui.action.RedoAction@1f44cbf)} vs {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.actions.global.GlobalRedoAction@1dac3e4)}

!ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.299
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.delete: {ActionHandler(org.eclipse.emf.edit.ui.action.DeleteAction@1227e51)} vs {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalDeleteAction@1932bb6)}

!ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.302
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.cut: {ActionHandler(org.eclipse.emf.edit.ui.action.CutAction@c4eb64)} vs {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalCutAction@3a26f2)}

!ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.305
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.copy: {ActionHandler(org.eclipse.emf.edit.ui.action.CopyAction@81c5c9)} vs {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalCopyAction@1e043b2)}


Cheers,
Phil
Re: Conflicting handlers with Kepler [message #1106689 is a reply to message #1106671] Wed, 11 September 2013 12:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30554
Registered: July 2009
Senior Member
Phil,

Those actions are registered in
org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor.init(IActionBars).
It sounds like perhaps GMF is doing the same thing. Better to ask on
the GMF forum.


On 11/09/2013 1:40 PM, Phil H wrote:
> Hi,
>
> since I switched over to eclipse kepler, I get the following messages,
> when I switch between my EMF and GMF editor. With eclipse Juno 4.2.0 I
> haven't this messages. Any Ideas what could be the reason for this?
>
>
> !ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.289
> !MESSAGE Conflicting handlers for org.eclipse.ui.edit.undo:
> {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.actions.global.GlobalUndoAction@ab287)}
> vs {ActionHandler(org.eclipse.emf.edit.ui.action.UndoAction@4eeb3f)}
>
> !ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.293
> !MESSAGE Conflicting handlers for org.eclipse.ui.edit.paste:
> {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalPasteAction@b4519b)}
> vs {ActionHandler(org.eclipse.emf.edit.ui.action.PasteAction@59abfd)}
>
> !ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.296
> !MESSAGE Conflicting handlers for org.eclipse.ui.edit.redo:
> {ActionHandler(org.eclipse.emf.edit.ui.action.RedoAction@1f44cbf)} vs
> {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.actions.global.GlobalRedoAction@1dac3e4)}
>
> !ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.299
> !MESSAGE Conflicting handlers for org.eclipse.ui.edit.delete:
> {ActionHandler(org.eclipse.emf.edit.ui.action.DeleteAction@1227e51)}
> vs
> {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalDeleteAction@1932bb6)}
>
> !ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.302
> !MESSAGE Conflicting handlers for org.eclipse.ui.edit.cut:
> {ActionHandler(org.eclipse.emf.edit.ui.action.CutAction@c4eb64)} vs
> {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalCutAction@3a26f2)}
>
> !ENTRY org.eclipse.ui 4 4 2013-09-11 13:11:40.305
> !MESSAGE Conflicting handlers for org.eclipse.ui.edit.copy:
> {ActionHandler(org.eclipse.emf.edit.ui.action.CopyAction@81c5c9)} vs
> {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalCopyAction@1e043b2)}
>
>
> Cheers,
> Phil
Re: Conflicting handlers with Kepler [message #1107046 is a reply to message #1106689] Wed, 11 September 2013 22:46 Go to previous messageGo to next message
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member
Hi Ed,

I asked at the GMF forum, but I don't expect much response...

What I don't understand is that this messages don't occur with eclipse Juno 4.2.0. - Any thoughts what can be the reason for this?

There must be a way to tell eclipse which handler should be used in which case..E.g. by an active EMF tab use org.eclipse.emf.edit.ui.action....

Or is maybe the problem that EMF and GMF using the same IDs for the commands?

Cheers,
Phil
Re: Conflicting handlers with Kepler [message #1107307 is a reply to message #1107046] Thu, 12 September 2013 08:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30554
Registered: July 2009
Senior Member
Phil,

I believe the way EMF uses it that it is scope to the editor being
active. But I don't know the underlying details of the Eclipse platform
for all this kind of stuff...

On 12/09/2013 12:46 AM, Phil H wrote:
> Hi Ed,
>
> I asked at the GMF forum, but I don't expect much response...
>
> What I don't understand is that this messages don't occur with eclipse
> Juno 4.2.0. - Any thoughts what can be the reason for this?
>
> There must be a way to tell eclipse which handler should be used in
> which case..E.g. by an active EMF tab use
> org.eclipse.emf.edit.ui.action....
>
> Or is maybe the problem that EMF and GMF using the same IDs for the
> commands?
>
> Cheers,
> Phil
Re: Conflicting handlers with Kepler [message #1692448 is a reply to message #1107307] Wed, 15 April 2015 18:35 Go to previous messageGo to next message
Nikos Margaritis is currently offline Nikos MargaritisFriend
Messages: 65
Registered: September 2014
Member

Hello there,

Any headings on that?

The warnings occur also in Eclipse Luna (4.4.0)

Bug ticket
Re: Conflicting handlers with Kepler [message #1692463 is a reply to message #1692448] Thu, 16 April 2015 04:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30554
Registered: July 2009
Senior Member
Nikos,

It seems to be a GMF problem.

On 15/04/2015 8:35 PM, Nikos Margaritis wrote:
> Hello there,
> Any headings on that?
> The warnings occur also in Eclipse Luna (4.4.0)
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=418077
Re: Conflicting handlers with Kepler [message #1692783 is a reply to message #1692463] Sat, 18 April 2015 11:30 Go to previous message
Nikos Margaritis is currently offline Nikos MargaritisFriend
Messages: 65
Registered: September 2014
Member

Ed,

I see, the fact is that the bug is not confirmed or assigned yet.

I've found the thread in the GMF forum but no new information is reported there either.

Best.
Previous Topic:Trouble with ecore:reference in XSD import
Next Topic:[CDO] ConnectionKeepAliveTask and database transactions
Goto Forum:
  


Current Time: Tue Oct 22 06:23:06 GMT 2019

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

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

Back to the top