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 - José Farinha

Pages: [1]
1
Suggestions and Requests / Standard Copy & Paste
« on: November 28, 2017, 05:48:30 am »
Why not a universal Ctrl-C/X & Ctrl-V, as well as Copy/Cut & Paste menu options, all over the UI?
Copy/Cut whatsoever and Paste wherever possible (i.e., UML compliant)?
Why a specific Copy Diagram, for instance? Why Shift-Ctrl-C when using the browser.

When pasting onto a diagram, Ctrl-V pastes a shortcut and adding a Shift-Ctrl-V pastes a new element (as so far), no matter the original was copied from a diagram or from the browser (this is my proposal).

When pasting onto the browser, a new element would be pasted always, since pasting a shortcut there makes little sense...

Thanks in advance for your comments
José


2
Bugs and Issues / Limitations in copy and paste
« on: July 28, 2017, 03:11:25 am »
There are several limitations in copy and pasting that significantly increase the editing effort. I’m mostly thinking of activity diagrams, but it also happens in sequence diagrams.
For instance, if we have an activity inside a class, we cannot copy and paste it into that same class, using the browser. We must paste it into a package and then move it to the desired class. The same for an action (or any other element) inside an activity. It needs to be pasted to a package.

If we do the same copy-paste on a diagram, the activity (or action) is pasted into the class (activity), but not the parameters (pins) it includes. That’s to say that only a semi-paste is done. The effort to re-introduce parameters and pins is not insignificant.

Shouldn’t copy-and-paste be “universal”, i.e., everything be copy-and-pasteable, as long as the paste’s destination is UML-conformant? That would make EA a much more productive tool.

I just wanted to check the opinion of the forum and if I’m skipping anything before I submit a bug/feature request.

Thanks for your attention
José


3
General Board / Help on the Activity Templates toolbox
« on: March 04, 2017, 06:02:08 am »
Could anyone tell me how to create new activity patterns and have them available in the corresponding section of toolbox?
Maybe I’m being clumsy, but haven’t succeed at finding any documentation about that.

Thanks a lot and regards
José


4
As classifiers, interactions should be allowed to have nested classifiers.
(The same for state machines, but these are less prone to require nested classifiers.)

For instance, it is rather frequent to have an interaction decomposed into several sub interactions. As much as an activity being decomposed into sub activities. Sub interactions should be nested inside their parent interaction, for the sake of model organization. But also to achieve some modelling purposes that can’t be done otherwise. E.g., I use nested interactions stereotyped by «catch» to model exception-catching blocks. Such blocks’ scope can’t be specified otherwise, since UML doesn’t provide any other construct for that.

As classifiers, interactions (and state machines) should be allowed to have inner classifiers of all types: interactions, classes, activities, etc. Apparently, EA only allows ports inside interactions.
I guess this is a bug. At least it is a non-conformity with UML.

5
General Board / Unale to generate java code from interactions
« on: November 29, 2016, 04:10:50 am »
Has anyone tried to generate (Java) code from an interaction and been successful?

I have a class with interactions and operations that are supposed to have those interactions as their bodies – I specified it by means of the ‘Behavior’ separator. When I generate code for that class I get empty bodies for such operations, with the id of the interaction in a comment line, like this:
    //{03EC634A-D116-4828-AE60-33ED1DD07EE2}

No trace of any code corresponding to the interaction.
I also tried to remove the operation and have the interaction alone, to check it is generated as a method, as the EA manual says it would.

Thanks in advance for your attention

PS: I’ve submitted this question to the support line more than a week ago, but got no answer so far other that the automatic reply. Could anyone tell me as well if these timings are typical?


6
Suggestions and Requests / Parameter editor: Copy of parameters
« on: November 24, 2016, 04:00:23 am »
It seems it is not possible to copy/duplicate parameters of an operation, neither of a behavior.

Please, allow it:
- mainly, within the operation (behavior), just like it is possible for properties and operations.
- ideally, among different operations (behaviors) as well.



7
Suggestions and Requests / Copy, Cut and Paste of features
« on: November 24, 2016, 12:51:39 am »
EA is not allowing to cut and paste properties nor operations from one class into another. Nor copy and paste (although this is not very object-oriented, sometimes I find it useful to define similar features).

Suggestion: Allow copy, cut and paste of features. A ‘move’ functionality by dragging from one class into another would certainly be welcome as well.

8
Suggestions and Requests / Paste of behaviors into classifiers
« on: November 24, 2016, 12:42:41 am »
Currently, EA doesn’t allow to copy a behavior (e.g., an interaction) owned by a class and paste it as another behavior in the same or another class. We can only paste it into a package and then move it to the class we want to.

Suggestion: Allow any kind of classifier be pasted as an inner element of another classifier, since it is allowed by UML.

9
Copy and pasting when using the project browser is not very practical: we have to open the context menu and follow copy/paste -> Copy to clipboard -> Full structure for duplication.

Sugestion: Allow Ctrl-C and Ctrl-V directly on any item.

Pages: [1]