Book a Demo

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.


Topics - Martin Terreni

Pages: 1 ... 7 8 [9] 10
121
Bugs and Issues / Default value in enumeration is empty in API
« on: June 26, 2008, 12:15:38 am »
BUG:
When having a stereotype from an MDG technology with some enum tagged value attached to it automaticaly you may create a new element from that stereotype and get the default value defined for the tagged value.
however when trying to get it through API you recieve the default value defined in MDG technology, which might be different or empty, resulting in fetching an empty value for the tagged value, at least untill it is changed manualy to the required value.

bug issued to Sparx.

122
Bugs and Issues / Creating packages with stereotype
« on: May 21, 2008, 05:23:16 pm »
We use stereotypes for packages to apply to them different sets of attributes through tagged values, all based in previusly created MDG technology.

As long as we open a duagram and drop the packages with stereotype from the tool box it works fine but if a package was created through the tree (as it normaly is) we have to add the stereotype and tehn perform synch with profiles.

I think it will be much more usable to be able to add stereotype when creating (as for any other element) and then adding the tag values at creation.

At the end - the apckage is yet anothwer element.
[edit]Also we have to synch type by type, we can't synch the whole profile.[/edit]

123
Bugs and Issues / copy+paste as new looses links
« on: May 22, 2008, 01:19:03 am »
Having a composite object with a diagram containing a fream (link) to a nother diagram and then doing copy+paste as new the frame is not cpoyed, you get an empty diagram.

124
Bugs and Issues / right click-> create link for package
« on: April 27, 2008, 01:34:13 am »
For some reason I don't understand packages don't have the option of adding links in right click>add>...
Is there any logic behind it or pure EAUI?

125
Bugs and Issues / Double lock on element
« on: April 13, 2008, 11:52:31 pm »
Hi
I have encoutered a problematic behavior:
If enable security and do the following steps:
Create an element in a folder.
add it to a locked diagram in another folder.
lock the element (wihtout unlocking the digaram).
EA lets you lock the element, though you can't actualy change it, becuse it is implicitly locked by the locked diagram havgin the link to the element. It is actualy double locking.

It is very confusing and I opened a bug.

126
Bugs and Issues / Linked document short cut for packages
« on: January 30, 2008, 07:12:40 am »
When right clicking on package within diagram it is possible to choose "linked document". this option it option is not available for packages from the project tree.
For other elemets it is avaiable for both.

bug issued

127
Bugs and Issues / Can't make vertical fork from activity
« on: January 19, 2008, 09:56:41 pm »
More EAUI godies  :P

When using autolink from "Initial activity" you have the option to create either vertical or horizontal join, but when doing the same from an activity you have are given no choise, just horizontal join.

God the things you find when you work ;)

128
Uml Process / UML Fever: Diagnosis and Recovery
« on: May 22, 2008, 01:15:28 am »
Very insteresting (though old) assay:

http://acmqueue.com/modules.php?name=Content&pa=showpage&pid=291

I'm in charge of UML implementation in my company and I do have to fight to keep it simple. people have the tendency to require 200 diagram types where actualy 4-6 are required (for the whole supper duper development process top to buttom inlcuding busines process analisys) the may reuse a ton of code, but not a single diagram type...so frustrating....

129
Uml Process / Componenet package?
« on: May 07, 2008, 05:27:39 pm »
I have a little conflict I need help with:
We have crated a packages tree  which reflects our components tree.
In each package we keep the detailed design of the specific component ( interfaces, UI, Data model, classes, sequences, business logic etc.). Each of this packages was stereotyped as 'component'.
The problem is that when we want to use component diagrams we need to have a copy of the tree for them created with component elements, and I don't want it. If something is referring to the component it should refer to the package (which actually holds the component  interiors).
I also can't hole the interior of the component under a component element, since it is complicated and holds sub packages.
I was shown in Rational $W modeler you can keep  a package under a component and I was told this is because in UML2.1 there is a concept of "component package" or something like this.
I wasn't able to confirm it, but this would solve many problems for me.
Does any one else know something about it?

Thanks!

130
Uml Process / UP example
« on: December 09, 2004, 06:40:57 am »
does any budy has a good UP example or tutorial for EA (or some casetool similar to EA)?

I'm planning on mapping UP to EA in a standard way for my organisation.
I'm the main process/design consultant here and the others are mainly developers/programers so I would really have to give them the processes step-by-step.

I will be happy to hear any ides about it.

131
Automation Interface, Add-Ins and Tools / Populating EAP files with DB data
« on: December 31, 2008, 05:57:33 pm »
I need to populate automatically EAP files with a repository in DB.\
I can not give the connections strings to the users that will populate the files, I also wouldn't want them to mess with connecting to DB.
We also have a problem that we use a different DB creation SQL so we can replicate the DB.
We tried copying rows from DB to the EAP, but it seems the constrains\relations\keys are sometimes different (am I wrong?).
Also we tried to populate t_object but failed because of the relationships.
I could try moving entity by entity through EA API, but I fear we might forget to move part of the data (reference date, connectors ends and such). Also it will be very slow.

Is there any way you can advice us to solve this problem? Do you maybe have a list of things we need to move if we do it through API to avoid forgetting something?
Thanks

132
We have a very large repository with the "released" design, but part of the groups need also a working copy.
Lets say development group A is working on a released design in the central DB for iteration 1. Meanwhile design group B is creating the changes on the design for iteration 2. Once group B finishes it needs to overrun the design of iteration 1 with the one for iteration 2.
We were thinking of creating a plug in which will enable users to choose the packages they need to change for the next iteration from the central repository, move them to a working copy repository with all their dependencies and when the iteration is done replace the packages in the central repository with the packages from the working copy repository.
This will enable different design groups to have a working copy of the design and a release copy and be able through automation to update both and overrun one with the other.
Of course don't mean to use merging right now, only one copy counts.
What do you think about developing such a plug in? is it a good way to solve the problem? should we be working else way?

133
Automation Interface, Add-Ins and Tools / Shapescripts for objects
« on: May 04, 2008, 04:24:00 pm »
Hi a couple of questions about shapescripts and objects:
1) How can I add in profile/UML settings a shape script for an instance of an element (e.g.: an instance of a UI control) which doesn't have stereotype.
2) How can I override EA native shapes. I tried creating a shape script for object with stereotype screen, but EA overrides it with its own shape... my mistake, i menaged ot do it.


thanks.

134
Hi,
I have a tamplate diagram with all the standard swimlane colors.
other poeple have created diagrams with same name, but different colors.
Now I want to run a peace of code to aling the colors, but I keep geting an error that the memory Im trying to change is protected.
here is the code:
Code: [Select]
EA.Diagram template = Repository.GetDiagramByID(120);
            EA.Diagram tDiag;
            string msg = "";
            int i, j, k;
            textBox1.Text = " ";
            //loop for all diagrams
            for (k = 1; k < 386; k++)
            {
                //skip template diagram
                if (k == 120)
                    continue;
                try //in case no such ID
                {
                    tDiag = Repository.GetDiagramByID(k);
                    if (tDiag.DiagramGUID == null)
                        continue;
                }
                catch
                {
                    continue;//do nothing, I dont care
                }
                try
                {//loop for each swimlane in diagarm
                    for (i = 0; i < tDiag.SwimlaneDef.Swimlanes.Count; i++)
                    {//loop for each swimlane in template
                        for (j = 0; j < template.SwimlaneDef.Swimlanes.Count; j++)
                        {//are they the same swimlane?
                            if (template.SwimlaneDef.Swimlanes.Items(j).Title == tDiag.SwimlaneDef.Swimlanes.Items(i).Title)
                            {
                                msg = template.SwimlaneDef.Swimlanes.Items(j).Title + "," + tDiag.SwimlaneDef.Swimlanes.Items(i).Title + "," + tDiag.Name + "," + tDiag.SwimlaneDef.Swimlanes.Items(i).BackColor + "," + template.SwimlaneDef.Swimlanes.Items(j).BackColor + ",i=" + i + ",total:" + tDiag.SwimlaneDef.Swimlanes.Count + ",j=" + j + ",total:"+template.SwimlaneDef.Swimlanes.Count;
                                //the following statement throws error changin protected memory. I tried it also without casting
                                tDiag.SwimlaneDef.Swimlanes.Items(i).BackColor = (int)template.SwimlaneDef.Swimlanes.Items(j).BackColor;
                                textBox1.Text = textBox1.Text + msg + System.Environment.NewLine + "-----------------------------------------------------------" + System.Environment.NewLine;
                                j = template.SwimlaneDef.Swimlanes.Count;  //if found, then no need to keep on looking.                            
                            }
                        }
                    }
                }
                catch(System.Exception err)
                {
                    textBox1.Text = textBox1.Text = textBox1.Text + "(failed) " + msg + "," + err.ToString() + System.Environment.NewLine + "-----------------------------------------------------------" + System.Environment.NewLine;
                }
                

And here is some out put (I feiled to notice any indexing issue here):
Code: [Select]
Caller/User,Caller/User,Create Contact/Customer,16771561,16771561,i=0,total:3,j=0,total:32
-----------------------------------------------------------
(failed) Caller/User,Caller/User,Pre-Negotiation Provide Wireless via Call Center,0,16771561,i=0,total:6,j=0,total:32,System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at EA.SwimlaneClass.set_BackColor(Int32 pRet)
   at CS_AddinTaggedCSV.Form3.button2_Click(Object sender, EventArgs e) in C:\Documents and Settings\martinte\My Documents\Visual Studio 2005\Projects\CS_AddinTaggedCSV\CS Addin\Form3.cs:line 64
-----------------------------------------------------------
(failed) Caller/User,Caller/User,Find Caller,16771561,16771561,i=0,total:3,j=0,total:32,System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at EA.SwimlaneClass.set_BackColor(Int32 pRet)
   at CS_AddinTaggedCSV.Form3.button2_Click(Object sender, EventArgs e) in C:\Documents and Settings\martinte\My Documents\Visual Studio 2005\Projects\CS_AddinTaggedCSV\CS Addin\Form3.cs:line 64
-----------------------------------------------------------
(failed) Ordering UI,Ordering UI,Negotiation Provide Wireless via Call Center,12639424,14803425,i=1,total:9,j=7,total:32,System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at EA.SwimlaneClass.set_BackColor(Int32 pRet)
   at CS_AddinTaggedCSV.Form3.button2_Click(Object sender, EventArgs e) in C:\Documents and Settings\martinte\My Documents\Visual Studio 2005\Projects\CS_AddinTaggedCSV\CS Addin\Form3.cs:line 64
 
Notice that not all of then fail.
Thanks for any help!

135
Automation Interface, Add-Ins and Tools / Shape script for instances
« on: March 10, 2008, 06:20:15 pm »
Is there a way to add shape scripts to instances of stereotyped elements?

Pages: 1 ... 7 8 [9] 10