Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Validation Quick Fixes using external Java Actions(Quick fixes working with Sirius 4.x are not with 5.x)
Validation Quick Fixes using external Java Actions [message #1768872] Mon, 24 July 2017 14:15 Go to next message
Loris Boiteux is currently offline Loris BoiteuxFriend
Messages: 1
Registered: July 2017
Junior Member
Hi everyone,

We are willing to migrate our Eclipse Neon & Sirius 4.1.2 based application to Sirius 5.0.1 & Eclipse Oxygen.
The only problem we face for now is that a simple Quick Fix using external Java Action is not working anymore. You can see the definition of this feature in the attachment (quickFix.png).

The called service is properly provided as a java action to Sirius extension point:
<extension point="org.eclipse.sirius.externalJavaAction">
    <javaActions  actionClass="thales.thav.dsi.em.common.project.AutoSetAttribute"

The service code extends and overrides both execute and canExecute methods which are not reached in debug mode.

We are running out of ideas after few hours of research and tests.

Does anyone face the same problem or knows how to fix... the fix ? ;)

Best regards,

  • Attachment: quickFix.png
    (Size: 42.64KB, Downloaded 66 times)
Re: Validation Quick Fixes using external Java Actions [message #1768963 is a reply to message #1768872] Tue, 25 July 2017 08:46 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 508
Registered: May 2011
Senior Member

The external java action mechanism has not been changed recently. The one in the still works fine, both execute and canExecute methods are reached in debug.

Do you have an exception somewhere? Does your VSM validates? Do you have your metamodel added to the "Selected Metamodels" on you diagram description (tab metamodels)?


Steve Monnier - Obeo
Need training or professional services for Sirius?
Previous Topic:I want to get mouse event information (Mouse down/Up).
Next Topic:Deleting the root element from a child representation corrupts the session
Goto Forum:

Current Time: Thu Mar 04 16:45:17 GMT 2021

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

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

Back to the top