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.


Messages - Geert Bellekens

Pages: 1 ... 7 8 [9] 10 11 ... 521
121
That is indeed how it seems to work.
Whether it is a bug or a "feature" I leave in the middle.

Geert

122
General Board / Re: Repository security
« on: November 25, 2017, 05:50:55 pm »
There is actually a feature that uses row level locking on SQL Server and Oracle repositories.

It comes with pro cloud server, but I'm not sure how to use it.
Maybe ask Sparx support?

Geert

123
Automation Interface, Add-Ins and Tools / Re: Linked to Element Feature
« on: November 25, 2017, 05:49:21 pm »
Hi George,

This is the code I have from in ConnectorWrapper
I don't see immediately what is wrong in your code.

Code: [Select]
    private void setLinkedFeature(UML.Classes.Kernel.Element linkedFeature, bool isSource)
    {
//check if attribute
Element actualEnd = linkedFeature as Attribute;
//or maybe operation
if (actualEnd == null) actualEnd = linkedFeature as Operation;
if (actualEnd != null)
{

//set the client id to the id of the owner
if (isSource)
{
_source = linkedFeature;
this.wrappedConnector.ClientID = ((ElementWrapper)actualEnd.owner).id;
}
else
{
_target = linkedFeature;
this.wrappedConnector.SupplierID = ((ElementWrapper)actualEnd.owner).id;
}
//set the linked feature
string key = isSource ? "LFSP" : "LFEP";
string suffix = isSource ? "R":"L";
string styleEx = KeyValuePairsHelper.setValueForKey(key,linkedFeature.uniqueID + suffix,this.wrappedConnector.StyleEx);
this.wrappedConnector.StyleEx = styleEx;
}
    }

Geert

124
I don't have anything like that.

But it seems simple enough. If you can't find anything you can always ask one of the EA consultants (like myself) on the forum to write it for you.

Geert

125
Automation Interface, Add-Ins and Tools / Re: Odd QuickLink Issue
« on: November 24, 2017, 08:14:12 pm »
In general you should always use the Association meta-type.
The Aggregation meta-type is an ancient reminiscence of UML 1.x back when Association and Aggregation were still different metatypes.
Since (at least) UML 2.0 the Aggregation meta-type has been replaced by the Association meta-type using the AggregationKind property to distinguish between Aggregation, Composition or (normal) Association.

Geert

126
Bugs and Issues / Re: Basic Import to sysML blocks
« on: November 24, 2017, 03:35:32 pm »
Chris,

You can post images by first uploading it to a public image hosting site and then using the "image" tag on this forum with the url to that image.

Are you sure you have the right metatype (Class) for the block element?

Geert

127
Bugs and Issues / Re: EA 11 and Windows 10
« on: November 24, 2017, 03:32:51 am »
:(

Thanks though for the clear response.

I will ask Microsoft to fix the problem and will let you know when they are done.
Don't you think it will be faster to upgrade EA to version 12 or 13?
Version 11 is the Millennium of EA anyway  :-X

Geert

128
Bugs and Issues / Re: Basic Import to sysML blocks
« on: November 24, 2017, 02:30:53 am »
There are two way to deal with stereotypes.

You can either use the
- regular Stereotype field: In this case EA will try to guess the stereotype you really mean. So if you use «block» then it will search the stereotypes table and the mdg to find a corresponding stereotype. So if you are lucky there is only one «block» stereotype and EA guesses it right. If not all tagged values seem to be created then you can always synchronize the stereotype (either in code or right click on the corresponding item in the toolbox

- the StereotypeEx field: This is the preferred way. This field accepts fully qualified stereotypes such as "MyProfile::MyStereotype" and you can also enter multiple stereotypes separated by a ",". This is a 100% sure way to make sure you are using the correct stereotype from the correct profile.

Geert

129
I think you should indeed send in a feature request.

Geert

130
General Board / Re: Suddenly changed BPMN diagram
« on: November 23, 2017, 08:56:21 pm »
I solved the problem just restarting EA... very strange.

That should always be your first troubleshooting step ;)

Geert

131
General Board / Re: Suddenly changed BPMN diagram
« on: November 22, 2017, 10:49:58 pm »
Have you disable the BPMN mdg?

Geert

132
Uml Process / Re: SysML: Convert SysML 1.4 block to SysML 1.3 block
« on: November 22, 2017, 10:02:51 pm »
Have you check the sparx website/user manual?
There are upgrade scripts available for Archimate and BPMN IIRC, so there might be one for SysML as well.

Geert

133
Bugs and Issues / Re: attribute order messed up
« on: November 22, 2017, 08:29:51 pm »
Confirmed by Sparx as an issue and logged to be fixed in a future release.

Geert

134
Are you sure that creates the registry entries in the user space? (so without admin rights)

I use a similar method for the installer of my add-ins, but they do require admin-rights.
The command I use is this:
"C:\Program Files (x86)\WiX Toolset v3.8\bin\heat.exe" file MyAddin.dll -ag -template fragment -out MyAddin.wxs
Not sure what those different parameters mean, but this works for me.

The advantage of setting the registry keys in the installer (rather then in code) is that these settings are also removed when un-installing. (I think, not 100% sure :-\)

I haven't found this to be a major problem though. Most organisations who don't give admin-rights to their users want to control which software gets installed and used on the computers. I can imagine that those organisations wouldn't be too with happy users installing software themselves just because they can.

Geert

135
General Board / Re: wrong style for element notes
« on: November 22, 2017, 03:42:42 pm »
Fausto,

The best way to deal with this (and one that works) is to create a stylesheet and use that.

This way you only have to define the styles once and they get used in your entire document.

The only snag I found was the "normal" style, which wasn't behaving normally (pun intended). The only workaround I found was to create my own "myNormal" style and don't use the "normal" at all.

Geert

Pages: 1 ... 7 8 [9] 10 11 ... 521