Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » External Java action call
External Java action call [message #1734169] Sun, 05 June 2016 16:47 Go to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
Hello
I have implemented external java call as following

<extension
point="org.eclipse.sirius.externalJavaAction">
<javaActions
actionClass="test.custom.style.ExternalJavaOperation"
id="ExternalJava">
</javaActions>
</extension>
But Actions dropdown does not shows any values See attachments

Re: External Java action call [message #1734204 is a reply to message #1734169] Mon, 06 June 2016 07:09 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
Le 05/06/2016 à 18:47, Arseniy Isakov a écrit :
> Hello

Hi,

> I have implemented external java call as following
>
> <extension
> point="org.eclipse.sirius.externalJavaAction">
> <javaActions
> actionClass="test.custom.style.ExternalJavaOperation"
> id="ExternalJava">
> </javaActions>
> </extension>
> But Actions dropdown does not shows any values See attachments

It's normal. You must use an "External Java Action" [1], [2] and not an
"External Java Action Call" [3].

You can also probably define a Java service [4] (depending on your needs).
>
>

Regards,

[1]
http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#external_java_action
[2]
http://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#external_java_action
[3]
http://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#external_java_action_call
[4]
http://www.eclipse.org/sirius/doc/specifier/general/Writing_Queries.html#service_methods


--
Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Load resources from a Sirius modeling environment
Next Topic:creating the palette objects in the model
Goto Forum:
  


Current Time: Tue Apr 16 13:52:07 GMT 2024

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

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

Back to the top