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

Pages: [1]
1
Bugs and Issues / Re: Automation Bug in 832 build
« on: August 25, 2008, 07:04:05 pm »
Hi,
i have the same problem and here is the answer I have got from sparx support:

Thank you for your report.  We have been able to reproduce this issue and unfortunately this appears to have been introduced in EA build 832.

Issue ID: 08082069

Hopefully a fix should be implemented for the next build of EA, but we cannot say yet when this may be available.  Until the fix is available, the only workaround is to downgrade your EA installation to EA 831 (or lower) if possible.

We apologise for this inconvenience.

2
For all interested:

Issue ID: 06060124
Description: Modifying element details and performing Update() does not always reflect changes in project view

Issue ID: 06120376
Description: Repository.RefreshModelView reloads all open diagrams

3
One thing I forgot to say:

Neither manual selecting another element nor closing + opening the package does not cause an update of the element name.
The opening + closing "Properties"- dialog of the element is really one, that does it.

4
Thank you so much for your replies!

I have tried all and nothing does it :(
I suppose, maybe I have to update the properties of the element, because afterwards it's enought to open and to close "Properties" dialog of the element and the name changes.
But I can not find the way to do this. "Properties"-Interface does not have any "Refresh" or "Update" mathods.

Olga

5
First thank you very much for reply!!!

The elements I want to rename are only in project browser, not on any diagram. But some other diagrams can be open.
I have tried ReloadDiagram(DiagramID), it does not refresh my elements, but I can call RefreshModelView after that, and the dialog "save latest changes" does not come any more, because all diagrams are already saved.

The problem is, I don't want to save any diagrams by renaming an element, that is not located on any of them.
Not programatically it is possible (two mouse clicks on the element).

Olga

6
Automation Interface, Add-Ins and Tools / Rename element in project browser
« on: November 27, 2007, 04:27:02 am »
Is it possible to rename an element without calling
m_Repository.RefreshModelView ( m_package.PackageID ). (It causes the appearance of "Save latest changes? .. " Dialog box, what I don't want)

I have following code:

element.Name = "hallo";
element.Refresh();
element.Update();
m_package.Elements.Refresh();

But the element in the project browser still has its old name. First by pressing the button "Reload project" it becomes the new one.

Does anyone have any idea?
Thanks a lot!

7
Hello,

Diagram frame can be created by dragging a diagram from project browser on an other open diagram. Thereby I see an
element of type "UMLDiagram" refered to the dragged diagram created in the project browser.

What I want is to get/create such "UMLDiagram" element refers to exinsting diagram (CompositeStructure Diagram) using Automation interface.
Is there any way to do this?

Thanks in advance for any hint!

Olga

8
Automation Interface, Add-Ins and Tools / Re: OnPostNewElement / ParentID
« on: November 28, 2007, 03:45:02 am »
Is the parent of your element also an element or maybe it is a package?
ParentID is not zero only if parent is an element, otherwise your should look for PackageID.

Olga

Pages: [1]