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

Pages: [1] 2 3 ... 18
1
Suggestions and Requests / Watermarks. Discuss.
« on: December 12, 2017, 09:14:52 pm »
Hi all,


This is a discussion post regarding watermarks.

There are two instances of watermarks in EA: document and diagram watermarks. A document watermark consists of an image which can be specified in the document generation dialog and which is then superimposed on each page of the generated document, while a diagram watermark consists of a single line of text which is superimposed on copied, printed and generated diagrams. The text is repeated diagonally lower-left-to-upper-right with a fixed typeface, size and line separation.

I'm OK with how the document watermarks work, except they're not in the API. So I think there needs to be an addition to the DocumentGenerator() class which allows you to set an image file for the document watermark.

Diagram watermarks are a different story.

First off, there's a bug which causes the watermark to appear in front of the diagram label (eg "class My Class Diagram"). The watermark should be behind everything else, including frames and labels.

More importantly, however, these watermarks are specified per workspace. That is to say, they're stored in the user's registry and not in the project. Meaning a modeller puts the same watermarks on diagrams from every project they access, while at the same time two modellers can print the same diagram at the same time with different watermarks.

This doesn't make sense to me. It would be more natural for a watermark to be dependent on some aspect of the diagram or the model of which it is a part, not on the user account that's exporting the diagram.

I therefore propose that the diagram watermark functionality is reworked as follows:
  • Diagram watermarks to be stored in the project, not in the user's registry. (If necessary, split them into "user (or workspace) watermark" and "project watermark".)
  • [Project] watermark content to be selectable: either the diagram's version; or its parent element's Status, specified tagged value or other property common to all elements; or a fixed string; or an image file (like a document watermark).
  • Watermark layout to be selectable: typeface, size, direction and line separation.

Thoughts?


/Uffe

2
Hi all,


I'd like to stamp "draft" (or whatever) watermarks on certain generated documents. RTF doesn't actually support those, but according to this MSDN article you can achieve the same effect using a \shp.

I tried creating a watermark in a Word document and saving that as RTF (which works, Word can render it correctly when reopening the file), then importing that into a linked document in EA (by creating the linked document, then in the RTF editor selecting File - Import), the idea being that I could use that document in a call to DocumentGenerator.InsertLinkedDocument() to get the watermark to show up on all pages.

The EA RTF editor did not display the watermark, but not to worry, the RTF specification says you're allowed to ignore content you can't handle, but if I export the document, the \shp is gone. I'm not sure the spec says you can do that, but anyway, that means this approach doesn't work.

But is there another way to create a watermark like this?

I can script it, sure. But I was looking for a way to have it incorporated into the template.


/Uffe

3
Automation Interface, Add-Ins and Tools / Doc template: generalization set
« on: December 08, 2017, 10:36:57 pm »
Hey all,

I can't find anything that looks like a generalization set field in the connector section of an RTF template.
Is it available somewhere, or do I need to write a fragment?


/Uffe

4
General Board / Project MDG Technology options storage
« on: December 07, 2017, 02:57:08 am »
Hi all,

Anyone know where the project set of required / disabled MDG Technologies is stored?
Can't find an obvious candidate table.

/Uffe

5
General Board / Audit: document generation
« on: December 06, 2017, 02:43:58 am »
Hey all,

Auditing can audit XMI import/export. Can it also audit document generation? Who, what, when?
No, right?


/Uffe

6
Bugs and Issues / ActionPin property type not set when created
« on: November 08, 2017, 03:19:16 am »
Hello,


When I create an action from an activity, EA offers to create the action pins (structural elements). They're given the right names, and their argument properties (behavior, parameter) are correct. But the type is not set.

Is there a reason for this?

I would expect the kind (direction) to be set as well: input for input activity parameters, output for output and return activity parameters.

Am I being unreasonable?

(Inout activity parameters are less straightforward; ideally two pins should be created in this case but I can let that slide.)


/Uffe

7
Hi,

Excluding WebEA and OSLC, is there anything the old non-pro cloud server can do that the Pro Cloud Server Express can't?

/Uffe

8
Hi all,


Well, clue's in the title really.

Apparently, the Pro Cloud Server includes a license server which supports IPv6.
Is that included in the Pro Cloud Server Express?


/Uffe

9
General Board / Re: Free: Pro Cloud Server Express (with WebEA)
« on: October 30, 2017, 08:23:43 pm »
Hi all,


This is in reference to the offer posted in the Latest News thread. No speculation please, I'm after an official reply.

Quote from: Sparx
For registered users of Enterprise Architect Corporate (and above) with more than 5 current licenses, Sparx Systems will provide a license of Pro Cloud Server Express with WebEA.
...
  • Your licenses of Enterprise Architect must be current
  • The Pro Cloud Server Express licenses will match the Enterprise Architect license expiry date

I'm a little confused. Since this is described as an "offer", that implies that the offer won't be valid for ever (although there's no end date listed).

So my question is:
If I qualify and take this offer up, then subsequently renew my 5+ Corporate+ licenses, will the Pro Cloud Server Express license expire? In other words, is this a one-time offer?

Or should it be read to mean that the Pro Cloud Server Express comes free of charge for customers with 5+ Corporate+ licenses? Meaning that as long as I pay for 5+ yearly client renewals, my Pro Cloud Server Express will keep on keepin' on?

If so, how do I renew my Pro Cloud Server Express license?


/Uffe

10
General Board / Updating 11.1 to 13.5 -- any gotchas?
« on: October 25, 2017, 07:57:59 pm »
Hi all,


Well they put it off for longer than humanly possible, but my big client is finally gearing up to update EA from 11.1 to 13.5.
So are there any gotchas, ifs, buts or bear traps I should be aware of?

The GUI is completely reorganized. Got that. Anything else?

The main features we're using would be
  • Corporate edition on Windows 7 (moving to Windows 10)
  • Custom MDG Technologies with a lot of document templates
  • No extensive use of third-party standards (BPMN, TOGAF, etc)
  • SQL Server repositories
  • User Security with Windows authentication
  • Cloud Server for RAS (backed by SQL Server)
  • The old Visio importer

We were using the license server as well, but we're abandoning that due to the lack of IPv6 support and reverting to the user-friendly and easily circumvented license file.

  • Are there any changes to the EA database schema, and are there update scripts available?
  • Are there any breaking changes to user management?
  • Are there any breaking changes changes in the cloud server?
  • Is the new Visio importer included in the Corporate edition, or is it only sold as part of the Office integration?
  • If the latter, will the old importer work with 13.5?

Anything else anyone can think of would of course also be appreciated.


/Uffe

11
Bugs and Issues / Action pin direction
« on: October 25, 2017, 12:29:12 am »
Hi all,


In EA 11.1, if I create an activity with some parameters, and then drag that onto a diagram and let EA create a CallBehavior action from it, EA also auto-creates action pins. But all the action pins have direction 'in', regardless of the direction of the corresponding parameter (in, out, inout or return).

Can someone check if this is still the case in 13?

Thanks,


/Uffe

12
Bugs and Issues / Timing diagrams
« on: October 18, 2017, 02:44:08 am »
Hi all,


I'm looking at timing diagrams in 11.1. This is such a buggy heap of garbage I cannot in good conscience recommend my client use it -- and right now they're documenting timelines in PowerPoint.

I've looked at the version history, and for 1207 it says
Quote
Timing diagram changes to Timeline properties have improved persistence
That's all, folks.

What does that even mean? Do they work now?

Have they stopped resizing by themselves and going crazy when you draw multiple messages to the same transition? Can you compress a time interval without the layout going berserk? Can you align message endpoints, or do you still have to pixel-push them around the diagram one by one?

And so on.

Anyone?


/Uffe

13
Bugs and Issues / TimeLine data
« on: October 16, 2017, 08:24:37 pm »
Hi all,


I'm trying to work out where EA stores data for a TimeLine.

The transitions are in RunState. Got that.
The states are in t_xref. Alright.

But where is the Timeline Range?

Seeing as the range is set to 0-100 if I drop a TimeLine onto a different diagram, I thought it might be in the diagram object. But it's not, even though the range is only set to default in the new diagram.

There seems to be an additional transition that corresponds to the range's lower value, but I can't find anything that represents the higher one. Nothing in PDATA.

Little help?


/Uffe

14
Hello boys and girls,

An operation parameter's multiplicity is stored in t_xref. The API Parameter class does not have a CustomProperties collection.
Is there a way to set a parameter's multiplicity through the API?

Cheers,


/Uffe

15
Uml Process / Action pins and instances of artifacts
« on: October 11, 2017, 07:16:50 pm »
Hi all,


EA lets me draw object flows between actions or action pins and instances of classes (objects). This is useful for when you want to show the object states explicitly in your activity diagram.

But if I make an instance of an artifact, EA says the requested connection is not UML compliant. Why is this?

I can work around it and force EA to accept this construction. That's not the question. The question is, why does UML say I should not make instances of artifacts and have them be the endpoints of object flows, like I can with instances of classes?


/Uffe

Pages: [1] 2 3 ... 18