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

Pages: [1]
1
Suggestions and Requests / object garbage collection
« on: August 15, 2003, 08:58:08 am »
I often find that I create some objects that I subsequently delete from a diagram, either becuase I have created them on the wrong diagram, or as the wrong type.

However deleteing them from the diagram does not delete them from the database, even if there are no references to them.

I would make my life easier if there was an abilty to "display zero usage objects" for any given point in the hierarchy, and then be able to select the ones That I wish to delete. This prevents the need for me to do properties/show usage on each to find the zombie objects.

2
Suggestions and Requests / importing XSD
« on: June 09, 2003, 07:36:12 am »
Is there any way to import an XSD, if not it would be a very nice capability and would allow round tripping on XSD projects.

3
General Board / Problems with latest version under XP
« on: March 13, 2003, 08:20:17 am »
Build (605)

Im having real problems with 605 under XP, when ever a menu has a cascade element, ie it pushes a submenu out to the side, i cant move into the submenu, as soon as the mouse moves off the main menu, the submenu disapears. I dont have the same problem with any other application under XP, and I did'nt have this problem with previous versions of EA

I have turned off all the "visual" effects on XP, such as menu shadows etc, but still have the same problem.

Anybody else experiencing this problem?.

4
General Board / Problems with C++ Parser
« on: February 01, 2003, 12:18:06 pm »
I have a number of software packages that I am trying to import from source. The classes in the package have an "attribute" in the class name ie

//
// Part of object controlled by metaobject
//
class GOODS_DLL_EXPORT object_header {
 public:
  ......
};

where GOODS_DLL_EXPORT is defined as

#define GOODS_DLL_EXPORT __declspec(dllexport)

The problem is that EA is creating multiple classes of then name GOODS_DLL_EXPORT instead of the real name of the class, I bleive this is becuase it is using the first token after the "class" keyword as the class name. It should use the last token instead and assume that the previous tokens are attributes.

I have tried this in 3.51 and its still doing the same thing.


5
General Board / Heading levels in RTF documentation
« on: August 09, 2002, 02:55:56 am »
I would like to see the following changes to the RTF document generator.

1) The ability to set the "heading level" of any package... Ie EA assumes that the node that you are generating rtf for is level 1, and all subsequent nested packages increment the level, I would like to be able to set the heading level of any package. This would make it easy to generate docs that integrate into our documentation standards.

2) The ability to suppress generation of RTF output for the root node, but still have the children generated. The root node is generaly a container view and is not really part of the documentation, for example a "custom view" called "requirements" results in "requirements" being heading level 1,  and results in all the childeren having rtf generated at the next level down. This puts all the documented packages at level 2 which is problematic for us.

3) EA has two options, elements as text or elements as a specific heading level (level 9). This causes us problems with element heading numbering (we are doing requirements with EA). I would like to have an extra option where elements can take either a specific level, or just the next heading level in the heading hierarchy.


Im currently running a SED script on the rtf output to try and fix up the output to match. The automation interface is not really an option for us as it envolves developing a specialised interface to word.

6
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.

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

8
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.



9
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

10
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]