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 ... 9 10 [11] 12 13
151
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.

152
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?

153
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.

154
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.

155
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.

156
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.

157
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.

158
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.

159
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.

160
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.

161
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.

162
When I try to assign a value (off or standard as suggested by the help) the compiler claims
Quote
Error: Invalid value for orientation. Acceptable values are: "nw", "n", "ne", "e", "se", "s", "sw", "w", "nw",  and "center"'off

Has anybody at Sparx tested this shape script in any way? I do not expect an answer to that question >:(

q.

163
Can someone confirm that the following shape produces non-sense:

Code: [Select]
shape main {
      MoveTo(50,50);
      ArcTo(0,0,100,100,100,50,0,0);
}

Even worse:
Code: [Select]
shape main {
      MoveTo(50,50);
      ArcTo(0,0,100,100,100,50,100,0);
}

q.

164
Someone getting sick of this? Well, I am...

I tried to use sub-shapes with 2 parameters where layoutType="border". It seems that only "N" and "CENTER" produce results, both being the same. Using "S" shows some strange result in the preview, but none at all on the real diagram.

q.

165
Automation Interface, Add-Ins and Tools / #classifier# in shape script
« on: January 15, 2014, 11:47:01 pm »
Has anyone an idea what this and the associated dot-notated hash tags will print? I have used Advanced/Parent and a Generalization. None seems to influence the tag. Bug?

q.

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