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

Pages: [1] 2 3 ... 5
1
This just came up again - I almost entered the same question as seven years ago, but decided to search first.

In this case, I wanted to include .xml and .config files as artifacts. The problem is that many such files exist in obj and  bin folders. I don't want those!

2
Suggestions and Requests / Set Directories to Ignore on Code Import
« on: June 04, 2007, 02:34:55 pm »
I searched on "ignore import" and "ignore directory", and didn't see this suggestion anywhere.

I just got through importing the source tree for my project. As the project includes several .xml and .xsd files, I have the settings set to import those as well.

Unfortunately, there are some of those in bin and obj directories, and many .xml files in directories that are the results of running unit tests. I am now engaged in deleting these from my EA project!

I wish there were some way of signalling to EA not to import certain files and/or directories. At the very least, something like CVS's .cvsignore file would be ok.

3
1) I dragged from the project view
2) I used left-control-drag
3) I dragged onto an activity diagram
4) The "as invocation ..." option appears on the dialog box which appears as soon as I drop the activity.
5) EA 6.1.788.

To reproduce this, I just created a new project with only the "Dynamic View". I created an activity diagram in the view. I added an activity. I added an embedded activity parameter to the activity.

I then created another activity diagram. I control-dragged the activity onto the diagram. The dialog displayed, and I chose "as invocation". The correct action appeared, but had no input pin corresponding to the activity parameter I had added.

John

4
Suggestions and Requests / Control-Drag an Activity Should Create Pins
« on: March 22, 2006, 04:23:36 am »
When I control-drag an Activity onto the diagram and select "as invocation of Activity (Action)", the CallBehaviorAction is created, but without input or output pins corresponding to the Activity Parameters. One must add these manually.

It would be nice if pins were created, and with the proper type.

John


5
Any information on which VS2005 SKUs EA 6.0 will work with? I have to make a decision in the next day or so on which to purchase, and want to make sure that what I buy will run well with EA 6.0.

John

6
Thanks. This looks like a good start. I'll have some comments for you on the Yahoo forum.

7
Well, it looks like it's been a few months since anyone asked this question, and at any rate, the answers aren't all in one place, nor are the links up to date. So:

How should I import parts of the .NET Framework into my model so that I may use .NET Framework types as the types of attributes, parameters, return values, etc.? It would also be nice to be able to derive from a .NET Framework class and/or to implment a .NET Framework interface.

Several earlier responses refer to tools which appear no longer to be at their original locations, or to all.xml from Microsoft, which is out of date and incomplete.

I'm surprised to find that Sparx Systems hasn't come up with a solution to this problem. I wonder if there's a solution to the equivalent problem for Java?


8
General Board / Any Way to Show C# Partial Class Parts as One?
« on: April 14, 2010, 02:50:44 am »
This is in C#.

I have a class model where many of the classes are related by the fact that they realize a common set of interfaces. The interfaces are part of a generalization hierarchy themselves.

In some cases, the realization is specified in a second partial class. When laid out, the various parts of the class may be in totally different areas of the diagram, completely obscuring the relationships between them.

Is there a way to keep the parts near each other, or to show them as a single class?

9
General Board / Re: Generics
« on: April 17, 2008, 05:38:07 am »
What did your parameterized class generate to? Not a generic interface, right?

10
General Board / Re: Generics
« on: April 16, 2008, 11:55:02 pm »
Seeing activity on this thread made me try again. It's still not supported properly.

Depending on how long C# 3.0 support will take, Sparx may wish to consider fixing this problem before finishing C# 3.0 support. As much as generic interfaces are required in order to support LINQ, generic interfaces have existed in C# since Visual Studio 2005. Generic collection interfaces are used fairly heavily. IList<T> would be nice to have.

11
General Board / Re: Generics
« on: February 18, 2007, 04:15:38 pm »
I just tried some things, and I can't even find a way to create a generic interface. The interface element doesn't have the detail tab which includes the "Templates" section.

I also tried using a class with a <<interface>> stereotype, but that is generated as a class, not as an interface.

John

12
General Board / Praise: ZOOM
« on: March 28, 2008, 07:23:41 am »
I was just editing the note on a use case element using the notes window, and found the text too small to read. Without thinking, I CTRL-rolled the mouse wheel.

[size=14]ZOOM![/size]

I don't know when this was added, but I have to say that it's a pleasure to find pieces of the UI doing what's expected, instead of being, shall we say, unique.

13
General Board / Re: Add in to reverse engineer web applications
« on: November 06, 2006, 03:12:32 pm »
I'd be interested in an ASP.NET version when you get there. I might be able to help out a bit with the code.

There's plenty of room for add-ins in the web area. I'm also interested in doing things like reverse-engineering JavaScript and even in fancy things like modeling the runtime environment of client-side code (i.e., DOM objects, windows, etc) and perhaps showing realization links from these to the corresponding UI elements (<div>, <iframe>).

Out of scope for your add-in, but this seemed like a good place to mention it.

John

14
General Board / Re: Show/copy relationships
« on: April 19, 2007, 06:39:24 am »
At the very least, there should be a way to create links based on the associations, so I don't wind up creating the wrong kind. Perhaps a dialog showing me a list of associations from the classifier of the selected element, and allowing me to check whether to create links. It might also allow me to specify, for an association with a target multiplicity > 1, to create "n" objects and links to them.

Obviously, I haven't thought this through in detail. A moment's reflection suggests EA would want to do something about constraints, ordering, etc. But in the meantime, I'd at least have some correspondence between the links and associations.

And perhaps even a <<trace>> relationship from the association to the link(s)?

John

15
General Board / Re: Show/copy relationships
« on: April 18, 2007, 08:56:55 am »
Quote
As the objects are instanciated, they already inherit the relations from the underlying classes. So what would be the point in copying them?


I just created an object diagram. I dragged into it class ClassA that has an association to ClassB, which I also dragged into the diagram. I chose the "instance" option in the dialog that comes up when you drop.

Although the two classes are joined by an association, the two objects are not joined by a link. I even tried Insert Related Elements on both objects, and there was no effect.

Is this the behavior you would expect? I would have expected links to be created for all such objects, or at least to be easily creatable.

John

P.S. The duplicate posts by the other poster may have been caused by the server error I just saw in posting this. I tried again, and found I had two copies of the post. I was told to inform [email protected].

Pages: [1] 2 3 ... 5