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

Pages: [1] 2 3
1
General Board / Re: Selectively display package contents on diagram?
« on: March 23, 2016, 08:14:26 pm »
Thanks for the reply. I was afraid of having no different options. Per-visibility control were basically a great idea, however package elements don't have visibility attribute, you cannot set a UMLdiagram private, for example. :(

2
General Board / Selectively display package contents on diagram?
« on: March 22, 2016, 08:58:25 pm »
Hi,

I have a couple of diagrams in a top package, which contains subpackages. I'd like to display the subpackages on the top package with their partial contents: say the subpackages contain items of type P and Q. I'd like items of type P to be shown and those of type Q to be hidden.

The rationale behind is that while P items are more or less standard UML elements such as use cases or requirements, Q items are UMLDiagram items representing diagram fragments displayed under elements of subpackages. It is very confusing that the package lists these diagram elements along with normal UML elements, especially because these diagrams actually appear one level down in the hierarchy (but they cannot be moved below the package level).

3
Hi,

Thanks for posting your case, and I hope the fixes will get incorporated into a release soon. I also got a feedback from Sparx with regards to similar problems, stating fixes are to be released to this feature. I just can't wait it. :)

4
Thanks for the idea. Actually I've tried eaDocx a couple of times, and I'd be the happiest user if it would not give errors for any operations just because my language uses UTF-8 and accented characters. I think there's a great potential it, even if it is little bit expensive for our economic conditions, but it really did not work for Hungarian. :(

5
Hi,

I'm pleased to meeet the MDG Integration for Microsoft Office extension, yet it looks a bit under-documented (or the organization of the documentation is not that logical), and so I could not figure out if this extensions makes it possible for me to keep, say, an Excel file listing requirements and a corresponding model package in sync. Under sync I mean changes can be propagated to both direction: changes in the Excel file are reflected in the model, and changes in the model are reflected in the Excel file.

So far I only could perform the Excel -> model synchronization, yet it is not straightforward. I imported an Excel file, made changes to the Excel file and then performed another import, but it's not a good idea that I carefully need to specify all import options and parameters, including to manually type package name, to have my model updated. Isn't there a Sync button in Excel or EA which could perform the synchronization of the worksheet and the model?

Lack of such features would greatly decrease the value of this extension, since it potentially requires me to not work on requirements in my model until I may expect business users to made changes to the Excel file listing requirements, otherwise I risk my work to be rewritten by the Excel version, into which I can not propagate my model changes...

6
General Board / "Too few parameters" error in SQL search
« on: October 19, 2014, 04:12:16 am »
Hi,

I have created the following SQL search to get an element's details based on its name.

Code: [Select]
SELECT
      obj.Object_Type AS CLASSTYPE,
      obj.ea_guid AS CLASSGUID,
      obj.Object_ID AS OBJECTID,
      obj.Name AS [Name],      
      obj.Object_Type AS [Type],
      obj.Sterotype AS [Stereotype]
      
FROM
      t_object AS obj

WHERE
            obj.Name LIKE '%<Search Term>%'
      
ORDER BY obj.Name

Whenever I try to run the report with a name entered in the Search Term field, I got an error:

Code: [Select]
DAO.Database 3061
Too few parameters. Expected 1.

Since the parameter is set, I cannot find out what is the problem. Can anyone help?

Thanks in advance.

7
General Board / Re: Specifying collection return type for an opera
« on: September 19, 2013, 12:44:21 am »
Hi Helmut,

This is true, however it's a bit more experimental than desired; what if you are not prepared for an unforeseen scenarion in the code? But actually, the bigger issue is that I'd be particularly interested in configuring this for transforming a domain model to a C# model. To conform to RUP and other principles, in the domain model you should not concern with the data structure used to store a collection of values; it is rather okay to call it array. However the heart of implementation design and the supporting C# model transformation is to transform UML data types/syntax to C#.

To response to your suggestion more precisely: EA will define the return type as List<Foo> when reverse engineering a method with List<Foo> return type. However in case of List<Foo> return type in EA, EA will not recognize Foo is part of the semantics of the model, so if you rename your Foo type in your model, List<Foo> will remain intact as a return type (but if it were only Foo, it would be renamed to the new name). Similarly, when generating code from a type like List<Foo>, EA won't know what namespace to specify for Foo, 'cuse it will only be a char literal for EA.

So I'm afraid checking the results of reverse engineering does not answer the conceptual part of the question, and yields in a data type EA will not handle as expected.

8
General Board / Specifying collection return type for an operation
« on: September 18, 2013, 11:06:07 pm »
Anyone a tip on how to set the return type of an operation in a class to be a collection rather than array? This can be done with attribute types and operation parameter types, but method return types do not support it – or I'm missing something.

The only way I can think of is to customize MDA/code templates to add "List>" and ">" around types with multiplicity > 1, but this is not an elegant solution.

9
General Board / Re: How to Specify Generic Parameter Types?
« on: June 02, 2013, 06:11:11 pm »
Thanks :)

10
General Board / Re: How to Specify Generic Parameter Types?
« on: June 02, 2013, 06:00:52 am »
Hi Günter,

Thanks for the response. Do I understand correctly you mean there is no way for this as I wanted and I need to create a class like this

Code: [Select]
class WhatsoeverableString: Whatsoeverable<string> {}
and then set WhatsoeverableString as the type of the parameter? (It is clear that in UML notation, WhatsoeverableString will have a <<bind>> realization to Whatsoeverable<T> with T = string in this scenario.)

11
General Board / How to Specify Generic Parameter Types?
« on: June 02, 2013, 01:30:28 am »
Hi,

Say I have a generic interface interface Whatsoeverable<T> and I have a class Foo. Say, moreover, I want to define a method named DoSomething woth a parameter withThing of the Whatsoeverable<string> type, something like this:

Code: [Select]
public interface Whatsoeverable<T> { ... }

class Foo {
  public void DoSomething(Whatsoeverable<string> withThing) { ... }
  ...
}

Now the question is how can I specify the templated type for the parameter in EA? In the type selector, I can only select the interface, but there seems no way to formally define the parameter substitution T = string other than typing by hand which is not what I want, since in this case the loose reference may not be realized by EA (that is, it may not know that I'm actually using that interface).

(I know I could create an intermediary class Superfluous of the type Whatsoeverable<string>, and than use it as the type of withThing but it would unnecessarily increase the model's complexity.)

12
General Board / Moving Posts to Another Category in Team Review?
« on: May 21, 2013, 09:02:04 pm »
The subject says it all, I wonder if and how I can move posts in Team Review from one category to another.

13
General Board / Re: Displaying notes in diagrams does not work
« on: June 11, 2012, 08:26:13 pm »
This is fantastic, thanks, Graham!

14
General Board / Displaying notes in diagrams does not work
« on: June 11, 2012, 07:50:00 pm »
Hi,

Once I have seen an EA model in which the notes of activities in an activity diagrams were shown as Notes elements. I could not even directly edit these linked Notes element, but the Notes field of the related activity only.

Now I'd like to have this functionality in one of my models but I seem to be unable to succeed.

I have checked the Show Sequene Notes checkbox on diagram properties (Diagram tab) and Notes in the Elements tab, yet nothing is displayed. It was just important to make operations behind an activity visible as linked notes.

Anyone a good tip?

Gus

15
General Board / Re: Data model validation in EA?
« on: May 31, 2012, 04:00:05 pm »
Thanks for the response, Geert. I was hoping there is something to use, our main focus would be to use EA, not to improve it. :)

Pages: [1] 2 3