Book a Demo

Author Topic: Can I use Java Eclipse to build EA-adds on ?  (Read 5467 times)

Michael

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Can I use Java Eclipse to build EA-adds on ?
« on: October 10, 2014, 07:47:10 am »
I am asking if it is possible to build extensions for EA using java eclipse ?
if so, could someone give me a tutorial for that ?

Regards,
  

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #1 on: October 10, 2014, 09:02:38 am »
You can't write add-ins with Java.

Michael

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #2 on: October 10, 2014, 09:08:47 am »
Thanks Simon for replaying ,

but I have found something here : http://www.sparxsystems.com/enterprise_architect_user_guide/10/automation_and_scripting/setup.html

see java section.
Thank you

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #3 on: October 10, 2014, 10:14:33 am »
You can write an external automation client in Java (which is what that page demonstrates), but you can't write an EA add-in with Java or connect to a running instance of EA.

Michael

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #4 on: October 10, 2014, 11:10:12 am »
OK, thank you, so you mean we can not add plug-in that used by EA itself during EA run-time ?

That is clear , thanks  :)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #5 on: October 10, 2014, 04:55:25 pm »
Michael,

I would recommend to use C# (which is basically an MS rip-off of Java)
See Create your first C# Enterprise Architect add-in in 10 minues for a quick tutorial.

Geert

Michael

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #6 on: October 11, 2014, 11:06:14 am »
thanks

Nabil

  • EA User
  • **
  • Posts: 149
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Re: Can I use Java Eclipse to build EA-adds on ?
« Reply #7 on: October 14, 2014, 09:52:12 pm »
Hi Michael,

you can refer these c# sample code snippets

http://code.google.com/p/openedgemdg/source/browse/trunk/OpenEdge/OpenEdge/EAAddin.cs?r=12

http://blog.sabarinathanarthanari.com/?p=150

i guess this may help you to start with

Regards,
Nabil :)

Nabil