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 - Jeff Odell

Pages: [1] 2
1
Suggestions and Requests / Feature Request: View Multiple Diagrams
« on: February 10, 2005, 08:31:57 am »
I'd like to be able to view two diagrams at once and drag and drop between them.

2
Suggestions and Requests / Feature Request: Expand Diagram to Full Screen
« on: February 10, 2005, 08:30:36 am »
I'd like a hot key driven to Expand the diagram pane to take up the full screen and have that same hot key toggle it back to it's rightful size.

3
General Board / Reporting a single tag value
« on: November 27, 2014, 09:56:52 am »
You can report the set of tags associated with an element in the report templating engine using:

tagged value >
{FeatTagVal.Name} = {FeatTagVal.Value}
<tagged value

Is there a way to print an individual tag value rather than the entire list?

4
General Board / Reverse Engineering of C# Auto-Properties
« on: May 07, 2012, 11:53:56 pm »
I am working with Sparx tech support to try and get C# Auto-Implemented Properties to reverse engineer into associations when the return value is a class or collection of a class.  

Current, reverse engineering creates an operation (from a UML perspective) which is fine, and marks is with a stereotype of <property>.  What it does not do is create the association to the other class.  I've seen this question in the forum a couple times with no responses from either Sparx of the community.

From my email with support:


Since C# 3.0 (August 2007) the C# language has supported Auto-Implemented Properties.  

http://msdn.microsoft.com/en-us/library/bb384054.aspx

These properties that do not need a backing field defined for brevity in the language.  They are in widespread use - most code quality tools will flag your code if you have code where the property only gets and sets the field:

No:

        private List<Class6> _class6ListProp;

        public List<Class6> Class6ListProp
        {
            get { return _class6ListProp; }
            set { _class6ListProp = value; }
        }

Yes:

        public List<Class6> Class6ListProp { get; set; }

Properties that return another class, or collection of another class, need to reverse engineer a association for C#.  Without this reverse engineering, the reverse engineering of properties is not usable with C# without a lot of manual work.


In the mean time - has anyone come up with a workaround or solution that doesn't involve updating all the models manually?

TIA - Jeff Odell

5
General Board / Bug:Maintenance Editor Reported/Resolved By Fields
« on: January 05, 2007, 04:37:50 am »
I reported the following as a bug to EA.  I'm wondering if anyone else is using this feature and found a workaround:

On any of the Maintenance Panes (Element Defects, Element Changes, Element Issues, Element Tasks), if you hit the new button, the Reported By and Resolved By fields are defaulted to the first name in the list.  Furthermore, they cannot be cleared, so you are forced to have a Resolved By name in the field before anything has been resolved.  This makes the fields unusable.

Would like:

1) The Reported By field to default to the current user, not the first user on the list;

2) The Resolved By field should default to blank; and

3) Both fields to be clear-able by the user.


Anyone have any ideas in the mean time?

TIA - jlo

6
General Board / UML With Style
« on: June 29, 2006, 07:09:57 pm »
I'm looking for advise from the EA community on how to put our best foot forward using EA diagrams in presentations.

I've had the good fortune to be able to coordinate a large project with EA - including extensive use of Use Case, Data, Class, Component, Deployment Models, etc. with a group of 12-15.  If has been a great experience.

I've got several architecture and design presentations to do over the next couple months.  The work we've done in EA will be utilized to present the project to a lot of people inside and outside our company.

I'm in the .Net world, and frankly I would like to make sure my company makes further use of EA.  The "first impression" they will get from these presentations will go a long way.

So... while I know the real value is in the content of the models, I'm looking for a way to really make the diagrams "pop".  In these days of gradient fills and high resolution monitors, the stock UML diagrams from EA are looking a little pedestrian.

I've fooled with the styles without coming up with anything too good looking.  Also, the formatting is difficult to apply and disjointed across different features: the Style toolbar, the Adjust Appearance and Set Font menus, etc.  The Select Alternate Image feature doesn't work as it obscures the Attribute and Operation information.

So - how do we get some sizzle in the diagrams to go with the juicy steak that is EA?  Ideas?

TIA -

Jeff Odell

7
General Board / Best Way to Edit Templates
« on: March 21, 2006, 06:42:35 am »
I've spent a frustrating amount of time trying to update the Use Case Scenario template.  The idiosyncrasies of the internal editor drove me to try using Word or WordPad by using the Export/Import function.  I've had limited success.

A couple questions for discussion:

  • How do you approach editing the template?  Do you use an external editor or just the internal one?
  • How do you position fields a a specific place in the document.  I understand moving the fields up and down on the left panel.  But often the markers are placed adjacent to the next set of markers no matter where I put the cursor.
  • What is the significance of the SSBookmark style?  Can I use some knowledge of this in editing externally?

Any other tricks or tips to working with the templates are appreciated.

8
General Board / Reusing GUI elements
« on: January 09, 2006, 06:35:47 am »
I am using EA to do screen layouts.  I want to represent that I have a user interface control that appears more than once on a particular screen.  It also appears on more than one screen.

I created a GUI Element to represent the control in a project that will contain common GUI Elements.

When I want to reuse the element on a diagram, I have two choices:

1) A Simple Link - Doesn't work as I need to put more than one on the diagram.  Also, there are Tagged Values that are specific to each use.

2) Instance.  Works, but doesn't display as a GUI Element in the diagram.  It just displays with the normal instance box.

Ideally, I believe I would like the Instance to display as the GUI Element does.

Is there any other workaround I'm missing?

jlo

9
General Board / C# or Java -> PIM Transformation
« on: July 08, 2005, 07:31:56 am »
I'm working on a project that:

1) Is currently written in Java.
2) Must be converted to C# (don't ask  ::))
3) Data must be moved from XML file to Oracle.

In the original Java source are business objects that define the basic business entities.  I can reverse engineer these into EA and obtain a basic class model with the classes set to Java source.

What I really want to do is get to MDA style programming where I use a PIM to generate the C# classes and the Oracle data model.

So...

1) Has anyone done a transform from Java back to a PIM?  Alternatively, since I can convert the Java to C# easily, does anyone have a transform from C# to PIM?   I know this seems backwards but I'm guessing my situation isn't that unusual.

2) Does anyone have comments on the PIM->C# transformation?  How is it working for you?

3) Does anyone have comments on the PIM->Oracle transformation?  

TIA -

jlo


10
General Board / Controlling DDL Generation for Oracle
« on: February 18, 2005, 10:32:24 am »
I'm using the Oracle settings to generate DDL for an Oracle Lite database.  The types are compatible so it largely works.  However, there is a problem when generating the SEQUENCE DDL corresponding to marking a column Autonumber.

When you set the Autonumber property for a column, the CREATE SEQUENCE generated command is:

CREATE SEQUENCE APPLICATION_GROUP_ID_SEQ
increment by 1
start with 1
NOMAXVALUE
minvalue 1
nocycle
nocache
noorder;

Oracle Lite doesn't like the nocycle, nocache or the noorder keywords.  Otherwise, it works fine.  I can post process but was wondering if there was any way to suppress these, or control the DDL generation in general.

TIA -

Jeff Odell

11
General Board / Oracle Lite Database
« on: February 16, 2005, 11:33:43 am »
Has anyone implemented the types for Oracle Lite 10g?  I need to do some data modeling for that platform.  If not, I'll tackle it myself and learn a few things.

Thanks in advance -

Jeff odell

12
General Board / Duplicating a Sequence Diagram
« on: January 17, 2005, 06:02:51 am »
I found several messages that seem to indicate that the "Copy Diagram to Clipboard" function should work with Sequence Diagrams.  However, when I copy them I only get the Sequences and the Combined Fragment objects, but not the messages.

I'm creating sequence diagrams for several variation of a single use case and would like to use this feature rather than starting all the messages from scratch.

I'm on the latest build - 4.5.744.

Does anyone have any suggestions?

TIA -

Jeff Odell

13
General Board / Generating Association Attribute in C#
« on: January 08, 2005, 09:31:14 am »
I have my preference, in the Options Dialog, Generation, Attribute/Operations section, for "Default name for associated attrib:" to

_$LinkClass

This will generate an attribute named (for example when linked to the Employee class):

_Employee

I'd like it to generate

_employee

Does anyone know what the tag is? (I tried $linkClass).

Thanks -

jlo

14
General Board / Fork/Join Name Disappears
« on: January 06, 2005, 05:12:20 am »
I m using the Fork/Join construct to identify concurrency in my Activity Diagrams.

By default these objects do not have a name.  In order to tell them apart, I used the Property pane to assign a name in the Name field.

As soon I redisplay the Fork/Join in the diagram, the name appears briefly next to the Fork/Join in the diagram then disappears.  Subsequently the Name property is gone from the Property editor.

Can we have:

1) The ability for the Name property to be persistent; and
2) the option for the name to appear or not in the diagram?

Thanks -

Jeff Odell

15
General Board / C# Code Generation Questions
« on: December 04, 2004, 09:09:04 am »
I'm just starting to review the Code Generation template definition language.  If anyone out there has some input on whether any of the following are possible and what the approach should be, you would save me some hunting:

1) I'd like to generate regions around each of the C# constructs.  For example, around the field definitions I'd like:

Code: [Select]
#region fields

private string field1;
private string field2;

#endregion

Is this possible with the code templates?

2) I'd like the default C# bracket layout from VisualStudio, in other words:

Code: [Select]
public Employee()
{
}

Thanks in advance -

Jeff Odell

Pages: [1] 2