Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Extend MDT UML2 Tools
Extend MDT UML2 Tools [message #515694] Fri, 19 February 2010 14:36 Go to next message
Asma is currently offline Asma
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 #517514 is a reply to message #515694] Sun, 28 February 2010 17:14 Go to previous messageGo to next message
Jack Liao is currently offline Jack Liao
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 #517537 is a reply to message #517514] Mon, 01 March 2010 04:01 Go to previous messageGo to next message
Asma is currently offline Asma
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. Smile
Re: Extend MDT UML2 Tools [message #517843 is a reply to message #517537] Tue, 02 March 2010 00:18 Go to previous messageGo to next message
Jack Liao is currently offline Jack Liao
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 #517989 is a reply to message #517843] Tue, 02 March 2010 11:42 Go to previous messageGo to next message
Asma is currently offline Asma
Messages: 41
Registered: February 2010
Member
Thank u very much Very Happy Surprised
Re: Extend MDT UML2 Tools [message #524748 is a reply to message #517989] Fri, 02 April 2010 04:55 Go to previous message
Manel Manssri is currently offline Manel Manssri
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:UML State Machine
Next Topic:Extend MDT UML2 Tools
Goto Forum:
  


Current Time: Thu Aug 28 19:27:27 EDT 2014

Powered by FUDForum. Page generated in 0.01797 seconds