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

Pages: 1 ... 8 9 [10] 11 12
136
Uml Process / Constraints in use cases
« on: September 23, 2015, 06:56:30 pm »
I needed to show pre- and post-conditions for use cases on a diagram and thought it would be neat to use the Link to Element Feature. But this raised two issues:
  • The notes don't seem to show which kind (pre/post/invariant/OCL) the selected constraints are. Any way to show them except adding an additional manual note?
  • Right after the constraint text EA renders a colon. What is the rationale for this?

q.

137
Uml Process / Association ownership
« on: May 18, 2015, 09:43:32 pm »
In SS 2.5 (ptc/2013-09-05) they introduced a dot on the association to show ownership (p. 209). By accident I got one association to show that dot. As for that time I did not know its meaning I got rid of it be deleting the connector and creating it new. Now, after reading about the meaning, I would like to know how to create that dot.

138
Uml Process / Use of XMI 1.1
« on: April 13, 2013, 02:56:51 am »
I'm currently writing a compiler that creates a XMI ready for import by EA. The default is XMI 1.1. It looks pretty much straight forward so the XMI is imported by EA with no issues. However, I wonder how long XMI 1.1 will stay in place. At OMG there does not seem to be any legacy document left over for 1.1, they start at 2.1. Does that mean that XMI 1.1 is obsolete and I should move to at least 2.1? Or maybe someone can point me to the XMI 1.1 specification?

q.

139
Uml Process / Exposed functionality from interfaces at ports
« on: April 30, 2013, 11:45:59 pm »
I have a rather strange issue. Or simply my memory is deceiving me. I tried this with v10 and 9.3: I have an interface (say IF) which provides some methods. And a class CLS with a port which itself contains a provided interface (say PIF). PIF is not only classified but has a Realize relation to IF. Now when I put CLS onto a sequence diagram and send a message to it, the drop down does not show the methods available from IF. Only if I show PIF within its port attached to CLS it is possible to utilize the methods from IF. But that rather clutters the sequence diagram. I'm pretty sure that I've seen the IF methods even at the CLS instance in a former EA version. Seemed logically to me as the CLS should have all the methods available it provides through its various exposed interfaces.

Another peculiarity which hit me here: it is not enough to classify PIF with IF in the Exposed Interface dialog. You must draw a Realization from PIF to IF in order to see IF's methods at PIF. So why create the classification if it does not provide the methods? Just for the name?

I'll try that with a former EA version (if I find the download link). However, it would be nice to know what's happening here.

q.

140
Uml Process / Show includes/extends in an activity diagram
« on: April 29, 2013, 09:15:30 pm »
I got stuck with this one so maybe someone has a nice solution: In a use case "UC A" a single step in a scenario might read "The actor X performs the use case 'UC B'.". In a UC diagram you see either a <<includes>> or <<extends>> relation between both UCs. But how would one show that in the activity diagram for "UC A"? Assuming you have only a single activity in use case "UC B" and named this "Activity for UC B" (which from the "UC B" perspective looks like an over-definition) you could use that as a link element appearing in "UC A"s activity diagram. But probably there's another way to show that?

q.

141
Uml Process / Interface? Interface!
« on: March 20, 2013, 05:04:10 am »
I wonder what the difference might be:
  • A class with stereotype <<interface>>
  • A metatype interface (3rd entry in the class toolbox)
  • A metatype interface with stereotype <<interface>> (which you get if you use Element/Advanced/Change Type from class to interface if the class had the <<interface>> stereotype) [see below]

Two additional observations:

  • I also noticed that right after changing a stereotyped interface class to an interface metatype it will show with the stereotype in the browser until you select it some times. It appears that now the stereotype is removed and it's just the interface metatype left over.
  • I also turned on Show Realized Interfaces and (like some other guy recently) noticed that the lollipop can't be moved - what the heck? When using auto-layout it's additionally shifted out of sight to the left!

q.

[edit] Additionally, you may create a metatype Interface with stereotype <<interface>> (somehow that was created via add new element inside the select type dialogue for a parameter?!). So, what is this then?

142
Uml Process / UseCase Relation in use case diagrams
« on: February 08, 2012, 08:52:12 pm »
I wonder where from the UseCase Relation stems which is defined in the context of use case diagrams.

We have some kind of philosophic discussion about it and it is argued that a "use" in classical sense is connectd with Dependency. But this UseCase Relation is obviously a meta class of association (due to the fact that it is a solid line). Now I browsed Superstructures 2.3 and 1.5 but non seem to mention such a UseCase Relation.

Any light out there?

q.

143
I just have published an e-book which explains numerous details of EA's repository structure. Intended readers are not only programmers but also people which want to get out more from EA's advanced search facility. I published a short résumé on the the Sparx Systems Enterprise Architect Community Site under Advanced Searching. The e-book itself and a preview are available at http://leanpub.com/InsideEA. I'd be happy to receive feedback and will amend the book accordingly.

q.

144
Automation Interface, Add-Ins and Tools / Book about Shape Script
« on: January 15, 2014, 03:46:17 am »
I have started writing a tutorial about Shape Scripts. I hope to be able to publish a pre-release next week or so.

https://leanpub.com/shapescript

q.

145
Does anybody know how to reset  SetLineStyle("double")? I found that in one example in the help (of course without any basic description). I tried "single" and "plain" but none worked. Is that a turn on only?

q.

146
Does this script (copied from the help) actually work?
Code: [Select]
shape main {
 layouttype="Border";
// if(HasProperty("ShowComposedDiagram", "true")) {
         addsubshape("ComposedDiagram", "CENTER");
// }

 shape ComposedDiagram {
      DrawComposedDiagram();
 }
}
I don't see any composite diagram.

q.

147
Automation Interface, Add-Ins and Tools / text instead of shape
« on: January 20, 2014, 12:34:34 am »
One of the MDGs uses a text <name> instead of a shape <name>. I could not find any difference in the effect of both. Does anyone know more about it. The help does not mention it at all.

q.

148
Automation Interface, Add-Ins and Tools / SetPen in shape script
« on: January 20, 2014, 08:02:22 pm »
To whom it may concern: Using
Code: [Select]
SetPen(get...Color(),<size>) has strange effects if there are bends in an applied connector shape. Using
Code: [Select]
SetPenColor(get...Color());
SetPenWidth(<size>);
however works as expected.

q.

149
Automation Interface, Add-Ins and Tools / #istagged# in shape script
« on: January 20, 2014, 12:08:29 am »
Does anybody know what this hash tag returns?

q.

150
Automation Interface, Add-Ins and Tools / #weight#  in shape script
« on: January 18, 2014, 06:49:59 am »
Does anyone know what this hash-tag returns (for a connector). I can't seem to find any weight property.

q.

Pages: 1 ... 8 9 [10] 11 12