Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EGL Native class instantiation(EGL Native class instantiation)
EGL Native class instantiation [message #1225465] Sun, 29 December 2013 23:02 Go to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
Hello

I registered my class as following:
<extension
point="org.eclipse.epsilon.common.dt.tool">
<tool
class="org.tura.metamodel.commons.Util"
defaultName="Util">

</tool>
</extension>

When i instantiate it in under evl or ewl engine it is working fine. But if I am trying to instantiate it under egl
it fails
Thanks
Arseniy Isakov

[Updated on: Sun, 29 December 2013 23:10]

Report message to a moderator

Re: EGL Native class instantiation [message #1225499 is a reply to message #1225465] Mon, 30 December 2013 01:41 Go to previous messageGo to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
You need to add following line

factory.getContext().getNativeTypeDelegates().add(new ExtensionPointToolNativeTypeDelegate());

Probably you need to update documentation
Re: EGL Native class instantiation [message #1225591 is a reply to message #1225499] Mon, 30 December 2013 08:18 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Arseniy,

I'm glad you've worked this out! This is mentioned in http://www.eclipse.org/epsilon/doc/articles/call-java-from-epsilon/.

Cheers,
Dimitris
Previous Topic:custom marker view in an RCP app using evl
Next Topic:EGL imports
Goto Forum:
  


Current Time: Fri Apr 26 14:33:26 GMT 2024

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

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

Back to the top