Recent Posts

Pages: [1] 2 3 ... 10
1
Archi Development / Re: Color Views in Archi
« Last post by tgfranck on July 26, 2017, 16:16:30 PM »
Hi Phil,

Yes it does work with a simpler shape, such as a rounded rectangle. At least in that case, using the client area as the bounds for my overlay gets me the result I want. When I use owner.getBounds() instead, my overlay is not drawn on the view at all. I think this is because the getBounds() area is too big for any child object of owner.

Before you ask why I do not just use the setBackgroundColor() method, there are two reasons:

1. We do not want to persist the color changes
2. We want to do more complex things with colors. Primarily, we want to be able to add more than one color to a shape. I have this working (rougly) for rounded rectangles. See the attached screenshot for an example. There are still some problems with it due to the current implementation (most notably the color differences due to overlap of transparent areas). I would like to use polygon shapes for this as well, when I can get the scaling issue resolved.

2
Archi Development / Re: Color Views in Archi
« Last post by Phil Beauvoir on July 26, 2017, 11:13:36 AM »
Hard to say. Does it work with a simple shape? Is it the way the arrow is being drawn?

Also, I'm not sure of this:

Code: [Select]
Rectangle clientArea = owner.getClientArea();
container.setBounds(clientArea.getCopy());

should it be getBounds() ?
3
Archi Development / Re: Color Views in Archi
« Last post by tgfranck on July 26, 2017, 08:32:45 AM »
Hi everyone,

Just wanted to let you know that I am still doing some work on the plugin. However, I'm currently struggling with an annoying issue. I wrote a post about it on the Eclipse forum here: https://www.eclipse.org/forums/index.php/t/1087739/

If you have any suggestions, please let me know!

Best regards,
Thijs
4
Archi Development / Re: Folder for a model elemnt
« Last post by Phil Beauvoir on July 25, 2017, 18:31:17 PM »
Code: [Select]
IArchimateModel model;
EObject object;

IFolder folder = model.getDefaultFolderForObject(object);
5
Archi Development / Folder for a model elemnt
« Last post by ChampagnePerry on July 25, 2017, 18:22:28 PM »
Hi Just a quick question.
Does anyone know how archi knows which folder an element belongs in?
I know how it works in the toolbox but I don't know what makes it appear in the business or application folder.
I know it's probably obvious so I thought I'd ask rather than search for it. ???
6
General Archi Discussion / Re: Archi 4.0.3 Beta 1 - faster load times!
« Last post by Hervé on July 25, 2017, 13:03:52 PM »
Hi Phil,

Going from more than 25 minutes to 30 seconds is very impressive indeed. From my point of view, improving more is not really necessary  ;D

Best regards
Hervé
7
General Archi Discussion / Re: Archi 4.0.3 Beta 1 - faster load times!
« Last post by Phil Beauvoir on July 25, 2017, 12:53:39 PM »
Thanks Hervé,

that's quite a large model, so I don't think I can improve the load time on that one.

Phil
8
General Archi Discussion / Re: Archi 4.0.3 Beta 1 - faster load times!
« Last post by Hervé on July 25, 2017, 12:39:59 PM »
Hi Phil,

Just to give you more precise time on my side:
     load duration : 30 seconds
     model size : 16.5 MB
     # elements : 9.375
     # relationships : 11.509
     # views : 266
     # images : 25

Best regards
Hervé
9
General Archi Discussion / Re: NewLine enforcement
« Last post by Andrzej Strug on July 24, 2017, 12:00:07 PM »
Thanks a lot.
Nonetheless, I will vote for line-breaks in the names during future discussions :-)
Andrzej
10
General Archi Discussion / Re: NewLine enforcement
« Last post by Phil Beauvoir on July 24, 2017, 11:34:31 AM »
If you mean the name of a concept, then no. We did discuss this once:

https://github.com/archimatetool/archi/issues/77

so it needs to be re-visited.
Pages: [1] 2 3 ... 10