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

Pages: [1] 2
1
Suggestions and Requests / SVG Diagram Export
« on: August 11, 2005, 03:19:46 am »
I would really like if you could add SVG (Scalable Vector Graphics) to the available diagram export formats.

SVG is the most suitable format for many applications. Certainly it is the best for showing diagrams on the web (although browsers still need plugins for viewing, but Mozilla is on the way with native support). XSL-FO processors like FOP also prefer SVG.

Best regards
Mikkel

2
General Board / Reverse engineering Java collections
« on: March 26, 2010, 08:12:32 pm »
Hi everybody

I am a long time user (8+ years, I think) of EA for C++, but now I am just starting to use it with Java.


When I reverse engineer this:

Code: [Select]
public class MyFirstClass {
      protected List<MySecondClass> myListOfObjects = new ArrayList<MySecondClass>();
}

public class MySecondClass {
}

then I would expect a diagram with 2 classes with an association from MyFirstClass to MySecondClass with *-multiplicity.
However, no association is created. I have tried setting "List" as "default collection class" in Java code generation options, but apparently that makes no difference.

I hope someone has a solution to this. I have not been active on this forum for years, but back in the day Geoff Sparks and his people were always very quick with helpful replies.

Best regards,
Mikkel

3
General Board / Exporting from Visio UML to EA - how?
« on: September 22, 2005, 08:55:30 am »
We have a model in Visio Professional, that someone has spent a long time on creating. We would like to continue working on it in EA.
Unfortunately, I haven't been able to find a way to export any usable format from Visio, e.g. XMI.

From what I could read in some other threads, I think it must be possible, but I haven't been able to find out exactly how?

Thanks in advance,
Mikkel

4
General Board / How to hide object classifier name on diagram?
« on: June 22, 2005, 04:19:12 am »
Hi all

I would like to hide the classifier names of some objects on a diagram so that only the the object names are shown. I can't find any option to achieve this but I am sure it should be there somewhere. Can anyone help me?

Mikkel

5
General Board / Local options - can I export them?
« on: June 06, 2005, 04:24:51 am »
Enterprise Architect has come to have quite a few options that the user can set to fit his taste. This I think is a GOOD thing.
I have changed a lot of options to fit what I think works best, and have consequently also spent a good bit of time doing so.
Now comes the problem: I have the task of introducing EA (and OO methods) to a lot of new users in our organization. I would like them to start out with the same set of options that I have found to work well.
Is there a way to copy my options to their installation?

Best regards,
Mikkel

6
General Board / Duration constraint in seq. diagram - how?
« on: September 22, 2004, 08:04:28 am »
Hi

I want to add a duration constraint to a sequence diagram that specifies the maximum time that must pass between object1 sends a message to object2 until object2 replies with a message to object1.

The kind of duration I want to show is this


This example was taken from the UML 2.0 Superstructure spec, Chapter 14.4, Table 14, "Duration constraint".

Does anyone know how to do this in EA. Does EA even support this UML 2.0 feature?

Thanks in advance.

Mikkel

7
General Board / Difference between "Sequence" and "Object"?
« on: February 13, 2003, 04:25:51 am »
When adding objects to a sequence diagram (either by Ctrl-dragging a class or by using "Object" from the toolbox), they are added as something called "Sequences" in EA.
As far as I can tell, a Sequence is exactly the same as an Object, except that it insists on drawing its lifeline, even when inserted on other types of diagrams.
Sometimes I like to have both a sequence diagram and a collaboration diagram showing the same interaction. And I like using the same instances on both diagrams (because they are diagrams of the same instances). But I don't like the lifelines showing on my collaboration diagram. So I used Change Object Type to change each Sequence element to Object instead. It seems to work perfectly.

So what is the purpose of having something called a Sequence element in EA at all? I am sure there must be a reason!

Mikkel

8
General Board / Customizable tools, parameter variables
« on: February 04, 2003, 07:19:12 am »
The new Tools menu in 3.51 should support special variables for diagram, package and element id's. I have found:
$d - diagram ID
$p - package ID
$f - project file

But I can't find element ID. Can anyone help me out? Sparks maybe?

Mikkel

9
General Board / Automated Model Consistency Checking?
« on: January 22, 2003, 07:07:13 am »
Does anyone know of ways to do automated consistency checking in EA?

I am thinking about checks such as:
- Do all messages in a sequence diagram correspond to a relation between classes in a class diagram? Or are some objects sending messages to objects that are invisible to them?

- Do associations in collaboration diagrams correspond to class association?

In this context, my previous feature request regarding automatic conversion/updating between sequence and collaboration diagrams become relevant again. It could be implemented so that a sequence diagram always has a corresponding collaboration diagram (automatically generated). The associations in the collaboration diagram could then be checked against associations between the classifiers of the objects.

If some automated correspondance between attributes, association roles, object names, sequence names etc. was added, then it would just be amazing!

I am interested to hear of
- methods you already use to accomplish things like this
- additional ideas or objections to what I wrote
- comments from Sparx regarding their plans to incorporate things like these.

Mikkel

10
General Board / Show only Inherit relations in diagram - how?
« on: January 20, 2003, 05:18:31 am »
I would like to hide all relations except inheritance (generalizations) in a diagram. I know of the Show/hide relations feature, where I can check or uncheck each relation individually, but i find it too much of a hassle to do this every time I add another type of association in another diagram.

Is there a way to enable only generalization relations in a diagram? If not, this is a feature request!
It might be a useful feature for other types of relations also.

Mikkel

11
General Board / Modifying properties of many elements at once
« on: January 15, 2003, 06:42:24 am »
Does anyone know of a way to modify the same property in several objects at the same time?
Specifically, I am thinking about parameters such as "Phase" and "Version", but it could also be "stereotype" and many other things.
Intuitively, I hoped that I would be able to select multiple elements and then modify the values in the Properties workspace, but that doesnt seem to work.
It would be very practical to be able to do it from the search dialog also.
If there isn't any way to do it, consider this a feature request!

Mikkel

12
General Board / SVG - scalable vector graphics, please.
« on: December 17, 2002, 03:56:11 am »
This is a new feature request.
Scalable vector graphics (SVG) is a brilliant format for exporting UML diagrams. It can be scaled freely while viewing and printing, and also contains support for hyperlinking graphics elements. On top of that, it is an open standard.
I find that the exported HTML documentation from EA is excellent - just a pity that the diagrams are only bitmaps!

Mikkel

13
General Board / Importing Automation Objects/Type Libraries
« on: September 25, 2002, 08:05:21 am »
I am creating a Visual Basic application which uses the automation interface of another program. In Visual Basic I can add a reference to the type library (TLB file) that describes the automation object. Then VB will recognize the object and all of its attributes and operations.

I would like to somehow import this information into EA, so that I can model how my own objects interface to the automation object. But I can't find any way to import TLB, OCX and such files into EA.

I have used the Visual C++ Class wizard to create a wrapper class header file, which i can then import into EA, but that one is full of C++ language. And in this specific case I would prefer VB code.

Does anyone know a clever way of going about this problem?

14
General Board / Question to Sparx Systems: UML 2 plans?
« on: September 12, 2002, 01:41:50 am »
The new UML 2 standard seems to include some things that would be very useful to real-time developers like myself. What are your plans for incorporating UML 2 into Enterprise Architect?
-
Mikkel Christensen

15
General Board / C++ structs/Code engineering
« on: September 02, 2002, 04:18:43 am »
I found out by accident, that C++ structs reverse engineer to classes with stereotype <<struct>> and forward engineer back into structs. I find this to be a very nice feature.

However, when I declare a new struct or struct member inside EA, the members will be declared as structs too when forward engineering.

That is, a class TestStruct1 with stereotype <<struct>> and two attributes Var1: int and Var2:char generates this code:

struct TestStruct1
{
   struct int Var1;
   struct char Var2;
};

where I would expect:

struct TestStruct1
{
   int Var1;
   char Var2;
};

Can anyone explain this behaviour, and/or tell me how to get EA to generate structs my way?

Pages: [1] 2