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 ... 4 5 [6] 7 8 ... 18
76
Hej alla glada,


I've got a class model with plenty of generalizations and overridden attribute initializers.

Since these aren't attributes in the specialized classes, their values aren't output by an Element -- Attribute section in an RTF template.

Is there a way of producing them using regular templates? I'm on 11.1 here, but a 12.X answer is equally appreciated.

I can write a fragment to fix it, but it's a bit of a complex bugger because the attribute initializers are stored as key/value pairs in t_object.RunState. So if anyone's got one a sample fragment that fits the bill lying around that's good too.


Cheers,


/Uffe

77
Hi all,


I'm running into some problems when using MS Word's Save as PDF feature. In some cases, some images are corrupt and cause an error message when you try to display them in Adobe Reader. This seems to be a known bug in Word. This happens both with generated documents (generated to .docx) and with images copy/pasted from EA diagrams.

It seems that it's when an image is stored as an MS Office Graphic Object that the Word conversion process sometimes(?) fails. Metafiles seem to work.

So is there a way to force EA 11.1 to use metafile?

I haven't found an option for diagram copy/paste. Is there one?

In the document generation dialog Options tab, there's an option for diagram format (metafile/bitmap), but my documents are generated using the DocumentGenerator API and it doesn't have a method to set options.

We have a workaround, which is to skip Word's PDF generation and use a convert-to-PDF virtual printer instead, but is there a way to get EA to give Word a better chance at getting it right?

Cheers,


/Uffe

78
General Board / Cloud Services license requirement
« on: February 02, 2016, 06:38:58 pm »
Hi all,


I'm talking to a client about setting up a cloud service server for their internal models, mainly for the reusable asset service.

Question is: what license is required to run a cloud service server?

Connecting to a cloud service server requires Corporate or above. And the cloud service server is downloaded from the registered section of the web site. But does running the server require a separate license?

Cheers,


/Uffe

79
Hey guys,


Is there a way to get the current date and time into (the front page of) an HTML report?
I can't find an option for this.

I don't mind a creative solution (read: hack), so I tried creating a search which returns the current date/time and putting a Hyperlink to that search on my diagram, but of course the HTML version of the diagram only shows the hyperlink itself, not the result of the search.

I could create a stereotype with a shape script which displays the result of an Add-In call which returns the current date/time, but frankly that's farther than I'm willing to go for this.

You see what I'm looking for -- a complex setup is fine, but it must be fully automated and integrated into the regular HTML generation process.

Any thoughts?


/Uffe

80
Suggestions and Requests / Forum: attachments for select participants
« on: January 23, 2016, 02:05:31 am »
Hi all,


Earlier today I answered a question on diagramming. The quality of that answer would be a lot better if I could attach an image.

I fully understand why this option is switched off; spam and storage requirements and so on. But would it be possible to enable it for select users? Say, those with more than 500 posts and a net karma of at least +10?

Or failing that, just me?  ;D


/Uffe

81
Suggestions and Requests / Improvements to navigation by first letter
« on: January 21, 2016, 01:27:53 am »
Hi all,


In the project browser, and various treeview-style dialogs, you can search for / jump to the next item which begins with the letter 'X' by hitting the 'X' key on your keyboard. Very useful.

But if an element which begins with 'X' happens to have a stereotype, it is missed in the search. You jump right past it. So I think stereotypes should be ignored when jumping this way.

Secondly, instance elements without names should be jumped to as if they had the name of their classifier. In other words, an object ': X' should be jumped to if I hit the 'X' key. With the current function, only the actual name is considered.

Actually, you can jump to instances by hitting ':', which causes me to believe that the same would hold true if there was a '' key I could hit: that would take me to the next stereotyped element. In other words, the function considers the displayed string exactly as it appears.

But in these cases, both ':' and '' are parts of the UML syntax, not part of the items' names, and should therefore not be considered.

This would be a small but substantial GUI improvement.

Cheers,


/Uffe

82
Hi all,


When using Insert Related Elements, association classes are excluded. The association connector and the element at the other end are included just fine, but the association class doesn't appear.

There should be a checkbox "Include association classes" to control this. Plenty of space between the Clear and Refresh buttons.

In addition to being included in the diagram when the appropriate associations are selected, association classes can themselves have connectors, so they should be included in the search for related elements if the box is ticked.

Cheers,


/Uffe

83
Suggestions and Requests / Locale-based sorting
« on: October 12, 2015, 09:11:07 pm »
Hi all,


Unicode support is coming along and that's nice. So let's make it even nicer and add locale support too.

A problem with the Unicode table is that outside of the 26 characters of the rather impoverished English alphabet, the characters have just been dumped in likely-looking piles. And fair enough, really, because the additional characters are treated differently in different languages; sometimes they're proper letters in their own right, sometimes they're just diacritic variations.

But that should be taken into consideration when sorting things in EA's project browser, search results, etc. Right now, everything's sorted in Unicode order, and that's not the same as alphabetical order which is what people expect.

There are two issues here. The first is that letters with diacritical marks (accents etc) should be sorted with the unmarked letters. Right now, they all end up after Z because that's where they are in the Unicode table.

The other is that proper letters should be sorted into their correct alphabetical positions.

Scandinavian languages have more letters than English, appearing at the end of the alphabet. These are proper letters, not umlauts as in German. There are two main Scandinavian alphabets, Danish/Norwegian and Swedish, and just for fun, the characters are not identical in the two, nor are they sorted in the same order.

The Danish/Norwegian alphabet ends with Z , the Swedish with Z . EA will sort everything by Univode number, and the following table shows you how that clashes with expectations.

UnicodeCharacterDK/NOSE
196/228/--28
197/229/2927
198/230/27--
214/246/--29
216/248/28--
With Finnish I'm not entirely sure, but I think you can treat it the same as Swedish. "" (197/229) isn't part of Finnish proper, but there is a Swedish-speaking minority in Finland and Swedish is an official language there.

So what it all boils down to is that the same Unicode character has different meanings in different locales (in some a proper letter with its own alphabetical position, and in others a mere diacritic variation), and the sorting should take that into consideration. The current implementation is simple enough, but not good enough.

I'm sure you'll be pleased to know that Unicode recently published the 32nd revision to its Unicode Collation Algorithm. So if EA simply implements that, we should be OK. :)


/Uffe

84
Hey hey!


Hedging my bets in case no one likes my relevant-glossary idea. :)

When using the DocumentGenerator, it would be very useful if the various methods would return not booleans (worked / didn't work) but collections containing the package and object IDs for which templates were called, ie every package and object whose IDs were in context as #PACKAGEID# / #OBJECTID# during the generation.

Since templates can call other templates, and follow all sorts of relationships in addition to the package / element hierarchy, this information is non-trivial to retrieve beforehand, but should be easy-peasy to pick up as the generator goes along.

Ideally, the templates that were used should be indicated as well.


Cheers,


/Uffe

85
Suggestions and Requests / Document generation: relevant glossary
« on: June 02, 2015, 01:26:05 am »
Hi!


It would be useful to be able to specify, either in a template or with a an option in the document generation dialog, that any model glossary section should contain only those terms that are used in the document.

By "used in document" I mean those terms that are present in any Notes fields that gets output (ie same rules that govern the highlighting).

This is essentially what's being requested in http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1422949501.

I'd be perfectly satisfied if the solution only worked when placing the glossary in an appendix.

Cheers,


/Uffe

86
Suggestions and Requests / Repository hyperlinks
« on: January 08, 2015, 02:47:33 am »
Hi!


I'd like to be able to create repository hyperlinks. This would be another type of hyperlink in addition to the current ones, with the following particulars:
  • The hyperlink contains a connection string, similar to the contents of a "shortcut" .EAP file.
  • Double-clicking the hyperlink closes the current project, then opens the specified repository. In other words, the current session is replaced and no new EA instance is started. (If you want to get fancy, the current project should only be closed after the linked project has been successfully opened.)
  • It should also be possible to open the linked repository in a new instance instead of closing the current project, perhaps by middle-clicking or selecting a context menu item.
You can almost achieve this today using a File hyperlink to a shortcut .EAP file, but following the link forces the creation of a new EA instance and that's what I want to avoid.
The use case for this new hyperlink type is mid-to-large deployments with a mid-to-large number of repositories. These links would allow for more convenient navigation between repositories.


Cheers,


/Uffe

87
Suggestions and Requests / Diagram: duplicate layout
« on: December 16, 2013, 11:41:55 pm »
Hi!

Here's a nifty little feature suggestion for you: duplicate diagram layout.
When invoked, this opens up a selector dialog that allows you to select a diagram.
It then runs through the current diagram and, for each element and connector that is present in both the current and the selected diagram, copies the layout.

Useful in situations where you want to show a subset (possibly annotated) of a diagram.
Yes, a selective copy/paste will do this - but only once. This feature would allow you to copy the layout at a later date, after the original diagram has changed.

/Uffe

88
Suggestions and Requests / Connector: Locate Source/Target
« on: December 18, 2013, 07:33:31 pm »
Hello,

Finding your way around large or complicated diagrams can be tricky.
A helpful tool would be a popup menu item (well, two really) on connectors allowing you to Locate Source/Target. This would select the source/target element in the diagram and, if it is off-screen, recenter the diagram on it.

Cheers,


/Uffe

89
Suggestions and Requests / Attribute Length / Precision & Scale in the GUI
« on: November 16, 2013, 12:44:02 am »
Hey hey hey,


Defining your own language and primitive datatypes allows you to specify size properties, either Length or Precision & Scale.
But they're absent from the attribute properties dialog, and they're not shown in diagrams. Unless you're dealing with a database table / columns.

However, plenty of languages include a decimal type, and fixed-length strings, well fuggeddaboudit.

So how's about adding Length / Precision & Scale to the element properties dialog (Detail page, there's space) and show them in the diagrams as well?

They should only be enabled / shown when the datatype has the corresponding size property, of course.

Cheers,


/Uffe

90
Suggestions and Requests / Add-In commands in toolbar
« on: December 17, 2013, 03:47:06 am »
In Tools - Customize, you can add a new toolbar and drop commands into it. Cool.

I'd like an AddIn-specific toolbar, in one of two ways. Either

1) Add to the Commands - Categories list the currently loaded Add-Ins, and for each such category add its currently available menu items to the Commands list, then automatically enable/disable the toolbar when the corresponding Add-In is enabled/disabled using some black magic, or

2) Add a new profile category "toolbar" to the MDG Technology thingy, which lets the MDG Technician specify an icon, a tooltip and an Add-In function to be called using some other black magic. Just simple buttons, no fancy dropdowns or such.

Actually, the second one doesn't sound all that black now that I think about it. It's pretty much on a par with the rest of the MDG Techsorcery.

What do you other high priests of the dark MDG circle say?

Pages: 1 ... 4 5 [6] 7 8 ... 18