Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsusing uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/476281/#msg_476281
I'd like to use some of the UML figures (like class or package figures) in
my GMF editor. Could you direct me to some howtos about this subject?
The thing I figured out is that I should use a Custom Figure and point it
to one of uml2 classes. However I still haven't found out where they are
located.
Any help appreciated.
Best regards
Marcin]]>Marcin Cylke2009-01-08T20:54:33-00:00Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/476282/#msg_476282
the GMF sources of the UML2Tools project include the complete .gmfgraph
models, you can get them from CVS:
:pserver:anonymous@dev.eclipse.org:/cvsroot/modeling
just checkout the following project:
org.eclipse.mdt/org.eclipse.uml2tools/plugins/org.eclipse.um l2.diagram.def
HTH,
Marco
Marcin Cylke schrieb:
> Hello
> I'd like to use some of the UML figures (like class or package figures)
> in my GMF editor. Could you direct me to some howtos about this subject?
>
> The thing I figured out is that I should use a Custom Figure and point
> it to one of uml2 classes. However I still haven't found out where they
> are located.
>
> Any help appreciated.
>
> Best regards
> Marcin
>]]>Marco Mosconi2009-01-13T11:05:10-00:00Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/623484/#msg_623484
the GMF sources of the UML2Tools project include the complete .gmfgraph
models, you can get them from CVS:
:pserver:anonymous@dev.eclipse.org:/cvsroot/modeling
just checkout the following project:
org.eclipse.mdt/org.eclipse.uml2tools/plugins/org.eclipse.um l2.diagram.def
HTH,
Marco
Marcin Cylke schrieb:
> Hello
> I'd like to use some of the UML figures (like class or package figures)
> in my GMF editor. Could you direct me to some howtos about this subject?
>
> The thing I figured out is that I should use a Custom Figure and point
> it to one of uml2 classes. However I still haven't found out where they
> are located.
>
> Any help appreciated.
>
> Best regards
> Marcin
>]]>Marco Mosconi2009-01-13T11:05:10-00:00Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/476283/#msg_476283
Hello
> the GMF sources of the UML2Tools project include the complete .gmfgraph
> models, you can get them from CVS:
> :pserver:anonymous@dev.eclipse.org:/cvsroot/modeling
> just checkout the following project:
> org.eclipse.mdt/org.eclipse.uml2tools/plugins/org.eclipse.um l2.diagram.def
Do You suggest to copy those figures into my gmfgraph files? I wouldn't
like to do this. Can I reference any of those figures from my file?
In the sources you've pointed I haven't been able to find a referencing
gmfgraph files. I was searching for something like inclusion of
classDiagram_packages.gmfgraph into usecaseDiagram.gmfgraph and use of one
of classDiagram_packages figures in usecaseDiagram.gmfgraph. Where can it
be found?
Bye
Marcin]]>Marcin Cylke2009-01-13T13:50:38-00:00Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/623485/#msg_623485
Hello
> the GMF sources of the UML2Tools project include the complete .gmfgraph
> models, you can get them from CVS:
> :pserver:anonymous@dev.eclipse.org:/cvsroot/modeling
> just checkout the following project:
> org.eclipse.mdt/org.eclipse.uml2tools/plugins/org.eclipse.um l2.diagram.def
Do You suggest to copy those figures into my gmfgraph files? I wouldn't
like to do this. Can I reference any of those figures from my file?
In the sources you've pointed I haven't been able to find a referencing
gmfgraph files. I was searching for something like inclusion of
classDiagram_packages.gmfgraph into usecaseDiagram.gmfgraph and use of one
of classDiagram_packages figures in usecaseDiagram.gmfgraph. Where can it
be found?
Bye
Marcin]]>Marcin Cylke2009-01-13T13:50:38-00:00[SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/476284/#msg_476284
I've just found the solution to this. My mistake was passing paths without
'platform' prefix to "load resource" dialog. I need to pass something like:
bye
Marcin]]>Marcin Cylke2009-01-13T14:13:48-00:00[SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/623486/#msg_623486
I've just found the solution to this. My mistake was passing paths without
'platform' prefix to "load resource" dialog. I need to pass something like:
bye
Marcin]]>Marcin Cylke2009-01-13T14:13:48-00:00Re: [SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/673776/#msg_673776
I did as you and added the gmfgraph from "classDiagram_packages.gmfgraph" through the "load resource" in the gmfmap so that I can use it in the mapping and linked my node to use the package figure from the UML2 plugin, which is now accesible from my mapping model. I have added almost a dozen of plugins following dependencies from the CVS, but it seems that I will need to download the whole CVS section dedicated to modelling so that I can build without errors. Obviously the diagram when is launched does not work propperly and the package node fails.
I have also the problem of the doSwith method witch is not accesible: "The method doSwitch(EObject) from the type UMLSwitch<Object> is not visible".
Maybe I am missing some basic concept in order to reuse these figures from UML2 plugin and I imagine there should be other way easier for including existing figures from other gmfgraph, isn't it?
Maybe someone has the link to the discussion it is refered in the wiki as GMFGraph_Hints#I_need_a_figure_that_is_similar_to_UML_package (I can not put links as this is my first message) or any other howto on this issue.
Sorry if this is too basic but I am starting and tried looking for it before asking (I already looked for this issue in the forum and I found this thread).
Any help would be appreciated.]]>Juan Manuel2011-05-24T17:40:28-00:00Re: [SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/677094/#msg_677094
I will try to reuse the gmfgraph figure descriptos from the CVS and that's all. Using them directly through "load source" seems to be a waste of time from Helios.
]]>Juan Manuel2011-06-07T14:55:41-00:00Re: [SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/677120/#msg_677120
Originally posted by: Ralf Zozmann
Am 07.06.2011 16:55, schrieb Juan Manuel:
> At the end I discarded this option, as UML2Tools are not supported in
> Helios. ...
Regards
Ralf]]>2011-06-07T15:39:59-00:00Re: [SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/683897/#msg_683897
What I was trying was to reuse the figure descriptor for package class from UML2Tools in my own GMF editor. I tried using "load resource" as pointed here but the dependencies that Eclipse requested are never acomplished, at least using Helios as far as I have been able to follow.
I guess it is related with the lack of support for UML2Tools in Helios but I am just guessing.
About the link you posted, how can I follow it? As a URL it seems to be broken or at least it doesn't work.]]>Juan Manuel2011-06-14T16:00:50-00:00Re: [SOLVED] Re: using uml figures in GMF editor
https://www.eclipse.org/forums/index.php/mv/msg/151384/685474/#msg_685474
Originally posted by: Ralf Zozmann
Am 14.06.2011 18:00, schrieb Juan Manuel:
> Hi,
>
> [...]
> I guess it is related with the lack of support for UML2Tools in Helios
> but I am just guessing.
>
> About the link you posted, how can I follow it? As a URL it seems to be
> broken or at least it doesn't work.
Hi Juan,
on my computer clicking the link (in my previous post) open Firefox and
shows me the thread...
There is described how you can install UML2Tools in helios from the
actual update site (interim site). You need the latest uml2tools version
(0.10.0) from the update site http://download.eclipse.org/modeling/mdt/uml2tools/updates/interim/ and
to fulfill the dependencies also a new GMF 1.5 version (is for Eclipse
3.7 :-( but works in 3.6) from update site http://download.eclipse.org/modeling/gmp/updates/milestones/