Home » Modeling » QVT-OML » UML Tool + QVT(An integration between UML Tool and QVT)
UML Tool + QVT [message #1691209] |
Fri, 03 April 2015 11:21 |
eunjung park Messages: 72 Registered: April 2015 |
Member |
|
|
Hi,
I'm trying to use QVT in a UML Tool, StarUML which is open source.
StarUML provides several extension mechanisms for custom profiles.
The extensions are implemented by C#, so I cannot use directly the QVT functions.
Currently, I think C# can invoke an Java application of QVT, then after the application will finish its job, C# will get control again.
By the way, to do this, I need standalone java application of QVT.
Are there some way to do this?
If yes, how to do it?
Please give me some ideas.
Thank you and regards,
Eunjung Park
|
|
|
Re: UML Tool + QVT [message #1691223 is a reply to message #1691209] |
Fri, 03 April 2015 14:50 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
HI
QVTo can be used standalone.
Good luck.
Please share your solution with the community.
Regards
Ed Willink
On 03/04/2015 14:02, eunjung park wrote:
> Hi, I'm trying to use QVT in a UML Tool, StarUML which is open source.
> StarUML provides several extension mechanisms for custom profiles.
> The extensions are implemented by C#, so I cannot use directly the QVT
> functions.
> Currently, I think C# can invoke an Java application of QVT, then
> after the application will finish its job, C# will get control again.
> By the way, to do this, I need standalone java application of QVT.
> Are there some way to do this?
> If yes, how to do it?
>
> Please give me some ideas.
>
> Thank you and regards,
> Eunjung Park
>
>
|
|
| | | |
Re: UML Tool + QVT [message #1691888 is a reply to message #1691875] |
Fri, 10 April 2015 10:14 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
You seem a little confused. MediniQVT is QVTr not QVTo.
It is probably more accurate to say that StarUML was Open Source. It's
most recent download on SourceForge is 5 years old and so predates many
recent developments, leading to your version compatibility issues.
An Open Source alternative to StarUML is of course Papyrus which is an
active part of Eclipse and so has natural and synchronized rather than
accidental integration of related Eclipse technologies such as UML2,
OCL, QVTo. Contributions to integration within Papyrus might get
incorporated in relevant Eclipse projects rather than being your
external add-on that may soon go obsolete.
Regards
Ed Willink
On 10/04/2015 10:22, eunjung park wrote:
> Hi Carlos,
>
> Thank you for your information.
> I could find a solution to link a StarUML and QVTO(mediniQVT).
> By the way, another problem arose.
> The UML and XMI version difference.
> StarUML5 supports XMI1.x, but the mediniQVT supports XMI2.x.
> Additionally, although it says that StarUML5 support UML2.0, I don't
> know if the MOF of mediniQVT which is based on EMF is compatable with
> StarUML5.
>
> Do you have any idea for these?
>
> Thank you so much.
>
> Regards,
> Eunjung Park
|
|
|
Re: UML Tool + QVT [message #1691948 is a reply to message #1691888] |
Fri, 10 April 2015 16:57 |
eunjung park Messages: 72 Registered: April 2015 |
Member |
|
|
Hi, Ed.
I'm new on QVT, so there may be something wrong.
Actually, I don't know what differences there are between QVTo and QVTr.
I think I have to study it more.
By the way, what I want to do is to exactly express notations in a required form.
StarUML supports the mechanism with the name of the notation extension, so we could relatively freely represent custom defined notations.
For example, I could set a priority value on a tagged value of a newly defined notation and show it with an exclamation mark image in the corresponding view.
On top of it, I wanted to build up mapping rules, but it is quite limited in StarUML.
Now, I'm considering migration our extended features based on StarUML to the EMF based UML Tool.
Following your mention, I searched papyrus and read some articles, but I don't know if it has features which can support notation extensions.
Do you probably know a tool that supports features which is similar to the notation extenions?
Could you let me know?
Thank you so much.
Regards,
Eunjung Park
|
|
|
Re: UML Tool + QVT [message #1691953 is a reply to message #1691948] |
Fri, 10 April 2015 18:03 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
Sorry. If you want to do advanced things you need to acquire advanced
knowledge.
I have given you my advice. Follow it or ignore it as you choose.
You might try the Papyrus newsgroup.
Regards
Ed Willink
On 10/04/2015 17:57, eunjung park wrote:
> Hi, Ed.
>
> I'm new on QVT, so there may be something wrong.
> Actually, I don't know what differences there are between QVTo and QVTr.
> I think I have to study it more.
>
> By the way, what I want to do is to exactly express notations in a
> required form.
> StarUML supports the mechanism with the name of the notation
> extension, so we could relatively freely represent custom defined
> notations.
> For example, I could set a priority value on a tagged value of a newly
> defined notation and show it with an exclamation mark image in the
> corresponding view.
> On top of it, I wanted to build up mapping rules, but it is quite
> limited in StarUML.
> Now, I'm considering migration our extended features based on StarUML
> to the EMF based UML Tool.
>
> Following your mention, I searched papyrus and read some articles, but
> I don't know if it has features which can support notation extensions.
> Do you probably know a tool that supports features which is similar to
> the notation extenions?
> Could you let me know?
>
> Thank you so much.
>
> Regards,
> Eunjung Park
>
|
|
| |
Re: UML Tool + QVT [message #1692348 is a reply to message #1691953] |
Wed, 15 April 2015 08:52 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
QVTo does not yet provide a good UML example.
Papyrus uses QVTo, so try the Papyrus newsgroup.
Regards
Ed Willink
On 10/04/2015 19:03, Ed Willink wrote:
> Hi
>
> Sorry. If you want to do advanced things you need to acquire advanced
> knowledge.
>
> I have given you my advice. Follow it or ignore it as you choose.
>
> You might try the Papyrus newsgroup.
>
> Regards
>
> Ed Willink
>
>
> On 10/04/2015 17:57, eunjung park wrote:
>> Hi, Ed.
>>
>> I'm new on QVT, so there may be something wrong.
>> Actually, I don't know what differences there are between QVTo and QVTr.
>> I think I have to study it more.
>>
>> By the way, what I want to do is to exactly express notations in a
>> required form.
>> StarUML supports the mechanism with the name of the notation
>> extension, so we could relatively freely represent custom defined
>> notations.
>> For example, I could set a priority value on a tagged value of a
>> newly defined notation and show it with an exclamation mark image in
>> the corresponding view.
>> On top of it, I wanted to build up mapping rules, but it is quite
>> limited in StarUML.
>> Now, I'm considering migration our extended features based on StarUML
>> to the EMF based UML Tool.
>>
>> Following your mention, I searched papyrus and read some articles,
>> but I don't know if it has features which can support notation
>> extensions.
>> Do you probably know a tool that supports features which is similar
>> to the notation extenions?
>> Could you let me know?
>>
>> Thank you so much.
>>
>> Regards,
>> Eunjung Park
>>
>
|
|
|
Re: UML Tool + QVT [message #1692452 is a reply to message #1692348] |
Wed, 15 April 2015 19:33 |
Carlos Gomez Messages: 63 Registered: October 2010 |
Member |
|
|
Hello Eunjung,
In Papyrus, you can define your own profile extending UML elements. Use UML or EMF that depends you want to do. If your meta-model is not too complex and using the essential concepts of UML is enough, the best option is EMF. In contrast, if you want use behavioral elements (state machines, activity diagrams, etc) or "complex" structural elements (e.g. components), a good option is UML.
If EMF is your option and you want to define a graphical representation, you could try Sirius.
It's easier to define transformations using EMF metamodels, they are less complex. In UML, you have to understand well its metamodel to define transformation rules.
A tip for accessing a UML profile element (Stereotype) Elt.getAppliedStereotypes(), and then use StereotypedElt.getValue(stereotype, propertyName).
Good luck!!!
|
|
| |
Goto Forum:
Current Time: Thu Mar 28 15:49:52 GMT 2024
Powered by FUDForum. Page generated in 0.02955 seconds
|