Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Extend MDT UML2 Tools
Extend MDT UML2 Tools [message #625498] Fri, 19 February 2010 19:36 Go to next message
Asma is currently offline AsmaFriend
Messages: 41
Registered: February 2010
Member
Hi,
I want to know if there is any possibility to extend MDT UML2 Tools without accessing the code source (may be to extend the Ecore of this tool and then generate the other
diagrams)
Thank u in advance.
Re: Extend MDT UML2 Tools [message #625509 is a reply to message #625498] Mon, 01 March 2010 03:00 Go to previous messageGo to next message
Jack Liao is currently offline Jack LiaoFriend
Messages: 18
Registered: July 2009
Junior Member
Yes, you can extend the model files in "org.eclipse.uml2.uml" to extend the
UML model at first. As I know, UML profile could be used to implement that,
but I don't know so much about the details. I directly change the
"UML.merged.uml" and use it to regenerate the "UML.genmodel". Then the UML
model is my own model.

Then you can define your GMF config files, just like the *.gmfgraph,
*.gmfmap, etc., so you can get the specific gmfgen file for your diagram.

I've realized a "robustness diagram" in this way.


<asma_jamoussi@yahoo.fr> 写入消息 news:hlmp7f$852$1@build.eclipse.org...
> Hi,
> I want to know if there is any possibility to extend MDT UML2 Tools
> without accessing the code source (may be to extend the Ecore of this
> tool and then generate the other diagrams) Thank u in advance.
Re: Extend MDT UML2 Tools [message #625510 is a reply to message #625509] Mon, 01 March 2010 09:01 Go to previous messageGo to next message
Asma is currently offline AsmaFriend
Messages: 41
Registered: February 2010
Member
Thank u for replying my message.
But just another question if u don't mind. Is there any possibility to find the .gmfgraph file of this MDT UML2 Tools because they give just the .Ecore and the .genmodel files.
I'm thankful to u in advance. :)
Re: Extend MDT UML2 Tools [message #625513 is a reply to message #625510] Tue, 02 March 2010 09:54 Go to previous messageGo to next message
Jack Liao is currently offline Jack LiaoFriend
Messages: 18
Registered: July 2009
Junior Member
You are welcome:)

You could check out the plugin "org.eclipse.uml2.diagram.def" from CVS.

Then you can get the .gmfgraph, .gmftool files you are looking for.

<asma_jamoussi@yahoo.fr> 写入消息 news:hmfvpj$vr$1@build.eclipse.org...
> Thank u for replying my message.
> But just another question if u don't mind. Is there any possibility to
> find the .gmfgraph file of this MDT UML2 Tools because they give just the
> .Ecore and the .genmodel files.
> I'm thankful to u in advance. :)
Re: Extend MDT UML2 Tools [message #625514 is a reply to message #625513] Tue, 02 March 2010 16:42 Go to previous messageGo to next message
Asma is currently offline AsmaFriend
Messages: 41
Registered: February 2010
Member
Thank u very much :d :o
Re: Extend MDT UML2 Tools [message #625594 is a reply to message #625514] Fri, 02 April 2010 08:55 Go to previous message
Manel Manssri is currently offline Manel ManssriFriend
Messages: 6
Registered: April 2010
Junior Member
Hello,

I have the same task : extending MDT UML2Tool without modifying source code but I don't Know how to begin and how to do exactly I'm thinking about creating a plugin which wil interact with U2T and which will create extra bottons to the editor palette these bottins are refering to my spesific stereyotypes.

Have you any ideas ?

Thank you
Previous Topic:Extend MDT UML2 Tools
Next Topic:Initiating Sequence Diagram from .uml file
Goto Forum:
  


Current Time: Sat Dec 20 20:24:30 GMT 2014

Powered by FUDForum. Page generated in 0.01684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software