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

Pages: [1] 2
1
Suggestions and Requests / Re: Hide operations selectively
« on: July 26, 2004, 06:04:27 am »
It seems as if no one is interested in this feature  :(
However I found first screenshots of a new modelling tool integrated in MS Visual Studio 2005 where each method/property/attribute can be hidden by clicking a checkbox. Take a look at figure 8: http://msdn.microsoft.com/msdnmag/issues/04/07/whitehorse/default.aspx

Doesn't look that bad...
Stefan.

2
Suggestions and Requests / Hide operations selectively
« on: July 07, 2004, 07:14:26 am »
There are some posts in the General Board but I didn't find this as a request in this list yet:

One should be able to hide an attribute or operation independent of its visibility level (private, protected, etc.). This might be realized via a new checkbox on the operation-property panel. This would greatly enhance usability especially when dealing with very huge classes where only a certain aspect should be shown in a class diagram. In this case all "unimportant" methods can be hidden without deleting them completely from the model.

3
Suggestions and Requests / Re: more nitpicks...
« on: July 28, 2004, 12:03:27 am »
... or press [Ctrl] + [Del] instead! Unfortunately one cannot select multiple elements in project view and delete them at once :( This would be a nice feature, too.

Regards,
Stefan.

4
General Board / Reverse Engineering & Code Templates
« on: July 21, 2004, 01:13:54 am »
Hi,
can anyone tell me if EA uses Code Tempates for Reverse Engineering as well as for code generation? If not, is there any possiblity to find out or even manipulate the way, how the EA-parser and scanner work when Reverse Engineering code ???

Thanks in advance,
Stefan.

5
General Board / Re: Synchronize Model from changed source director
« on: March 14, 2006, 02:08:48 am »
Hi Simons,
this worked perfectly - thanks very much.
Stefan.

6
General Board / Synchronize Model from changed source directory
« on: March 13, 2006, 01:14:15 am »
Hi,
I'd like to synchronize a class diagram from Delphi source files, where the directory which contains these files has changed. Is there an option to set a new file location?

Another question: Where is the corresponding source file for a class stored? I had a look at properties/files but file path is empty there :(

Regards,
Stefan.

7
General Board / cd: in/out for parameters
« on: March 04, 2005, 01:12:44 am »
Hi,
how can I make the prefixes in/out/inout for operation's parameter visible in a class diagram. I know that UML-Standard allows this but I could not find it on any settings page.

Thanks a lot,
Stefan.

8
General Board / Re: Synchronizing Comments from Code
« on: July 19, 2004, 11:42:08 pm »
Hi Simon,
thanks for your response. I'm afraid, your solution does not satisfy our needs, because we have plenty of documented source code and want to generate diagrams from that (and generate a RTF-documentation in a 2nd step).

Can you imagine of another template which parses the comments correctly (generating code isn't that important for the moment)? How does the parser work - does it only accept '{' or '}' as delimiters between "fields" or can one define other symbols?

A perfect solution would be if one defined the keyword "Description:" as a beginning tag so that the parser know where to start copying text for the class notes. Is that possible?

Thanks again,
Regards,
Stefan Röck.

9
General Board / Synchronizing Comments from Code
« on: July 19, 2004, 06:32:30 am »
Hi,

I've problems while reverse engineering a Delphi-class from a source-code file. It seems, as if recognition of the class-descriptions doesn't work properly as always the complete header instead of the pure text is added to the notes-field of my class if I start reverse engineering.

This is how my template (class notes) looks like:
Code: [Select]
{ ============================================================================
 Classname:      %className%
 Author:         %classAuthor%
 Date:           %eaDateTime%
 Description:    
%WRAP_COMMENT(classNotes, "60", "", "                  ")%
}


This even happens, if a generate code for a class and use the same class for reverse-enginieering. The notes-field then contains the following:
Code: [Select]
============================================================================ Classname:      ClassWithProps Author:         Stefan Röck Date:           19-Jul-2004 15:18:12 Description:   This is a comment.


Any suggestion?
Regards,
Stefan Röck.

10
General Board / Generating Code to existing file
« on: June 24, 2004, 06:47:10 am »
If I generate a class more than once to the same Delphi-code file, strange things happen:
Each method declaration is preceeded by a notes-header which normally only appears in the implementation section.
Secondly, the notes-header for my class is duplicated each time I re-generated the class. It seems as if the recognition-algorithm doesn't work correct... Maybe this is because I have manually edited headers? They look like this:

Code: [Select]
// =============================================================================
// Method:         %className%.%opName%
// Author:         %classAuthor%
// Date:           %eaDateTime%
// Description:    
%DELPHI_COMMENT(genOptWrapComment)%
// =============================================================================\n


Any idea?

Btw, is it possible to insert a blank beween the "//" and the comment text for the comments which are written by the macro DELPHI_COMMENT?
Regards,
Stefan.

11
General Board / Re: Override highlighting
« on: June 03, 2004, 02:37:18 am »
I don't think that the UML-spec mentions how this should be visualized. However, its a good idea to see at a first glance, which operations are overriden an which are introduced new.  What do you think of using a bold font for overriden ops? Another option could be a small icon which indicates that fact. Maybe this is a nice feature for a next version ???

Stefan.

12
General Board / Re: Code Generation: override and virtual
« on: June 02, 2004, 01:02:06 am »
Hi Simon,

thanks very much for your help!
Quote
I can modify the operations dialogue so that it doesn't automatically check abstract when you select pure when using Delphi.  Only, is this what you actually need?

Yes. Usability would also be greatly enhanced when the pure-buttons' caption is renamed to 'virtual' when Delphi is chosen as language.

Concerning the generation of keywords like virtual, override, etc. I would propose following: One should have the possiblilty to view and edit these properties for each operation within the edit-mask. This is essential because in most cases you override a virtual method (for example), but sometimes you may want to hide it only! The advanced-button when using C# is a possibility. Maybe a language-specific edit-mask performs even better, as you will always have keywords which exist in one language but not in another. However, this probably causes a bigger effort to implement  :-/

Additionally, the checkboxes should be autochecked: Whenever a method is declared as virtual, all inherited methods should be marked as override.

In my opinion, following keywords are necessary:
virtual
override
overload (whenever a method is overloaded)
reintroduce (whenever a method explicitly hides a virtual method from a parent class instead of overriding it)

I hope this haven't been to many wishes at once :-)
Regards,
Stefan.

13
General Board / Code Generation: override and virtual
« on: May 28, 2004, 04:42:26 am »
There are some problems when generating source code from class diagrams in Delphi. Following scenario:

class A has virtual method doSth()
class B inherits from A and overrides doSth()

The generated code should look like this:
Code: [Select]

type
 A = class
 public:
   procedure doSth; virtual;
 end;
 
 B = class (A)
 public
    procedure doSth;override;
 end;


First of all, it is not possible to set the operation-property 'pure' without enabling 'abstract'. ('pure' leads to 'virtual'-keyword on code but an 'abstract'-keyword is not wanted here)

Secondly, the keyword 'override' is never generated although it must not be omitted do have the desired functionality.

I wonder if the template-script-language is powerful enough to write a 'override'-keyword when necessary? If not, this might become an important feature for a future version...

Regards,
Stefan.

14
General Board / Re: constructors in delphi
« on: May 28, 2004, 04:54:51 am »
Hello Simon,

unfortunately there seems to be a bug in your first solution: when exchanging the lines as you proposed, no code for Delphi-'function's is generated.

In fact, each operation becomes a 'procedure', no matter what return-type has been declared. Any suggestion???

Thanks in advance,
Stefan.

15
General Board / Re: constructors in delphi
« on: May 26, 2004, 12:12:17 am »
Hi Simon,
thanks for your reply. It works and you are right when you suppose that 'overload' has to succeed both constructor declarations.

Can you please post which lines have to be changed?

There's another small bug for default-values in parameters. I tried hard and finally managed to find the incorrect lines: In Parameters section

Code: [Select]
%if paramDefault != "" and paramDefault != "<none>"%
" = " value


becomes

Code: [Select]
%if paramDefault != "" and paramDefault != "<none>"%
= %paramDefault%


It works for me in one case, but I'm not sure, if its a 'global solution' for alle parameter types... I have my doubts because the parameter-section looks different in other languages like C++, etc.

Maybe you can verify this?
Stefan.

Pages: [1] 2