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

Pages: [1]
1
For a background read, see this post http://sparxsystems.com/forums/smf/index.php/topic,37437.msg234502.html#msg234502, it links to another, all on the same subject.

I want to be able to read all tags, not just the EA ones when I am altering the DDL generating tags. It would allow me to customize the DDL generation from an imported database, specifically, allow me to ignore temporary tables that were put in. I often do not have read access on production, only test. Whilst the structure of the core is correct, these databases often contain additional tables used in testing, but not in production. I want to ignore these when adjusting the model. I could mark these with a tag, and adjust the DDL scripts to deal with these items appropiately. It would allow me to import, tag & alter and export only the the 'production' relevant model in DDL for the team to take forward.

Right now I cannot read my own tags, and given that nobody told me I could (but was taking the wrong approach), I assume the function only accesses the EA list of tags for DDL. I want to simply be able to read any tag. This should not alter existing functionality at all, merely expand the options available to those that want to customise the DDL scripting.

2
Bugs and Issues / Ribbon related crash in EA 13
« on: May 10, 2017, 08:33:00 pm »
Hi,

I've noticed that EA will crash if you have the ribbon minimised and use a ribbon control that alters how it looks.

Scenario to reproduce. Create a diagram, add a Linked Document element. Open de document to show the RTF editor.

Now -if ribbon is minimised-
Open the ribbon and expand the font drop-down ==> crash

make  sure the ribbon doesn't minimise and repeat ==> The list of fonts is displayed.

I get this on W7 / 64, W7 / 32 and Wine (using a 32bit prefix, version 1.8.7), so it seems pretty consistent.

Anyone else have this?

Chris

3
Bugs and Issues / Reading tags doesn't work as I expect
« on: November 14, 2016, 08:43:01 pm »
For more details on the context, see my post here http://sparxsystems.com/forums/smf/index.php/topic,37363.0.html.

Concretely my question is: why, if I add a tag manually to a database table (one imported from ODBC), can I not read the tagvalue in the DDL scripts? Although my venturing into the DDL scripts is new for me, I can read the tags that are added standard without any problem.

Alternatively I can also work with expanding the standard set of TAGS, if I can set it's value to a dafault and override it when I want to. But I can't find info on if that's possible and if so, how to do it.

4
Bugs and Issues / Diagram rendering
« on: November 07, 2016, 06:43:55 am »
I stumbled across some inconsistencies when sharing models across many PC. see http://sparxsystems.com/forums/smf/index.php/topic,37372.msg234319.html#msg234319

Turns out that most can be solved by switching the alphabetic ordering option off. Perhaps an idea to make this a project setting rather than global. Anyway, the problem is how windows 7 renders the diagram. I have compared the rendering between Wine (32bit prefix set to Windows 7) and a Virtualbox Windows 7 64bit client. And it doesn't make sense, but Wine does this much better than Windows 7. Much.

In each case I render the same diagram, using publish image to file. I save as WMF. Both cases it is the same EA13 version.
Under the Windows 7 64bit Virtualbox client:

The export under Wine yields:


The difference is very noticable when you look at the details, here's an element from the Windows 7 render:


Now look at the one done under Wine:


Clearly the Wine environment is doing a better job.

However, when you select JPG as the format, you get the same image:


I've noticed the same when you render a diagram to Word, and then save to PDF. Under Office 10 it doesn't look so good, but it looks very good once it is a PDF. The EMF from the Win 7 image is like the JPG, but fails from Wine, it writes a file, but irfanview says it can't find the fikle header. So WMF is off, EMF doesn't work for me under wine and JPG seems fine. Any suggestions on why EMF fails under Wine? And what can be done about the WMF creation under Windows 7?

5
General Board / Jumping line angles
« on: November 02, 2016, 01:22:05 am »
Hi,

I think I've seen this one dealt with before, but can't seem to find it. I share a repository with several co-workers, but on each machine, the line angles jump. Normally we tend to use custom lines, but they seem to easily decide to alter my carefully created route (straight angles, but not always the shortest) in one with weird angles. So when I save it, it looks good, when someone else loads it, it looks bad.

We all have 96dpi displays, we all have the same font config in EA. What else can be done to ensure the diagrams look consistently neat across our screens? Stop using custom lines? I like custom lines, and use virtualisation of ends quite frequently. But the diagram should display correctly across the machines.

I even have it on one computer, that runs Wine + EA and a virtualised windows 7 and EA. What causes the lines to jump around? Fonts seem to matter.

Rgds Chris

6
Hi,

As EA doesn't process Oracle's materialized views the way I'd like, I'm looking to adjust the DDL scripts, bascially skip dropping / creating tables that contain a tag. But not really finding a good example. I found DDL_TABLE_TAGVALUE ([tagName]) mentioned, and in the DDL Template editor I see the script create table.

Simply adding an
%if DDL_TABLE_TAGVALUE("mytag") != ""%
%endTemplate%

To the create table did not alter a single thing. Ideally I want to skip the tables I tag and add a comment to the DDL saying it was skipped for some reason.

Not having much luck in finding a good starting point on how to do it, but then, this is a part of EA I've not really explored a lot before, I'd appreciate some example, or links to where to look for the howto kind of information.

TIA

Chris

7
Bugs and Issues / Minor but persistent bug
« on: October 13, 2016, 10:32:14 pm »
Somewhere in the 12 series I think, I started noticing that if you set the diagram to be on one page (and I frequently do that), save the diagram and reopen, you have to actually click any element in the diagram before it pushes the page boundaries to show how the diagram would fit on one page.

Personally I'd prefer that it checks for this upon load. In version 13 this is still there. Not a biggie, but one of those in the categorie 'once you notice, you keep noticing it' .


8
Bugs and Issues / Wine effect
« on: October 07, 2016, 11:32:46 pm »
Since 13 came out I was eager to try it under Wine. And it is impressively good. Speed, responsiveness, all much improved. Running EA seemed almost so good, I was about to remove it from the Windows machine that I normally run for mostly EA purposes. However, I noticed when importing some C# code from elsewhere, it failed, whereas windows doesn't. the source code in question resides in various sub directories of a tree I was given, and the first couple are empty. Even so, I had the recurse option set (Import source directory). The source directory was located somewhere in my home directory, let's say ~/Documents/Customer/Project/Source/*.* and below. In my Wine box, this shows as Z:\, on my VPC, the same location would be I:\Project\Source\*.* (so a little shorter).

Under wine, there's no recursion, in the VPC it does. Anyone else ran into this?

And I also noticed that EA 13 cannot pick up system DSN's, only user DSN's. Under windows it works with both. That's not a biggie, but the 'don't recurse' behaviour is a little worrying.

Rgds Chris

9
General Board / Report strategy question
« on: January 14, 2016, 06:46:26 pm »
I've been asked to create a report and I'm running into a problem. It's a simple package structure, an element, with a composite diagram and child elements. The thing is, I want to only report a particular type of those child elements.

My initial attempt was to simply create to fragments, each with the right filters and use those. But then I noticed that you can't use fragments in child elements  :(  I tried adding both fragments to the element section, which almost works, the parent element fires, then it goes through the children and only the second fragment gives output. However, when done, it does not return to the first fragment, but simply keeps running the second fragement.

I think it would work if I could add a fragement to either a child element or embedded element section, but I can't. Does anyone have a suggestion? Creating a report package won't really solve the problem, the hierarchy I am reporting on is ok, but I need to filter different elements for the elements that are a child of another element.

I've added a small screenshot from the project browser. My top level contains 2 diagrams and a couple of packages. The ones labeled Qx .... contains Archimate plateau elements, in some of the plateau's there are deliverables. I want to traverse all plateau's and within the plateau, the deliverables. One complicating factor is that these are all class elements with an Archimate stereotype.

I tried creating a filter that simply lists only the two stereotypes I want, but when I create the filter and use the 'one of' option, it does list some Archimate stereotypes, but not the ones I want. I then added the ones I wanted, but the iteration was missing quite a few items.

I could create a report package, but then the deciding unit is a package and I don't have sub packages. Perhaps sub reports would work? I haven't used them before, so not sure. Does anyone have a good suggestion?

Rgds Chris

http://www.widdows.nl/ea_report.jpg

10
General Board / Mixing versions
« on: January 07, 2016, 05:04:06 am »
I often 'roam' with my EA license, and I usually keep my version current. But often, the clients I visit tend to run old versions. Is there a list somewhere that would help me work out what happens when I point my EA at those repositories?

Right now I would like to know if 12.1 and 7.5. can work on the same repository? But in general, a compatibility matrix would be really helpful.

Rgds Chris

11
Bugs and Issues / Report Writer 11.1 not as good as 11
« on: November 02, 2014, 04:24:45 am »
I have found something like a bug with the report writer introduced in 11.1. I had a template that used a table, the elements write rows, the package wraps the table. I had used the trick of removing the newlines, so that the tables got merged together if the template was run over multiple packages. So, I created a master document, model document that references the right template and included the packages I want. It worked well. Since 11.1 it will not iterate over the packages. A single package still works fine. It took me some time to figure out that by putting a newline after the table would resolve the issue, and I settled for removing the newlines manually.

Any other change proved making no difference, from .docx to .rtf, altering the table layout, nothing. But that newline after the table made a world of difference. I'm not sure what it should be doing, but I'm very tempted to go back to 11.0, because I use that table without newline trick quite a lot and it's been working for some time, deduced from the fact that I've been using it for years.

12
Automation Interface, Add-Ins and Tools / Add-in user friendly
« on: August 11, 2015, 05:30:15 am »
After getting some fine pointers here, buying some books, I'm revisiting the 'write your own EA add-in'. It works well, except for one point.

I'm going through a package structure and it takes some time (I still have to digest the using SQL statements for increased speed.

Anyway, the speed is fine (for now), but I'd like to display some kind of progress while it is gathering the info. I've been unsuccessful in getting a window running in a seperate thread. Writing to system output works, but only when my menuhandler ends, you get to see it.

I'm hoping there's a friendly way to do this, other than moving the code into a form and doing it there. As I'm collecting data, then the users gets to twiddle with the results before deciding how to proceed, it would require quite a bit of rethinking on UI's and bar for the progress display, I'm already happy with how it works.

But the async displaying I'm trying for is elusive, so I'm sort of assuming I just need to create a UI that covers collecting, processing. I was hoping I could collect before display the UI, with just a simple progress bar.....

Suggestions?

13
I've just started writing an add-in, so perhaps I am missing something really obvious, but I seem unable to see all things selected in the project browser.

So far I've come up with three approaches, one yields all selected elements, which is handy for multiple selects, one yields the selected package (or containing package), but won't tell me all the selected packages (when you select more than one). One will let me see diagrams, attributes and methods, but again, in a multi select it won't tell me all.

And then there are some scenario's where it gets a little tougher, like when you select diagrams and elements (you can, at least my 11.1 allows this).

I was looking in the online help for something that would return a collection of sorts that contain all and I could work out (using object type seems easy enough) what's what. I see the GetTreeXML, but haven't found any docs on it. Even so, if it is what the name suggests it might not give what I want.

So how can I process multi selects on things other than elements?

Pages: [1]