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 ... 5 6 [7] 8 9 ... 20
Hi Gurus!

I've stereotyped an association class, and I would like to be able to show which elements it connects in the shape script for the class. That way I can drop the association class in a diagram on its own and see its source and target.

The information is available in a connector shape script, but of course I'm in an element context.
So is there a way to do this without resorting to an Add-In call?



Hi all,

I've got a class model with a lot of overridden attribute initializers.

Is there a simple way to access those in an RTF template?


OK then, is there a hard way to access those in an RTF template?



Suggestions and Requests / Set version when creating baseline
« on: April 13, 2016, 10:01:34 pm »
Hi all,

A good enhancement to make baselines more useful would be the ability to specify, as an option, that the version identity you set when creating the baseline should be propagated to all the contained elements and diagrams that have been changed since the previous baseline.

In order for it to work properly, the modification time should not be affected when the Version field is set this way.

Actually, to be really useful you should select one of three:
  • Don't set any Version fields (default, current behaviour)
  • Set Version fields for modified elements/diagrams
  • Set Version fields for all elements/diagrams

Any takers?



Bugs and Issues / Auto-hidden connectors
« on: April 11, 2016, 11:10:05 pm »
Hi all,

I just noticed a feature I haven't seen before: EA auto-hides certain connector types depending on diagram layout.

If you create two classes A and B, and draw an Aggregation from B to A (so that A is the container and B the contained), then move and resize A so that it completely encloses B, EA hides the connector.

You get the same behaviour with a Composition, and with a Nesting. Associations, Generalizations and Realizations, on the other hand, are not hidden. This makes sense; the first three are purely structural relationships after all.

I like this function but I don't know what it's called, which connectors/elements/diagrams it affects, whether there are any options I can set to modify it, or where it's documented.

Does anyone else?



Automation Interface, Add-Ins and Tools / Painted stereotyped Boundary
« on: April 02, 2016, 12:36:21 am »
Hey guys,

In EA 11.1, I'm trying to create a stereotyped Boundary with set backgroud and border colours.
But even though I can specify both colours in the profile (by painting the stereotype element), the result is a Boundary with the correct border colour but the default background -- regardless of whether I select Border Style 0 (solid) or 3 (Sold-No Fill).

Is there a way to fix this?

I could write a Shape script, but I suspect it's something to do with the border style, which I can't set in the stereotype (even though it's got its own t_object column).

So is there a way to specify an element's border style in a profile?

Or is there another way to get what I want -- a solid boundary with set background and border colours?



Suggestions and Requests / Tree view in on-line help
« on: March 25, 2016, 07:02:21 pm »
OK, I know I'm late to the party here, but can we please, for the love of God, get a tree view in the on-line help?

This context-less clicking around in the browser is driving me nuts.


Automation Interface, Add-Ins and Tools / Set icon for root node
« on: March 05, 2016, 01:50:39 am »

Is it possible to specify a different icon for a root node?
Another way of putting it, I guess, is "is it possible to create a stereotyped root node?"

I'm guessing no, because from what I understand root nodes are only packages-ish. Unlike real packages, which includes views, root nodes have no corresponding element and thus nowhere to store a stereotype.

But I could be wrong.

Am I?


Hi all,

Is there an event that's triggered when an element is moved in a diagram?
OnNotifyContextItemModified possibly?



Hi all,

If I've linked a note to an element feature, and then double-click the note I get an error dialog telling me the note can't be edited and I should instead use the connector context menu to re-link the note to a different feature.

In addition to the error message being a little cryptic, I humbly submit that wanting to re-link the note is not the most common case. Instead, that honour goes to wanting to change the feature that's displayed in the note.

So how about adding a button "Edit Feature" which opens the element properties dialog, turns to the right tab and highlights the relevant entry in the list of attributes, tags, constraints or whatever I've linked to? And then change the current "OK" to "Cancel."



Suggestions and Requests / Link this Hyperlink to Element File
« on: February 19, 2016, 10:27:48 pm »
Hi all,

Well the title is a bit of nonsense, but I arrived at it by combining three very useful features: hyperlinks, Link this Note to an Element Feature, and "file" links inside elements (which can actually target either local files or hyperlinks).

What I'd like is the ability to create a hyperlink in a diagram (regular Common toolbox hyperlink thing) and then slave it to one of the entries in an element's "file" list. That way, I can show these external things in the diagram and not have to open the element properties dialog to follow them, but at the same time I only need to edit the actual link in one place.

So, same functionality as Link Note, but restricted to an element's "file" list. Of course, if it's easier or better to extend the current Link Note function so that you can select "file" in the Feature Type dropdown list, that's fine too. But the resulting note must then launch the link when clicked, not open a properties dialog.



General Board / Public feature/bug voter/tracker?
« on: February 15, 2016, 11:33:26 pm »
Hi all,

This one's mainly for the community, but I'm posting it here because this is where the action is.

For your "amusement":
This was new to me... And should in my opinion be deleted. That's not the main point of this post, however.

I think a public tracker for feature requests, and possibly (but not necessarily!) bugs would be a very useful thing. It should include status and a voting system, and be open enough that people could contribute, but structured and moderated so things are kept relevant. A forum such as the one Sparx supplies here works for issue discussion, but not for the other things.

I've thought about suggesting something like this for the user group, or possibly the community site. If we, the enthusiasts and professionals, put some weight behind it as a collective, it could work. But Sparx would have to approve of the concept, and of the process involved.

Thomas' initiative above failed, I think, because it didn't set up a playing field beforehand. The tickets contain quoted e-mails between Thomas and Sparx, but in them there's no mention (that I've found) of Assembla -- meaning Sparx were likely unaware that their messages were being published.

This is why I think the whole thing should be deleted. It's not active and serves no useful purpose, but more to the point I think it crossed a line in terms of trust. Unless of course Sparx were aware of the Assembla tickets, I may be completely wrong about that.

But assuming I'm right, trust is important. If Sparx are not willing to make public commitments regarding schedule etc, we can't force them and we shouldn't try. Instead, we should engage with them in a constructive fashion and try to make them see things our way. But public disclosure of private e-mails without prior approval can be considered a breach of trust and is therefore not a constructive way forward -- you don't engage with someone you don't trust.

Ultimately, we must remember that the relationship between us and Sparx is one of customer -- supplier. If we want them to be a more open supplier, with a published roadmap and public issue tracking and so forth, we the community must rise above the level of enthusiasts and tinkerers. To get a pro supplier, you must be a pro client.

So. Question.

Would Sparx be interested in a public feature request system, with users able to contribute suggestions and vote on them, and Sparx able to add things like planning status (eg "next minor", "next major")?

Would we the community be interested in using and promoting such a system?

If the answer to both is yes, then I could donate some server space to host it and serve as the moderator. I would suggest setting up a six-to-twelve month trial run (enough time to last past the next major release), and then evaluate it and see how well it works.

This idea has been rumbling around the back of my skull for some time as I say, but it's not fully fleshed out. So if there's some interest from both parties I'll put in some more thinking, and obviously any thoughts and suggestions are welcome.

But if Sparx doesn't want this, and I fully understand it if they don't, it won't happen.


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.



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?



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?



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?


Pages: 1 ... 5 6 [7] 8 9 ... 20