Book a Demo

Author Topic: Retrieving elements with the Java API.  (Read 3140 times)

PatrickGerardi

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Retrieving elements with the Java API.
« on: April 24, 2012, 07:41:27 pm »
Hi there

I am using the Java API and want to retrieve elements linked to a diagram. I have the diagram but i am struggling to retrieve the elements.

Do i have to retrieve them via the DiagramObject or is there a different way?

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Retrieving elements with the Java API.
« Reply #1 on: April 25, 2012, 03:58:48 am »
yes you have to iterate over all diagramObjects in a diagram
no there is not other way.

PatrickGerardi

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Retrieving elements with the Java API.
« Reply #2 on: April 25, 2012, 06:05:37 pm »
Thanks