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 - phdare

Pages: [1]
1
Yep, 200 (maybe more) for each elements. Til now, I haven't seen any problem related to numbers of tagged values per element.
Hiep

2
Sparx Team has rejected the defect  :(.
- In client project, Sparx EA element has about 200 tagged values so it seems to be not effective for getting all these tagged values to check if anything.
- I will change the Tagged Value Type to "AddinBroadcast" and develop new 'Tagged Value Note' dialog for editing them. I will handle EA_OnElementTagEdit event to update tagged value and its parent element.
Hiep

3
Hi Geert,
None of these broadcast events are called. I reported a bug for this issue.
Thank for your suggestion, I will try it.

4
Hi all,
I use tagged value to store large string value (more than 255 characters in length), tagged value type is 'Memo'.
However, when I change these values it doesn't fire any broadcast events. Is it possible to detect changes of tagged values (in this case Type=Memo) immediately after their values are changed?

Thank you in advance.

5
I would like to modified elements that are added to a diagram by "Insert Related Elements..." menu action, but the action doesn't fire any broadcast event so I cannot updated these elements.
Please suggest me how to handle the action.

Thanks

6
 I'm developing an Add-in that changes some colors/styles of diagram objects, but I don't want to propagated these change into SVN repository (via Package Control). Thus, I want to remove all the changes before launching SVN Check In. Please let me know if there is an broadcast event that will be called before Package Control actions launch. (User right click on 'package' then select Package Control --> Check In)
Thanks

7
If I add the Update method, I will get System.Runtime.InteropServices.COMException with message "Element Lock".
If I remove the Update, I need to close and reopen diagram afterward, the Element is locked. It seems element is updated without calling the Update. To walk around, I I add Repository.ReloadDiagram but it didn't work well, sometimes Sparx is crashed.
                :(

8
Automation Interface, Add-Ins and Tools / Lock/Unlock element via AddIn
« on: August 29, 2014, 04:39:25 pm »
I tried to lock/unlock element via AddIn. In EA_OnContextItemDoubleClicked (before properties dialog is opened). I add some code to lock element
      EA.Element element = Repository.GetElementByGuid(GUID);
      element.Locked = true;
but it didn't work, properties dialog open and element isn't locked.

Pages: [1]