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

Pages: 1 [2]
16
General Board / Re: Copying Deployment diagrams
« on: August 09, 2002, 04:59:52 am »
geoff, could you add an Auto button to the Object properties pannel, to insert the auto value at the cursor position in the short description. If the short description is not in focus, then insert it at the front.


17
General Board / Re: Copying Deployment diagrams
« on: August 07, 2002, 03:36:34 pm »
Geoff thanks for the reply.

A couple of nice to haves

1. Converting an autoroute connector to custom, it would be nice if the line points where retained from the autoroute, often I autoroute a connector and its not quite right, trying to move it in autoroute mode is a pain (it tends to whip around), converting to custom i then have to then manualy insert the line points. Often the autoroute is almost right, it just needs a little nudge to tidy it up. It would really speed up diagram production for me.

2. When you right click on a package and say "new element" it would be nice if you could prefill the name field with any autocounter for the given element type.

18
General Board / Copying Deployment diagrams
« on: July 31, 2002, 03:12:50 am »
I have spotted a small problem with coping a deployment diagram. It may exist in other diagrams too.

If I have any "object flow" connectors that have "custom" routing enabled, and I have broken the lines by setting "line points" in the connectors, then during the copy the connector loses any "line points" that have been set, although it retains its status as a custom connector.

Its only a minor issue, but it results in a copy that needs to be edited again to make it look like the original.

19
General Board / Re: Page numbers in RTF document
« on: August 09, 2002, 04:24:41 am »
Forget that geoff, I just discovered what I was doing wrong

20
General Board / Re: Page numbers in RTF document
« on: August 09, 2002, 03:03:11 am »
geoff, I could not make this work with Word XP, if you link an rtf file to a word document, the word styles are not used even if the names match. The only way we could get the document to pick up the EA styles and allow them to be reformated was to insert the rtf into the doc file.

21
General Board / saving to a "network place" under XP
« on: July 07, 2002, 02:38:21 pm »
This is an annoyance rather than a bug.

HTML generation does not seem to want to save to a network place, I generaly have a network place pointing at the directory on my external web server where I want the html to go. This "network place" is an ftp share to the root of my documentation webserver.

EA does not seem to like using "network places" to save files to.

I have to generate to a local directory on my workstation and the drag and drop the generated files to the network place.

22
General Board / Another nice to have
« on: July 07, 2002, 03:42:42 pm »
"space evenly" layout tool on diagrams,

select multiple objects and then select a "space evenly horizontaly" option which moves all the objects so the centers are spaced evenly between

( x(leftmost) + w(leftmost)/2) and (x(rightmost) - w(rightmost)/2)

same for verticle, but use y and height instead...

It is probaly better to determine the amount of remaining space between each object and then move the objects until all the space is the same, so it would work even if all the objects are not quite the same width/height.



23
General Board / Re: Another potential request...
« on: July 07, 2002, 02:44:03 pm »

Quote
Thanks for the reply.  Since the packages can be exported into XMI and stored in source-control, probably just need to a diff between the two versions, and some XSLT to clean it up.

Hmmmm.....


Geoff, what about a utility that logs the difference between two projects, ie save a copy of the eap file, then modify it, and then have a utility that reads both .eap files and outputs a description of the differences between the two., ie list of changed objects.

24
General Board / Re: Another potential request...
« on: July 04, 2002, 06:57:11 am »
I use EA with CVS, I dont have to export the model, just doubleclick on the .eap in the sandbox and it opens, CVS knows its dirty, when I have finished a set of edits then I commit them to the CVS repository.

25
General Board / Comments in C++ generation
« on: July 07, 2002, 12:33:51 pm »
Would it be possable to generate the "Notes" text in the C++ classes as comments next to each attribute ie

    string    myattribute    // This is the note for my attribute

26
General Board / Re: Suggestion: Command to implement interface
« on: July 04, 2002, 07:05:41 am »
Geoff

Would it also be possible to implement a "default" interface specification for all new classes, we have a set of coding standards that require certain elements to exist in all classes (constructor, virtual destructor, copy constructor, comparison operators, assignment operators etc).

That would be good for enforcing these standards for us.

27
General Board / Re: C++ code generation
« on: June 26, 2002, 02:27:38 am »
If you want to add checking code then thats no problem,

but it should generate the access code.

It just takes all the grunt work out of building interfaces.

I am however concerned that the initialisers are not being used to initialise the variables.  


28
General Board / C++ code generation
« on: June 25, 2002, 03:04:40 am »
EA does not seem to ge generating C++ code the way I would have expected it to.

I have created a simple class with an initialised string, and asked to produce Get/Set members

The code generated is :

///////////////////////////////////////////////////////////
//
//  TestClass.cpp
//  Implementation of the Class TestClass
//  Generated by Enterprise Architect
//  Created on:      25-Jun-2002 10:49:14
//  Original author:
//  
///////////////////////////////////////////////////////////
//  Modification history:
//  
//
///////////////////////////////////////////////////////////

#include "TestClass.h"

TestClass::TestClass(){

}


TestClass::~TestClass(){

}


string TestClass::GetTestString(){

}


void TestClass::SetTestString(string newVal){

}


///////////////////////////////////////////////////////////
//
//  TestClass.h
//  Implementation of the Class TestClass
//  Generated by Enterprise Architect
//  Created on:      25-Jun-2002 10:49:14
//  Original author:
//  
///////////////////////////////////////////////////////////
//  Modification history:
//  
//
///////////////////////////////////////////////////////////


#if !defined(TestClass_F978D2C3_53D3_4392_926F_F001AAF35019__INCLUDED_)
#define TestClass_F978D2C3_53D3_4392_926F_F001AAF35019__INCLUDED_



class TestClass
{

public:
     TestClass();
     virtual ~TestClass();

public:
     string TestString;
     string GetTestString();
     void SetTestString(string newVal);
};

#endif // !defined(TestClass_F978D2C3_53D3_4392_926F_F001AAF35019__INCLUDED_)

However I would have expected it to generate: ========

///////////////////////////////////////////////////////////
//
//  TestClass.cpp
//  Implementation of the Class TestClass
//  Generated by Enterprise Architect
//  Created on:      25-Jun-2002 10:49:14
//  Original author:
//  
///////////////////////////////////////////////////////////
//  Modification history:
//  
//
///////////////////////////////////////////////////////////

#include "TestClass.h"

TestClass::TestClass(){
        TestString = "Initialiser";
}


TestClass::~TestClass(){

}


string TestClass::GetTestString(){
        return TestString;
}


void TestClass::SetTestString(string newVal){
        TestString = newVal;
}


Ie the GetSet members dont actualy Get or Set the property they are refering to and the constructor does not initialise variables if there is an initialiser specified.

It would also be nice to be able to specify a set of standard methods for each class, ie always generate a copy constructor, an assignment operator and a set of comparison operators


Pages: 1 [2]