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

Pages: 1 [2] 3 4 ... 598
16
Automation Interface, Add-Ins and Tools / Re: DiagramLink and Connectors
« on: December 05, 2017, 08:32:58 pm »
So here are the details:

Colors in EA:
Quote from: p. 100 of my Scripting book
Coloring values in EA have simple RGB values without transparency. Each red, blue and green value can take an intensity from 0 to 255. The RGB itself is calculated by

RGB = (blue * 256 + green) * 256 + red

The default coloring is equal to -1.
I should put that piece of information also in my Inside book.

Look into t_diagram.geometry. The different labels can be found the in semi-colon separated list under the according tag. LMB e.g stands for Label Middle Bottom and it might look like

Code: [Select]
LMB=CX=27:CY=16:OX=8:OY=0:HDN=0:BLD=0:ITA=0:UND=0:CLR=65408:ALN=1:DIR=0:ROT=0;Here the CLR is the RGB value  of the label. A complete list of those acronyms can be found on p. 14 of my Inside book.

The line color itself is stored in t_connector.LineColor. It will be overridden if t_diagamlinks.Style has a Color tag in the CSV.

q.



17
Automation Interface, Add-Ins and Tools / Re: DiagramLink and Connectors
« on: December 05, 2017, 07:27:07 pm »
Ah, ok. Now it's clear. I wasn't aware of using different colors for connectors and labels. Will have a look later then.

q.

18
Automation Interface, Add-Ins and Tools / Re: DiagramLink and Connectors
« on: December 05, 2017, 11:18:53 am »
Sorry, I still don't know what your issue is. I can only guess. There are 2 colors: one is a global connector color and another is the per diagram color. But my glass bowl fell in the fountain and the frog told me it's too heavy to lift it.

q.

19
Bugs and Issues / Re: EA Trial on MacOS / wine / Core Dump!
« on: December 05, 2017, 09:34:58 am »
wine is a wheelchair for disabled Windoze users. No wonder you have issues. Try using a horse carriage like Parallels. Still no Lamborghini, but definitely less hassle than you have with wine.

q.

20
Automation Interface, Add-Ins and Tools / Re: DiagramLink and Connectors
« on: December 05, 2017, 09:30:40 am »
I don't know what you want to do. Is it the color of a connector you want to change? And I guess you want to do that programmatically

q.

21
General Board / Re: Labelled connectors
« on: December 05, 2017, 12:34:32 am »
Well, you can: ctrl-click a connector at two places so you have 3 segments. Ctrl-click the middle one and choose Suppress Line Segment.

q.

22
General Board / Re: Rectangle notation for Actors- Bug or feature?
« on: December 05, 2017, 12:31:54 am »
I'd say that it's a feature you see the icons. Basically the textual display is what is required. So that's correct this way. You might ask for a feature to show the stickman instead, or you write your own shape script.

q.

23
I also seem to remember some post about that. If you're bored over the weekend (and likely few will read here anyway then) you can try to search the forum. Good luck with that and have a beer while fiddling with the search.

q.

24
Uml Process / Re: Tagged values
« on: December 03, 2017, 01:18:28 am »
That's basically what I meant. EA's half baken restrictions to have compliant models are worth nothing if you otherwise can bypass the UML specs and create "something". There are a couple of concepts in EA which do not (or no longer) make sense. Like the View-restrictions (better have stereotypes), the stereotypes per se and the connected TVs. Those concepts should be streamlined - with strong view to the UML specs.

But what am I talking here?  :P

q.

25
Uml Process / Re: Tagged values
« on: December 02, 2017, 06:23:41 pm »
Which finally means: EA is NOT UML compliant. It allows to pollute a model with stereotypes and tagged values that don't relate to a profile. Partially you can prohibit "free stereotype" creation by turning on EA security. But TVs still lurk around without control.

q.

26
Bugs and Issues / Re: C#7 (7.x) .NET Source Code Import Containing Tuples
« on: December 02, 2017, 10:29:29 am »
Not sure about all that sharp dressed C, but I'd suppose you're trying to import a not supported flavor. Check the docs which C# is supported. Or contact Sparx support if you think it's a bug.

q.

27
Are you dealing with EAP? In that case the asterisk is fine. But other RDBMS use a percent sign.

q.

28
Uml Process / Re: Tagged values
« on: December 02, 2017, 05:17:59 am »
So "tagged values" are now "stereotype properties". That somehow makes sense. Shouldn't EA get its wording aligned with the UML specs?

However, that still leaves the question: what are those "free tagged values" which should be "stereotype properties"? Which stereotype do they belong to? And the same with the "free stereotypes" which, according to the specs, should belong to a profile.

q.

29
Uml Process / Tagged values
« on: December 01, 2017, 09:47:55 pm »
I was pointed to this by a recent question in StackOverflow: tagged values do no longer exist in the UML 2.5 specs. The only real mention is on p. 205
Quote
When a Stereotype is applied to a model element, the values of the Properties have traditionally been referred to as tagged values.
That's it!

Now, what would that mean to EA? A concept that is used vastly in MDG does basically not exist in UML. How does that fit?

q.

P.S. Also, there is a constraint regarding stereotypes on p.278
Quote
/profile : Profile [1..1]{}
which EA obviously ignores.

30
You know that an official bug report needs the form below in the Support/Bug report section be filled out.

q.

Pages: 1 [2] 3 4 ... 598