Book a Demo

Author Topic: EA API Release Log Differences / EA 14 API Highlights  (Read 6191 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
EA API Release Log Differences / EA 14 API Highlights
« on: March 24, 2018, 09:27:23 am »
Hi all,

as some of you guys maybe remember, I published an article on the EA community site in 2016 about easily finding out about differences in the EA API after version changes of EA (Link to article).

As in the near future, EA 14.0 is going to be released, I generated the API Diff to see the new and changed API methods. To help you guys out, I decided to upload all diffs I made so far, post them in this thread and keep it up-to-date: Using them is easy.
So, here are the links along with some highlights.

API Differences

EA9.3 -> EA10.0
EA10.0 -> EA11.0
EA11.0 -> EA12.0
EA12.0 -> EA12.1
EA12.1 -> EA13.0
EA13.0 -> EA13.5 (Generated 23 March 2018)
EA13.5 -> EA14.0 (Generated 23 March 2018)
EA13.5 -> EA14.0 (Generated 25 May 2018, Build 1421)

Highlights in 14.0
  • Update 25.05.2018: New method Repository.ImportRASAsset(), besides that only minor typo corrections and added links in docs
  • New methods in Repository to save profiles and generate MDGs programmatically
  • Repository.GetAllDiagramImagesAndMap(): Saves the image and image-map for every diagram in the model, in the specified directory location.
  • Repository.ShowAddinWindow(): Shows the docked Add-In window on the specified page. Returns True if a tab of the specified name is now displayed.
  • New methods in Project Interface to build and run executable state machines

Highlights in 13.5
  • Repository.RefreshPackage() renamed into Repository.ReloadPackage(): reload a single package in project browser and its opened diagrams
  • Element.FQName: dot-separated list of the element parent hierarchy
  • EA_OnPreNewElement order changed in the event properties

Highlights in 13.0
  • Repository.RefreshPackage(): Reloads a Package and its open child diagrams.
  • Element.GetDecisionTable(): Provides read-only access to a decision table XML string.
  • Element.Clone(): Inserts a copy of the selected element under the same parent as the selected element.
  • Connector.AssociationClass: Returns the Association Class element if the connector has one; otherwise NULL/.
  • Diagram.FilterElements: Applies a comma-separated list of object ids (from SelectedObjects) to the currently-applied diagram filter, overriding the filter. The effect persists until another filter is applied, or the diagram is closed.
  • Diagram.FindElementInDiagram(): This function activates the Diagram View and displays the diagram with the diagram object selected.
  • EA_OnPreNewElement has a new parameter FQStereotype
  • New broadcast event EA_GetRibbonCategory: Add-Ins can use EA_GetRibbonCategory events to identify the Ribbon in which the Add-In should place its menu icon.

Regards from Germany
Jan
« Last Edit: October 30, 2018, 08:21:46 am by McMannus »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA API Release Log Differences
« Reply #1 on: March 24, 2018, 10:13:44 am »
Whoa. Great job! Sparx should buy that from you. But probably not since the consequently inconsequence would appear even more obvious
Quote
ShowResponsibilities : Notes: Show the requirements compartmentresponsibilities for this object on the diagram.

q.

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: EA API Release Log Differences / EA 14 API Highlights
« Reply #2 on: April 04, 2018, 05:07:56 pm »
Outstanding work! Thanks from the eaDocX team - this is the kind of information add-in writers really need.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: EA API Release Log Differences / EA 14 API Highlights
« Reply #3 on: April 04, 2018, 06:04:47 pm »
Hear hear. This post should really be pinned.

Well, not this one. That one. You know what I mean.


/Uffe
My theories are always correct, just apply them to the right reality.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: EA API Release Log Differences / EA 14 API Highlights
« Reply #4 on: April 06, 2018, 09:34:41 am »
Hear hear. This post should really be pinned.

Well, not this one. That one. You know what I mean.


/Uffe
+1 (for pinning THAT post)

And no, we didn't know what you meant, we only saw what you wrote...  ;)

Happy Friday everybody!  ;D

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!