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 - Piotr Rezmer

Pages: [1]
1
Suggestions and Requests / best productivity  project wizard
« on: December 20, 2010, 08:25:13 pm »
Hello,

I think it would be good to have a wizard that would lead a user on best productivity path. Since EA is powerful and feature rich solution, it has is not easy to use its all power. Such a wizard could have following steps:
  • general project settings (name counters, people, colours)

requirements gathering
Scenario description
dynamic model
Software architecture
Code generation
[/list]

Usually when user creates project in incorrect order, it is less effective (e.g. when communication diagram is created before architecture diagram - packages and classses).

2
General Board / Re: define "import package"  for java class
« on: November 13, 2012, 06:02:34 am »
I think I found it.

When I right click on Class in Project Browser, then select Generate Code, it opens a dialog with memobox named "Import(s)/Header(s)".
Here I can specify:

import java.util.Date;

EA generates this import in the source code but it requires to change to "replace (overwrite) mode" instead of "synchronize with existing file".

I think that this field imports/headers should be located in Class properties.

3
General Board / define "import package"  for java class
« on: November 13, 2012, 03:34:35 am »
Hello,

Is there any way to store packages required by java class, so that it would generate corresponding "import java.something" entries in generated source code? I have some classes equipped with methods using arguments like java.util.Date.

kind regards
Piotr Rezmer

4
General Board / Re: UML for hardware specification
« on: March 30, 2012, 11:34:24 pm »
Quote
For hiding parent nodes: I don't understand what you mean. Can you elaborate?
I was thinking about a situation where I:
- create node
- add tags

Then I create another node and set the first one as parent to the new one. This way, new node will already have tags created in parent.  If parent is located on the same diagram as the child,it creates a mess (abstract - not physicallu existing parent and arrows between children and parent). But as I wrote in another post, this can be solved by placing parents on a separate diagram.

5
General Board / Re: UML for hardware specification
« on: March 30, 2012, 08:09:45 pm »
Quote
Did you manage to hide parent node?
I managed that by creating extra deployment diagram with inheritance relation between nodes. Parent node is related to rack equipment, child node is a server. Then I drag the child node to real deployment diagram and select "as new Instance".

6
General Board / Re: UML for hardware specification
« on: March 30, 2012, 06:04:12 pm »
Quote
I use node instances for the above plus Run State for RAM a.s.o. The node itself is the abstract form (e.g. Win Server) while the instance is a concrete device.
q.
What benefit do you get when using run state instead of tag values? Did you manage to hide parent node?

best regards
Piotr Rezmer

7
General Board / Re: UML for hardware specification
« on: March 30, 2012, 05:52:45 pm »
Quote
I use devices for end user devices like PC, laptop and execution environments for virtual machines. I use packages for sites.
Pretty sure I picked up this from a UML book like Architecture Bootcamp or something like it.
The Sparx websites have some tutuorials on using UML too
http://www.sparxsystems.com.au/downloads/whitepapers/UML_Tutorial_Part_1_Introduction.pdf
I checked this pdf. Interesting that EA says nothing about using devices in deployment diagrams.

I noticed some advantages of nodes over devices:
-stereotypes have icons in upper right corner
-device cannot inherit from other device (nodes can)

If we set parent for a node, it will inherit tag values. So this way we can save some time by declaring required tags at parent, and only filling values at children.  However I found two weak points:
1. How to hide parent template from diagram[/list]
2. How to hide arrow to the parent
3. How  to setup parent for multiple nodes at the same time. (multiselection and ctrl+I doesn't work)

best regards
Piotr Rezmer

8
General Board / Re: UML for hardware specification
« on: March 29, 2012, 08:40:54 pm »
Usually I use "node" for showing different sites. Then, inside node I show devices, with stereotype <<server>>.

9
General Board / UML for hardware specification
« on: March 29, 2012, 05:40:54 pm »
Hello,
I want to us EA to create document describing hardware specification of the servers. I did it using deployment model, components. Then I added tag values to the components:
model=
serial=
rackId=
CPU=
RAM=
HDD=

I changed to deployment diagram to show tag values.

Is it the proper way to make hardware specification?

best regards
Piotr Rezmer

10
General Board / Delphi code generation and tInterfacedObject
« on: March 19, 2010, 10:20:30 pm »
Hello,

I created a Delphi class that implements an interface. When I generate the code for it, I receive:

CFailOverManager = class (TInterfacedObject, IFailOverInterface)
  private
    ....
  protected
    function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall;
    function _AddRef: Integer; stdcall;
    function _Release: Integer; stdcall;
  public
    ...
    function send(Var event: CTIEvent; extension: string): boolean;
    destructor Destroy; override;
    constructor Create; overload;
  end;

However I don't want to  _AddRef(), _Release() methods since the class inherits from tInterfacedObject. How can I stop EA from producing such methods?

11
General Board / Word substitution export
« on: February 23, 2010, 08:48:15 pm »
Hello,
Currently EA supports only some of languages. That's why I need to use word substitution for RTF documentation. However, this setting is only stored in current project.
Is there any way to export modified word substitution and reuse it in other projects?

best regards
Piotr Rezmer

Pages: [1]