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 - Yves C

Pages: 1 [2] 3
16
General Board / Re: How do I?  Refactor into packages easily?
« on: December 18, 2008, 07:45:06 pm »
I remember that in Rose there is a nice way to do this. You can "relocate" classes from a diagram in its containing package. This kind of feature would be nice to add to ea. An idea for a new addin.

17
General Board / Re: Adding existing association classes to a diaga
« on: December 18, 2008, 07:20:25 pm »
So probably there's no way to do this. In fact when you create an association class you've got nothing in the class links. That's certainly the reason why you can't get it with the add/related elements command.
But it's very annoying. Association classes are also not transformed by the transformation process. It probably means that we should avoid their use with EA.

18
General Board / Adding existing association classes to a diagarm
« on: December 16, 2008, 01:38:16 am »
Using the command add/related elements in order to populate a class diagram with existing model classes, it seems impossible to view the associations classes automatically.
You have to ask for a "show association class" command in each association context menu. It means that you need to know that such an association class exists,  while generally you use this feature to discover such things.
Maybe someone knows a way to do this ?

19
General Board / Re: RTF template - Adding Data to Header/Footer
« on: December 10, 2008, 09:51:23 pm »
The only way to do it I've found is to define a RTF template outside EA with header, footer, styles, ... and to import it in your RTF template at the beginning. Use File/import to do this.

20
General Board / Refactoring capabilities
« on: August 22, 2008, 06:49:59 pm »
I'm looking for refactoring possibilities like for instance Extract Interface :
You want to extract an interface from a class choosing the operations you want to extract.
Some other nice refactoring would be : Exract Superclass, Extract Clas ...
Do you know if there exist an addin for this ?



21
Bugs and Issues / Problem controling packages with Subversion 1.7
« on: December 17, 2011, 09:54:13 pm »
I've recently upgraded to Subversion 1.7 and I've discovered that it generates a problem to control a package but not for check-in or check-out.
I get an error message saying that there is no answer and asking if I want to try again. If I click 'Yes' I obtain the same message again and again. If I click 'No' the package control succeeds.
I use the server Collabnet Subversion 2.1.1 and the client CollabNetSubversion-client-1.7.2.

22
Bugs and Issues / Bug with Oracle repository
« on: January 05, 2009, 08:29:49 pm »
We use an oracle repository with EA. Until now we haven't had any problem, but we now have a bug for only one class. When we update it we get the following message :

Microsoft Cursor Engine [-2147217887]
An operation in several steps has generated errors. Check each state value.

We plan to delete the class and create a new one, but it's connected to many objects and appears in many diagrams. We also fear that this can occur again.
Have you got any idea ?

23
You can use copy/paste diagram to do this :
1. Create a diagram containing all the elemenst you want to clone
2. Select the package and launch paste diagram
3. Select the option "Deep" or "Smart" depending on your intention.
4. That's it.

Beware : the objects are cloned. It means that all their properties including their relationships are cloned.

24
Currently in EA when you drag a requirement onto a use case in a diagram, a realisation between the use case and the requirement is automatically created.
I would like to to the same with my own stereotypes.

I think there are 2 ways to do it :
1. In a MDG : I'm looking for a way to specify this kind of behaviour in a stereotype definition but I've found nothing.
2. With an add-in : I'm looking for an event raised when you drag an object on another one in a diagram. I've found OnPreNewDiagramObject or OnPostNewDiagramObject but none tells if the view has been dragged on another object view.

Any ideas ?

25
Automation Interface, Add-Ins and Tools / Elemnt creation with autoname
« on: November 15, 2010, 10:19:10 pm »
I'm trying to add elements in a model using the autonum capability but the only method I've found to create an element is Collection.AddNew which takes only two parameters : a Name and a Type.
I've not found any method to get/increase the autoname counter for a given type.
Is there a possibility to manage those counters via the API ?

26
Yes, that's the right way to sort the attributes.

Thanks

27
Hello,

I'm creating class attributes using a C# addin.  I want them ordered by creation date but they are always ordered by alphabetical order. It seems that addNew creates only elements ordered that way.
The code is like the following (extract) :

for (...){
  ...              
  att= (EA.Attribute)myClass.Attributes.AddNew(attName, attType);
  att.Update();
  myClass.Attributes.Refresh();
  ...
}

Is there any option or parameter to change that  behavior ? By the way it's not the "Sort Features Alphabetically" option.
Does it depend on the database ?
Any idea ?

28
I have found a way to do this. After creating the objects and applying the profile you must synchronize the profile from the ressource view. It then creates the tagged values automatically.
However I would prefer that the tagged values be created as soon as you apply a stereotype. Any idea ?

29
Automation Interface, Add-Ins and Tools / Problem of tagged values creation
« on: December 09, 2008, 12:22:02 am »
I've created a profile containing some stereotype definitions. When I create an object with a given stereotype using drag and drop from the profile toolbox, the tagged values are created correctly for the object.

When I first create the object and then apply the stereotype in a second time, the tagged values are not created at all. Have you encountered the same problem ? Do you know a way to fix it ?

30
Yes it works fine. Thanks.

Pages: 1 [2] 3