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

Pages: 1 [2] 3
16
General Board / Re: What MetaClass for diagram stereotypes?
« on: May 06, 2010, 09:34:52 am »
There is no "Diagram" in the metaclass list. There is "DiagramFrame", "DiagramGate" and "UMLDiagram". The first two didn't make sense and I already tried "UMLDiagram" and that didn't work.

17
General Board / Re: What MetaClass for diagram stereotypes?
« on: May 05, 2010, 10:24:50 pm »
I was afraid that might be the case. What you say is how I am currently doing it, but was hoping the pull down would read from the profile to ensure consistency.

However, it also makes sense that it might not be in the profile. A diagram really isn't a UML type right? Just a view into the UML Model?

18
General Board / What MetaClass for diagram stereotypes?
« on: May 05, 2010, 09:18:49 pm »
I want to create a stereotype that I can attach to any diagram. (Right now the pull down says "allocated" and "RequirementRelated".) However, I'm unable to figure out what MetaClass I extend in my UML Profile to do this. Can anyone help me out?

19
General Board / Scenario XMI Export
« on: May 07, 2010, 12:50:07 am »
I'm looking at the XMI export for scenarios and it here is an example?

Code: [Select]
                       <EAModel.scenario>
                              <EAScenario name="Acknowledge Check" type="Alternate" weight="0.00" subject="EAID_33831B20_47F5_45b9_B475_85678B41CF60" xmi:id="EAID_8B50A1F3_3C06_4fed_9CD2_875EB0A2FC05">
                                    <EAScenarioContent>
                                          <path>
                                                <step name="Check if operator has acknowledge pending erros" guid="{D3C8ABFE-F639-41ff-B2E8-92E5B4A82F27}" level="1" uses="Train Operator" result="" state="" trigger="1" link=""/>
                                                <step name="Request brakes on failure to acknowledge" guid="{6E3E2D39-E57F-47a3-9C4F-B6EE6325AABB}" level="2" uses="Brake System" result="" state="" trigger="1" link=""/>
                                          </path>
                                    </EAScenarioContent>
                              </EAScenario>
                              <EAScenario name="Another Path" type="Exception" weight="0.00" subject="EAID_33831B20_47F5_45b9_B475_85678B41CF60" xmi:id="EAID_55632629_20A1_4b62_9EE8_DA55A0BD9BBC">
                                    <EAScenarioContent>
                                          <path>
                                                <step name="Step 1" guid="{EDEA9529-9493-4d8f-9605-384ECF734DA3}" level="1" uses="" result="" state="" trigger="0" link=""/>
                                                <step name="Step 2" guid="{7A59C0D5-5FE4-4ab0-B9AC-19D63D306B93}" level="2" uses="" result="" state="" trigger="1" link=""/>
                                          </path>
                                    </EAScenarioContent>
                              </EAScenario>
                              <EAScenario name="Basic Path" type="Basic Path" weight="2.00" subject="EAID_33831B20_47F5_45b9_B475_85678B41CF60" xmi:id="EAID_DF926DCC_D7BE_4087_B328_AB9F2F55B1C6">
                                    <EAScenarioContent>
                                          <path>
                                                <step name="Compare Speed Limit with Train Speed" guid="{8C915C5A-9B2D-4f32-8F08-6DF462BC3AC2}" level="1" uses="" result="" state="" trigger="0" link="">
                                                      <extension level="1a" guid="{8B50A1F3-3C06-4fed-9CD2-875EB0A2FC05}" join="End"/>
                                                </step>
                                                <step name="Withhold brakes if under speed limit" guid="{A2B3BE7B-BE49-481d-AE80-9D85AAAA9466}" level="2" uses="Brake System" result="" state="" trigger="1" link="">
                                                      <extension level="2a" guid="{55632629-20A1-4b62-9EE8-DA55A0BD9BBC}" join="End"/>
                                                </step>
                                          </path>
                                    </EAScenarioContent>
                              </EAScenario>
                        </EAModel.scenario>

My question is, how do you link the alternate scenarios to the step they come from in the basic path? The extension level doesn't seem to be referenced, nor the guid...

20
General Board / Re: Constant Source Control Hit
« on: May 05, 2010, 09:15:12 pm »
Where is this setting for auto check-in/check-out? I don't see it under Package Control->Configure or Package Control->Version Control Settings.

I am dragging them between packages that are underneath the same root package. (from the 2nd level deep to the 3rd or 4th level deep)

21
General Board / Constant Source Control Hit
« on: April 28, 2010, 02:05:06 am »
I have a model that I have under SVN source control. All I'm doing is moving model elements into packages underneath this model. Everything I do that, SVN is being called. Can anybody tell me why? What is it doing? I know SVN is being called because if I drop the network connection, I get the SVN errors associated with not being able to find the repo.

22
Bugs and Issues / Re: SQL Server Database Setup
« on: April 16, 2011, 02:41:17 am »
The issue on not being able to Get Latest on a package isn't limited to DBMS setups. I get similar issues when using an EAP file. I think EA just has a hard time when there are a lot of elements. This I find surprising and disappointing.

The reason I ran across this thread was that I had just switched to MySQL from EAP files. Everything seemed to be working "better" until I tried to do a baseline. Consistently, no matter how small the package, at the end of the baseline process I get the error "Enterprise Architect has experienced a network error and will shutdown." Which is amusing since I'm connecting to MySQL through a pipe. ;)

So has anyone heard from EA about this vague and useless network error message?

23
Uml Process / Re: Activity Diagram and Parameters
« on: June 18, 2010, 01:15:40 am »
I already said that is what I am doing. But that is the work around.
 
The diagram isn't the parent as far as EA's implementation goes, but the diagram explicitly exists because this Activity is a composite and you need to describe what is inside this activity. So yes, my statement that the diagram is the parent element was too strong. I should have said the diagram represents the parent element. But the point is the same.

24
Uml Process / Re: Activity Diagram and Parameters
« on: June 17, 2010, 09:46:18 pm »
Unfortunately, that is what I've been doing. It is, however, very different than the diagram edge.

25
Uml Process / Re: Activity Diagram and Parameters
« on: June 17, 2010, 05:37:43 am »
bump  ::)

26
Uml Process / Activity Diagram and Parameters
« on: May 24, 2010, 10:34:44 pm »
I have an activity with some parameters that is included in a higher level activity. When I describe the lower level activity in its own diagram, I need to link those parameters to action pins on actions within the activity. But I can't figure out how to show the parameters on the diagram frame. How do I do this? If I drag the parameters to the diagram, I get a complaint about needing the parent element. But the diagram is the parent element!

27
If I am creating an UML Profile using a diagram and "Save Package as UML Profile", how do I populate the "unit" and "values" attributes of the resultant XML?

<Tag name="TopLevelPbsElement" type="RefGUID" description="" unit="" values="" default=""/>

I can hand code it, but I'm not sure what to do in the GUI to fill this in.

28
Okay, this works. Not sure if it is the best solution, but it works...

            foreach( EA.Attribute a in source.Attributes )
            {
                if( a.Type == "Package" )
                {
                    EA.Element pEl = repo.GetElementByID( a.ClassifierID );
                    EA.Package p = repo.GetPackageByGuid( pEl.ElementGUID );
                }

29
I'm trying to traverse a document class from the API. The packages that you put into a documentation class show up as attributes, so I'm trying to follow the attribute. I thought I could use the ClassiferID of the attribute to find the package being referenced, but I am getting stuck...

            foreach( EA.Attribute a in source.Attributes )
            {
                EA.Package p = repo.GetPackageByID( a.ClassifierID );

but the GetPackage... causes a error dialog (ID not found).

Anyone know how to find the package object given the document object?

30
Automation Interface, Add-Ins and Tools / Re: MergeInstructions
« on: February 25, 2011, 09:45:11 pm »
From Tech Support, for everyone's information:

Upon investigation, our developers report that the documentation on this
subject is currently incorrect.  The MergeItem xml node has additional
attributes when using "RestoreAll" that are not currently documented.

Example:

<Merge>
<MergeItem guid="RestoreAll" changed="true" baselineOnly="true"
modelOnly="true" moved="true" fullrestore="false" />
</Merge>

Pages: 1 [2] 3