Deprecated documentation about component diagram? - uml-designer

Martin Corino asks:
I've just installed Obeo UML Designer 7 and was looking at the Component diagram documentation where I found mention of "Required Service" and "Provided Service" tools. However, I cannot find these tools on the Component diagram tool palette. Is the documentation out of sync or am I missing something?

The documentation is out of date. I create an issue to remind to update this section: https://github.com/ObeoNetwork/UML-Designer/issues/884
To create required/provided service, you need to create or add an existing interface to the diagram and then use the usage/interface realization relationship to link the interface to the component.

Related

Sparx Enterprise Architetc Pattern Integration with a Custom Toolbox

I have a problem in adding a pattern in Sparx Enterprise Architect.
I created a diagram and then saved as a pattern as is shown in the following figure.
In addition, I designed my own custom toolbox using MDG technology, and I want to integrate that diagram with my toolbox to be something similar to the following figure
I just need to integrate that pattern (XML file) with my custom toolbox in MDG technology.
Pretty much straight forward. Once you create your MDG
check the Patterns box. Now the next after the profiles will ask for your patterns:
Locate your pattern files (best they were saved in a separate directory) and include your pattern(s).
Your MDG should now include the added pattern(s).
To refer the pattern in a toolbox you need to add <profileID>::<patternName>(UMLPattern) manually where appropriate.

How to Create a Hierarchy of Elements Generated Automatically in Sparx Enterprise Architect

I am using Sparx Enterprise Architect for the modeling process.
I created a custom requirements toolbox which is called security requirements based on a list of security standards using MDG technology.
I would like to create a hierarchy of requirements once the user drag-and-drop the main element into the workspace all sub-elements (requirements) are displayed automatically.
How I can create or design something similar to this process.
Thanks,
You need to define a _subtypeProperty in your metatype like described in EA's documentation
As always with EA you need some try-and-error to get it working. You might compare with BPMN2 Activity which offers such a menu:
The according MDG is located under EA's program folder in the MDGTechnologies. Just find the string _subtypeProperty and following taskType.

Liferay: Can we create deployable site template?

I'm quite new in liferay and this must have been a very basic question.
Can we make site templates deployable as standalone component like themes? If yes how can we do this? Any help or content explains how to do this will be great.
Thanks
You can export and import site templates - they'll not be deployed like themes, but you can carry them from one portal to another. Check the cogs-icon in the top-right of the Site Template configuration screen in Control-Panel and you'll find the Export/Import Actions. The individual SiteTemplate's Action button also has an Export option available.
Another option is to get familiar with Liferay's API (learn ServiceBuilder for understanding the concepts) and examine the sourcecode. A good starting point is the ancient 7cogs sample code (not all will compile as-is, this article is for an older version, but the principles will help you to understand). Also note that the article links a second follow-up article. Everything in Liferay is done through the API and you can literally automate everything - you'll "just" have to find the proper API and use it.
Site templates can be deployed in a plugin via the use of Liferay's Resources Importer.
See: https://dev.liferay.com/develop/learning-paths/themes/-/knowledge_base/6-2/importing-resources-for-your-theme for more information.
You can probably find some some examples here: https://www.liferay.com/marketplace/-/mp/category/15828894

Visio Professional 2013 doesn't support UML deployment diagram. How to work with Visio 2013 to make one?

I'm using Visio 2013 to make UML deployment diagram. Unfortunately it doesn't support - it doesn't have any default template etc. Since last 10 hours and more I've been searching for some right tool that helps me make such diagrams. I didn't find any helpful tool yet. Please guide me.
If you want to create a deployment diagram that is similar to the ones you could make in earlier versions of Visio, I'd recommend going to this site and downloading their UML stencils for 2013.
You could also look at branching out a bit and using something like Archimate. You can look at section 9.4.14 in this document to see an example of a deployment/implementation viewpoint with Archimate. Orbus has a free download of the Archimate 2.0 stencils here. I think you have to go through a free registration, but they won't spam you.

Well-Formedness check in Enterprise Architect on UML profile

I have created my own UML profil with new stereotyps in Enterprise Architect and made up some basic rules how these new stereotypes have to be connected. Now I'd like to have something like a Well-Formedness check on the models which I create.
I found that there is a Model Validation with some basic UML Well-Formedness checks, but I didn't find out how I can create my own rules, which should be checked.
To create your own model validation rules, you have to write an Add-In.
Check the help file under Automation - Add-In Model - Broadcast Events - Model Validation Broadcasts. There's an example in there.
If you've never written an Add-In, check out Geert Bellekens' blog (not me) for a good quick-start introduction.

Resources