Book a Demo

Author Topic: Difference "Add Element" via Diagram & via Browser  (Read 3815 times)

Jonathan Lubach

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Difference "Add Element" via Diagram & via Browser
« on: June 18, 2013, 05:11:57 pm »
Hi there,

is there a reason why the two "add"-commands

- drag element from toolbox to a diagram
- add element via symbol/context menu in project browser

do behave different.

Why does the dragging onto a diagram evaluates the project template package and the project browser command does not?

Can anybody explain, otherwise for me this would bring up a change request.

Thanks!
Jonathan
Enterprise Architect Corporate Edition v12.1
Windows 7 64bit

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Difference "Add Element" via Diagram & via Bro
« Reply #1 on: June 18, 2013, 08:11:01 pm »
The answer is probably EAUI. EA is not very orthogonal.

q.

Jonathan Lubach

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Difference "Add Element" via Diagram & via Bro
« Reply #2 on: June 26, 2013, 10:18:48 pm »
Okay, so there seems to be no liable reason for this behaviour.

I'll try to do a work-around listening to the EA_OnPostNewElement-event in the automation interface.

Can anybode tell me, where to find the link for the Project Template Package in the .eap-Database? (table name, field name...?)

Thanks!
Jonathan
Enterprise Architect Corporate Edition v12.1
Windows 7 64bit

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Difference "Add Element" via Diagram & via Bro
« Reply #3 on: June 27, 2013, 04:42:16 pm »
Code: [Select]
select * from t_package p
join usys_system u on u.Value = p.Package_ID
where property = 'TemplatePkg'

Regards

Geert

Jonathan Lubach

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Difference "Add Element" via Diagram & via Bro
« Reply #4 on: July 02, 2013, 01:48:40 am »
Quote
Code: [Select]
select * from t_package p
join usys_system u on u.Value = p.Package_ID
where property = 'TemplatePkg'

Regards

Geert

Thanks Geert! That's what i was looking for.
Enterprise Architect Corporate Edition v12.1
Windows 7 64bit

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Difference "Add Element" via Diagram & via Bro
« Reply #5 on: July 04, 2013, 09:14:39 pm »
Here's another example where the same function works differently in two places - one of them being the project browser.

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1368722378