Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Pavel Bunygin

Pages: [1] 2
1
You are a genious!
Thank you very much!

It is Element.ClassifierID  \ t_object.Classifier (Classifier_guid)

2
Hi!
I'm trying to find an element that selected in 'Behaviour' field of 'Call' tab for Action from my Add-In.

Can someone help with it?


Thanks in advance

3
Thank you Geert!
I solved the problem by using audition snapshots.

Pavel

4
Thank you. I think that it will help with changes from the current user. The current user can get new data from SVN without changin the context item.

And how about other users that use the same database? I think that I should check state of the package and update data anyway.

5
Hi!
I'm working on my add-in. It shows Elements, Attributes and Attribute Tags.
Is there a way to check that data in EA was changed and refresh data in my add-in ?

I think that I can store 'Modified' date for Element and check it. But Attribute and Attribute Tag doesn't have such property. How can I check that attribute was updated?

May be there is another way?

Thanks
Pavel

6
Automation Interface, Add-Ins and Tools / Re: Menu Icon and Menu Item Type
« on: November 08, 2013, 08:56:02 pm »
It works when a menu is already open for navigation. But I want execute my function by pressing something like Ctr-Q without opening a menu and going through it.
It should look like this:
"My Function      Ctr+Q"

7
Automation Interface, Add-Ins and Tools / Re: Menu Icon and Menu Item Type
« on: November 08, 2013, 07:29:54 pm »
Hi!
Is there a way to add a shortcut key?

8
Thank you! EA_OnNotifyContextItemModified solved my problem.

9
Automation Interface, Add-Ins and Tools / Broadcast Events for updating
« on: October 18, 2013, 11:15:10 pm »
Hi,
I wasn't able to find such events...
http://www.sparxsystems.com/enterprise_architect_user_guide/10/automation_and_scripting/broadcastevents.html

There are only New\Deletion Events.

Is there a way to get updating events for element\attributes\tags in add-in?

Thanks,
Pavel

10
Quote
What you could do is to create that entry in t_xref yourself. Not nice, but EA often forces us to do such ugly things.

q.
Yes, I think it will help as an workaround. But I have to add an entry in t_stereotypes I guess. Is it possible to perform insert in t_xref  with Repository.SQLQuery?

And how I can get primary key (XrefID)?

11
I've contacted support earlier and I've got an answer today.
Quote
We can confirm the issue described in your report and this will be investigated further by our development team.  The reference number for this issue is 13096175.
 
Unfortunately we cannot provide a schedule for this issue to be resolved as yet.  If you wish to enquire about the status of this issue again at a later time, please include the provided reference number with your enquiry.

12
Quote
Can you tell us which RDBMS you use?
I use MySQL5.5 and EAP file. There is no difference in EA user interface behavior. The screen that I posted was created in EAP.

13
Quote
However, if you try to define a stereotype with Settings/UML it is always silently cut down to 50 chars (with EAP; I currently have no server available).

I can't see it in EAP too... Diagrams and project browser show full stereotype. I think that they get full value from t_xref or t_stereotypes because I can find them here.


Pavel

14
Interesting.
I did the same with your numbers. But there is no cutting and it is working as I said before.
I'm using the 10.0.1006 version of EA.

15
No, I've checked that. In case Stereotype >50 there is null in  Attribute.stereotype but a full value in Attribute.StereotypeEx.

Also I've checked database and there is null in t_attribute.stereotype  but EA gets the full value from t_stereotypes or from t_xref tables.

In my code above I'm trying to put the same values that are already stored an receive the error. But there is no error when Stereotype <50
Code: [Select]
  myAttribute.stereotype =  myAttribute.stereotype  'stereotype
   myAttribute.StereotypeEx = myAttribute.StereotypeEx 'stereotype

Pages: [1] 2