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 - Helmut Ortmann

Pages: 1 ... 7 8 [9] 10 11 ... 59
121
Uml Process / Re: Control Classes
« on: December 28, 2016, 01:59:49 am »
Hi,

in my point of view be careful with mixing different concepts.

The MVC concept is used to build graphical user interfaces. The logic how to calculate an item to visualize is usually part of the M as Model. Often this is called the business logic. Usually, the logic how to control the graphical user interface is part of the C as Controller.

There is another concept like (not GUI related):
- Entity
- Controller
- Boundary

If you search the internet, you'll find a lot of opinions, and you carefully have to look if the solution prescribed fits your problem.

Regarding password validation:
In my opinion, password validation is part of the business logic. Therefore part of the model. Repeating code, Methods is almost never a good solution.

By the way: Don't apologize, just write. Most of us aren't native English speaker. If you want to improve your English you may use tools like Grammarly.

Kind regards,

Helmut

 



122
General Board / Re: Sequence Diagram - Lifelines
« on: December 28, 2016, 01:06:27 am »
Hi,

as far as I know, there is no possibility to customize this behavior.

You can:
- Avoid entering a stereotype for the object instance/lifeline
  Then you can resize it. But you can't easily see that's a controller.
- Use a name for the lifeline (may look better)
- Use spaces in name (may look better)
- Live with it
- Feature request

Kind regards,

Helmut

123
Hi,

With SQL and also with a Model Script you can select an arbitrary information to visualize with your Template Fragment. Each column may be from a different model element or model element type. With SQL you accomplish this with e.g. "UNION".

There is also the possibility to use a Document Script to return rtf.

You find a description:
http://www.sparxsystems.com/enterprise_architect_user_guide/13.0/model_publishing/custom_query_fragments.html

Kind regards,

Helmut

124
Hi,

I agree with Geert. I would also like to participate in such a project.

The idea is great. Keep code and model in sync and everything is fine. It works fine for limited scopes like State Machines or DSLs (Domain Specific Languages).

Also be aware: Modern IDEs like Eclipse or Visual Studio are comfortable to use. They are doing a great job to implement the problem at hand.

If you model to generate code, there is the risk that your model is more to produce good code than to understand your problem at hand. Then you deal with a complicated environment and a model that is mostly made to generate code.

Well, there is a solution like MDA (Model Driven Architecture) or so. You develop an analysis model and then (generate) an implementation model. Be aware: This is also no easy job like many Powerpoints suggest.

To make it short: Think carefully about a general purpose code generating environment. In most cases, you'll need management approval to cover risks, costs, etc.

Kind regards,

Helmut

125
Uml Process / Re: Find and Replace
« on: December 23, 2016, 05:18:23 pm »
Hi,

an easy way is to:
- Export Package or Model as *.xml
- Using a text editor for search and replace (be careful not to change unwanted things)
- Import from *.xml

Kind regards,

Helmut

126
General Board / Re: Scrollbar in relationship matrix
« on: December 23, 2016, 05:13:16 pm »
Hi,

It's a bit of peculiar.

Depending on the arrangement of your workspace it works as expected or as you described it.

Please report a bug. See the button at the bottom of the page, Support, Report a bug.

In my point of view, it's important to describe the circumstances when there are no scroll bars. The workspace layout, ...

Thanks for reporting the bug!

Kind regards,

Helmut

127
Hi,

I also have the problem of not seeing the type of a port property. You may change the default to always see the type by:

With,
- Start, Preferences, Object, Port and Part type visible by default


Please, don't forget to post a bug report!

Kind regards,

Helmut

128
General Board / Re: Search for a string (grep) over all CTF base templates?
« on: December 22, 2016, 05:19:40 pm »
Hi,

EA stores the changed CTF templates in the table 't_template' of the repository. For example the *.eap file or the database you use. By the way: The *.eap file is an Access database.

With the following SQL you can search for the templates you have changed for 'Macro' in EA (#WC# expands to the DB specific wildcard):

Code: [Select]
select * from t_template
            where template like '#WC#Macro#WC#'

With other tools, you can export the whole Table to file like a *.csv. You can search on the internet for the best way to do it with your database.  Maybe Access or Excel are appropriate.

Maybe there are other ways like:
- Export as referenced Data (*.xml file)
- Make an MDG (*.xml file)


Regards,

Helmut

129
Hi Peter,

I also think the stereotype should be <<adjunct>>. Also, the association should have the stereotype <<adjunct>>.

An explanation you find:
http://model-based-systems-engineering.com/tag/sysml/
and of course in the SysML 1.4 specification.

As far as I know, EA doesn't support an activity tree. It would be nice, but I think I could do it by other means.

Currently, I don't see the need to constraint a call behavior by an <<adjunct>> composition. Maybe I have missed something.

Kind regards,

Helmut

130
Hi,

Is there a possibility to visualize for an action of type "accept event" the associated trigger, signal,...?
"Send signal" action is quite intuitive by visualizing the signal as type.

Well, I can drag the signal or trigger to the canvas and make a dependency or so.

Kind regards,

Helmut

131
Hi Simon,

Thanks a lot. There is always something to learn.

Regards,

Helmut

132
General Board / Re: Show type of call behavior action
« on: December 14, 2016, 04:24:43 pm »
perfect!

133
General Board / Re: Show type of call behavior action
« on: December 13, 2016, 09:37:29 pm »
Hi Peter,

Thanks for the link. It explains things.

At least in SysML 1.4 a CallBehavior action optionally shows the behavior name ('name:type').

Regards,

Helmut

134
General Board / Show type of call behavior action
« on: December 13, 2016, 06:22:53 pm »
Hi,

Is it possible to show in an Activity Diagram the type (the Activity called) of the Call Behavior? It should appear as usual 'name:type'. I tried a lot and found nothing.

Thanks,

Helmut

135
Hi,

the EA Example model has the media player to explain SysML concepts with EA.

The IBD shows for a property '<name> / <type>' like ' cpu / Processor - TMS320VC5507'. I would expect simple the name like 'cpu'.

If a select 'show element type' than I see the type with the well known ':' like ' cpu / Processor - TMS320VC5507:Processor - TMS320VC5507'.

How does that come and is there a possibility to switch it off.

Thanks in advance,

Helmut


Pages: 1 ... 7 8 [9] 10 11 ... 59