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

Pages: 1 ... 27 28 [29] 30 31 ... 42
421
General Board / Re: Interfaces and Ports in SysML
« on: April 25, 2012, 10:08:59 pm »
I seem to have found a possible solution to this but it would require a change in EA :

- instead of modelling my exposed interfaces on a port via the Embedded Elements menu (Add Required/Provided interface), I create a realization or use association from my port to each interface
- to show the provided/required interfaces on each port on my BDD & IBD, I would need EA to provide the same Embed. Elements options that are shown for a UML component on a UML Port i.e. Embedded Elements : Show Realized Interfaces & Show Provided Interfaces
>> this way all interfaces operations will be available directly from a block that's been instanciated on a sequence diagram !

I successfuly tested it on both a BDD and IBD

what do you think? I'm planning to send it as a feature request

422
General Board / Interfaces and Ports in SysML
« on: April 20, 2012, 05:10:24 pm »
Hi,

I set up in my BDD my main block with a number of ports and provided/required interfaces selected from a separate model that contains all interfaces.

This follows well SysML specs, but I face an issue as far as the tool is concerned when using sequence diagrams.
If I create an instance of the block on a sequence diagram, operations aren't available since they're defined in the interface provided by port.
I displayed the embedded elements (Port + Interface) but
1. it doesn't render things properly (3 lifelines under the block!)
2. I'd rather have all operations available directly from my block

I therefore have to manually realise each interface from my block which isn't ideal.
Has anyone experienced this and could suggest an alternative?

Thanks

423
General Board / Re: copy/paste a sequence diagram
« on: April 24, 2012, 11:08:02 pm »
Right click on the diagram in the project explorer > Copy Diagram, followed by a Paste Diagram indeed sorted the issue.

thanks Geert
Guillaume

424
General Board / copy/paste a sequence diagram
« on: April 20, 2012, 05:04:14 pm »
Hi

I'm creating a number of scenarios for a use case through sequence diagrams (main path, alternatives...)
It would save me a lot of time if I could duplicate sequence diagrams but this is not well handled in EA.
I tested a copy/paste of a package that contained my SD + instances but messages were lost in the copy.

Obviously copy everything from the seq diagram and paste into a new diagram doesn't work

Is there a way round?

425
General Board / Re: SysML part stereotype and multiplicity
« on: April 18, 2012, 08:42:00 pm »
It used to work in EA8 (I'm using the Ultimate edition so I have SysML) but I can no longer get the multiplicity to be displayed on the idb in v9.3  :-[

Could this be a bug .??

426
General Board / Re: Security questions.
« on: April 18, 2012, 06:35:32 pm »
I'm also wondering about the best approach to achieve the following :
- share an EA project using VC (e.g. SVN) so it can be accessed by several people
- define various user groups (in EA security or SVN) to define at the package granularity the access rights (forbidden access, read-only, read/write)

I was thinking about using SVN and set different access rights per directory, each within I'll store the whole bunch of XMI for all packages > I have an issue with the EAP if it's shared in the SVN root since I'd like to prevent access to some the models

A good solution doesn't seem straightforward..

Guillaume

427
General Board / Re: DDL : define attribute types mapping rules
« on: April 05, 2012, 02:17:00 am »
Thanks Geert - I'll update this thread if I make some progress.

428
General Board / Re: DDL : define attribute types mapping rules
« on: April 04, 2012, 04:43:06 pm »
Hi Geert,

Thanks for the info. I have to create a new template in the Transformation Templates (probably in the Attribute type).

I had a look at the DDL template and it contains the following script :
Column
{
  %TRANSFORM_CURRENT("type", "stereotype", "collection", "constant", "containment", "ordered", "static", "volatile")%
  type=%qt%%CONVERT_TYPE(genOptDefaultDatabase,attType)%%qt%
}

I'm not sure about the next step to achieve this : do I need to write my mapping rules there ? (e.g. map string to nvarchar(255), etc.) ?
I had a look at the Help section but it's not straightforward. A quick tutorial would be helpful


 

429
General Board / DDL : define attribute types mapping rules
« on: April 03, 2012, 04:56:40 pm »
Hi,

I have a UML class diagram that I use to generate my DDL (e.g. in MySQL). I'd like to define custom rules to map class attribute types (including custom ones) to data types in MySQL

e.g. map String to nvarchar(255), map int to INTEGER, map largeint to BIGINT, etc.
This way I can reduce the amount of amendments on my DDL diagram once it's been generated from the class diagram.

thanks
Guillaume

430
General Board / Re: Glossary under version control
« on: March 13, 2012, 10:43:48 pm »
Hi Quido,

This is a major issue with EA i.e. reference data including images, glossary, RTF templates, etc cannot be maintained in SVN
The only option for you is to run the export reference data to an XML file that you can add to SVN (you may select all or the project glossary only)

Hopefully one day Sparx will VC separately each reference data.

Guillaume

431
General Board / Create a model pattern
« on: March 15, 2012, 08:53:32 pm »
Hi,

I'd like to list in my EA a model pattern that matches an EAP project I created to be used as a template.
I know I could use the copy base project, but how can I get it listed in the Model Patterns set up by Sparx?

I tried creating an MDG but it doesn't seem to include the project structure

Thanks,
Guillaume

432
General Board / EA 9.3 : GOF Patterns gone
« on: March 15, 2012, 07:02:33 pm »
Hi

GOF patterns are no longer available under the resources tab in EA 9.3.
This appears to be a bug. In the meantime do we just need to run an XMI export from a former version of EA?

thanks

433
General Board / Re: Check in bug in 9.2 when cancelling the commen
« on: March 13, 2012, 03:07:14 am »
This has been sorted out in version 9.3  :)

Thanks Sparx !

434
General Board / Check in bug in 9.2 when cancelling the comments
« on: February 22, 2012, 09:18:28 pm »
Hi,
I've experienced a bug with EA 9.2.921 which doesn't exist in v7.5 when sharing an EA model through an SVn respository.

Procedure to follow :
- run a check out on a controlled package
- run a check in on this package and once EA prompt the comment dialog window (info to be written in the SVN logs), click on cancel

The lock on the XMI file remains in SVN but EA no longer lets your run any check in (even though the package doesn't have any key/lock shown in the package explorer).
you have to cancel the lock on the SVN repository to run a check in again.

I haven't got this issue with EA 7.5 so it appears to be a bug.

435
General Board / Re: Image Library & Version Control?
« on: February 25, 2012, 12:36:30 am »
Until (or if) Sparx sorts this issue (which is a real pain I think), a solution may involve writing a plug-in that would provide following commands to the user:
- synchronise the reference data with SVN (or any other VC)
- commit the reference data file on SVN (or any other VC)
- choose to sync everytime the project is opened (unless

When you start a project, running a sync will :
- run an svn update on the XMI reference data file holding everything (templates, images...)
- import this reference data file in the current EAP file

When commiting, the plug in will export the reference data from the eap to the XMI and commit this new file on SVN

what do you think?

Pages: 1 ... 27 28 [29] 30 31 ... 42