Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Building two editors in one ?
Building two editors in one ? [message #168927] Mon, 21 January 2008 12:07 Go to next message
Eclipse UserFriend
Originally posted by: milan.milanovic.org

Hi,

I'm planning to build two separate editors which are conected, is it
possible to do with GMF ? These editors should be connected in the
following way, e.g., I want to have UML Class editor and also UML Sequence
editor, but I want to import UML Class editor elements into the UML
Sequence editor (through some drag-and-drop or similar suitable function).

Thanks in advance.

_____________________________
Best regards, Milan Milanovic
Re: Building two editors in one ? [message #168963 is a reply to message #168927] Mon, 21 January 2008 14:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Milan Milanovic wrote:
> Hi,
>
> I'm planning to build two separate editors which are conected, is it
> possible to do with GMF ? These editors should be connected in the
> following way, e.g., I want to have UML Class editor and also UML
> Sequence editor, but I want to import UML Class editor elements into the
> UML Sequence editor (through some drag-and-drop or similar suitable
> function).
>

There have been many discussions on this (you can search this list).

Option 1: Shared editing domain (live update)
Option 2: Diagram partitioning (super and subdiagrams)
Option 3: Use built-in "Load Resource" fnctionality


HTH,

Tomas Zijdemans
Re: Building two editors in one ? [message #169046 is a reply to message #168963] Mon, 21 January 2008 16:06 Go to previous messageGo to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
O.K.

Thanks. Is there any tutorial or docs on these three options, or I need to
learn those from this list archive ?

--
Regards, Milan Milanovic

Tomas Zijdemans wrote:

> Milan Milanovic wrote:
>> Hi,
>>
>> I'm planning to build two separate editors which are conected, is it
>> possible to do with GMF ? These editors should be connected in the
>> following way, e.g., I want to have UML Class editor and also UML
>> Sequence editor, but I want to import UML Class editor elements into the
>> UML Sequence editor (through some drag-and-drop or similar suitable
>> function).
>>

> There have been many discussions on this (you can search this list).

> Option 1: Shared editing domain (live update)
> Option 2: Diagram partitioning (super and subdiagrams)
> Option 3: Use built-in "Load Resource" fnctionality


> HTH,

> Tomas Zijdemans
O
Re: Building two editors in one ? [message #169160 is a reply to message #169046] Mon, 21 January 2008 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Milan Milanovic wrote:
> O.K.
>
> Thanks. Is there any tutorial or docs on these three options, or I need
> to learn those from this list archive ?

Diagram Partitioning: http://wiki.eclipse.org/Diagram_Partitioning,
there is also a cheatsheet available (you'll find it somewhere on this
list). Loading Resources is built in, so there's not much to say about
it. Shared Editing Domains is described here:
http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams

HTH,

Tomas Zijdemans

>
> --
> Regards, Milan Milanovic
>
> Tomas Zijdemans wrote:
>
>> Milan Milanovic wrote:
>>> Hi,
>>>
>>> I'm planning to build two separate editors which are conected, is it
>>> possible to do with GMF ? These editors should be connected in the
>>> following way, e.g., I want to have UML Class editor and also UML
>>> Sequence editor, but I want to import UML Class editor elements into
>>> the UML Sequence editor (through some drag-and-drop or similar
>>> suitable function).
>>>
>
>> There have been many discussions on this (you can search this list).
>
>> Option 1: Shared editing domain (live update)
>> Option 2: Diagram partitioning (super and subdiagrams)
>> Option 3: Use built-in "Load Resource" fnctionality
>
>
>> HTH,
>
>> Tomas Zijdemans
> O
>
Re: Building two editors in one ? [message #169180 is a reply to message #169160] Mon, 21 January 2008 22:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: milan.milanovic.org

Hi Tomas,

great, thank you.

I have one more question, not directly related to this subject. In order
to learn GMF in depth, how much knowledge from GEF, SWT, and simialar
projects do I need ?

_____________________________
Best regards, Milan Milanovic

Tomas Zijdemans wrote:

> Milan Milanovic wrote:
>> O.K.
>>
>> Thanks. Is there any tutorial or docs on these three options, or I need
>> to learn those from this list archive ?

> Diagram Partitioning: http://wiki.eclipse.org/Diagram_Partitioning,
> there is also a cheatsheet available (you'll find it somewhere on this
> list). Loading Resources is built in, so there's not much to say about
> it. Shared Editing Domains is described here:
>
http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams

> HTH,

> Tomas Zijdemans

>>
>> --
>> Regards, Milan Milanovic
>>
>> Tomas Zijdemans wrote:
>>
>>> Milan Milanovic wrote:
>>>> Hi,
>>>>
>>>> I'm planning to build two separate editors which are conected, is it
>>>> possible to do with GMF ? These editors should be connected in the
>>>> following way, e.g., I want to have UML Class editor and also UML
>>>> Sequence editor, but I want to import UML Class editor elements into
>>>> the UML Sequence editor (through some drag-and-drop or similar
>>>> suitable function).
>>>>
>>
>>> There have been many discussions on this (you can search this list).
>>
>>> Option 1: Shared editing domain (live update)
>>> Option 2: Diagram partitioning (super and subdiagrams)
>>> Option 3: Use built-in "Load Resource" fnctionality
>>
>>
>>> HTH,
>>
>>> Tomas Zijdemans
>> O
>>
Re: Building two editors in one ? [message #169218 is a reply to message #169180] Tue, 22 January 2008 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Milan Milanovic wrote:
> Hi Tomas,
>
> great, thank you.
>
> I have one more question, not directly related to this subject. In order
> to learn GMF in depth, how much knowledge from GEF, SWT, and simialar
> projects do I need ?

Interesting question. In my experience I started out thinking I needed
to understand GEF, but I really didn't. Even when implementing lots of
custom figures and "special" graphical artifacts. SWT can be useful if
you intend on implementing a lot of custom GUI (Dialogs etc.). I'd say,
without question, that EMF is the most important project to learn about.


Best Regards,

Tomas Zijdemans


>
> _____________________________
> Best regards, Milan Milanovic
>
> Tomas Zijdemans wrote:
>
>> Milan Milanovic wrote:
>>> O.K.
>>>
>>> Thanks. Is there any tutorial or docs on these three options, or I
>>> need to learn those from this list archive ?
>
>> Diagram Partitioning: http://wiki.eclipse.org/Diagram_Partitioning,
>> there is also a cheatsheet available (you'll find it somewhere on this
>> list). Loading Resources is built in, so there's not much to say about
>> it. Shared Editing Domains is described here:
> http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams
>
>
>> HTH,
>
>> Tomas Zijdemans
>
>>>
>>> --
>>> Regards, Milan Milanovic
>>>
>>> Tomas Zijdemans wrote:
>>>
>>>> Milan Milanovic wrote:
>>>>> Hi,
>>>>>
>>>>> I'm planning to build two separate editors which are conected, is
>>>>> it possible to do with GMF ? These editors should be connected in
>>>>> the following way, e.g., I want to have UML Class editor and also
>>>>> UML Sequence editor, but I want to import UML Class editor elements
>>>>> into the UML Sequence editor (through some drag-and-drop or similar
>>>>> suitable function).
>>>>>
>>>
>>>> There have been many discussions on this (you can search this list).
>>>
>>>> Option 1: Shared editing domain (live update)
>>>> Option 2: Diagram partitioning (super and subdiagrams)
>>>> Option 3: Use built-in "Load Resource" fnctionality
>>>
>>>
>>>> HTH,
>>>
>>>> Tomas Zijdemans
>>> O
>>>
>
>
Re: Building two editors in one ? [message #169283 is a reply to message #169218] Tue, 22 January 2008 14:38 Go to previous messageGo to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
btw, is it possible to put something from SWT in a Draw2D figure?

personally I think GEF is as important as EMF. The runtime documentation
of GMF is -just- an addition to the GEF doc. The SWT/JFace in Action
book has the best GEF tutorial in my option. IBMs EMF/GEF Redbook is
good, and free, too.

-stefan


Tomas Zijdemans wrote:
> Milan Milanovic wrote:
>> Hi Tomas,
>>
>> great, thank you.
>>
>> I have one more question, not directly related to this subject. In
>> order to learn GMF in depth, how much knowledge from GEF, SWT, and
>> simialar projects do I need ?
>
> Interesting question. In my experience I started out thinking I needed
> to understand GEF, but I really didn't. Even when implementing lots of
> custom figures and "special" graphical artifacts. SWT can be useful if
> you intend on implementing a lot of custom GUI (Dialogs etc.). I'd say,
> without question, that EMF is the most important project to learn about.
>
>
> Best Regards,
>
> Tomas Zijdemans
>
>
>>
>> _____________________________
>> Best regards, Milan Milanovic
>>
>> Tomas Zijdemans wrote:
>>
>>> Milan Milanovic wrote:
>>>> O.K.
>>>>
>>>> Thanks. Is there any tutorial or docs on these three options, or I
>>>> need to learn those from this list archive ?
>>
>>> Diagram Partitioning: http://wiki.eclipse.org/Diagram_Partitioning,
>>> there is also a cheatsheet available (you'll find it somewhere on
>>> this list). Loading Resources is built in, so there's not much to say
>>> about it. Shared Editing Domains is described here:
>> http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams
>>
>>
>>> HTH,
>>
>>> Tomas Zijdemans
>>
>>>>
>>>> --
>>>> Regards, Milan Milanovic
>>>>
>>>> Tomas Zijdemans wrote:
>>>>
>>>>> Milan Milanovic wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm planning to build two separate editors which are conected, is
>>>>>> it possible to do with GMF ? These editors should be connected in
>>>>>> the following way, e.g., I want to have UML Class editor and also
>>>>>> UML Sequence editor, but I want to import UML Class editor
>>>>>> elements into the UML Sequence editor (through some drag-and-drop
>>>>>> or similar suitable function).
>>>>>>
>>>>
>>>>> There have been many discussions on this (you can search this list).
>>>>
>>>>> Option 1: Shared editing domain (live update)
>>>>> Option 2: Diagram partitioning (super and subdiagrams)
>>>>> Option 3: Use built-in "Load Resource" fnctionality
>>>>
>>>>
>>>>> HTH,
>>>>
>>>>> Tomas Zijdemans
>>>> O
>>>>
>>
>>
Re: Building two editors in one ? [message #169590 is a reply to message #169283] Wed, 23 January 2008 21:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: milan.milanovic.org

Dear Stefan and Tomas,

thank you very much on these info. Could you (or someone else) tell here
what are suggested steps to learn GMF in depth, is it for example
(knowledge of Java and Eclipse is constant ;-):

1. Learn Eclipse plug-in development (reading Eclipse plug-in creation
book, tutorials, ...);
1. Learn EMF (reading EMF book, tutorials, ...);
2. Learn GEF + SWT (reading that books, etc.);
3. Learn GMF (firstly reading tutorials, ... ?)

?

Is this path O.K. to you ? Could you, please, update steps in the braces
so that we all know the most efficent way, because there is so much
materials in this area ?

Is it possible to become a commiter to this project, later, because I'm
very interested in it ?

If you want I can ask this question with new subject, because of newcomers
?

_____________________________
Best regards, Milan Milanović
Ph.D. candidate

The GOOD OLD AI Laboratory
Department of Information Systems and Technologies
Faculty of Organizational Sciences
University of Belgrade
Jove Ilića 154
Serbia

web: http://milan.milanovic.org

SKuhn wrote:

> btw, is it possible to put something from SWT in a Draw2D figure?

> personally I think GEF is as important as EMF. The runtime documentation
> of GMF is -just- an addition to the GEF doc. The SWT/JFace in Action
> book has the best GEF tutorial in my option. IBMs EMF/GEF Redbook is
> good, and free, too.

> -stefan


> Tomas Zijdemans wrote:
>> Milan Milanovic wrote:
>>> Hi Tomas,
>>>
>>> great, thank you.
>>>
>>> I have one more question, not directly related to this subject. In
>>> order to learn GMF in depth, how much knowledge from GEF, SWT, and
>>> simialar projects do I need ?
>>
>> Interesting question. In my experience I started out thinking I needed
>> to understand GEF, but I really didn't. Even when implementing lots of
>> custom figures and "special" graphical artifacts. SWT can be useful if
>> you intend on implementing a lot of custom GUI (Dialogs etc.). I'd say,
>> without question, that EMF is the most important project to learn about.
>>
>>
>> Best Regards,
>>
>> Tomas Zijdemans
>>
>>
>>>
>>> _____________________________
>>> Best regards, Milan Milanovic
>>>
>>> Tomas Zijdemans wrote:
>>>
>>>> Milan Milanovic wrote:
>>>>> O.K.
>>>>>
>>>>> Thanks. Is there any tutorial or docs on these three options, or I
>>>>> need to learn those from this list archive ?
>>>
>>>> Diagram Partitioning: http://wiki.eclipse.org/Diagram_Partitioning,
>>>> there is also a cheatsheet available (you'll find it somewhere on
>>>> this list). Loading Resources is built in, so there's not much to say
>>>> about it. Shared Editing Domains is described here:
>>>
http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams
>>>
>>>
>>>> HTH,
>>>
>>>> Tomas Zijdemans
>>>
>>>>>
>>>>> --
>>>>> Regards, Milan Milanovic
>>>>>
>>>>> Tomas Zijdemans wrote:
>>>>>
>>>>>> Milan Milanovic wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm planning to build two separate editors which are conected, is
>>>>>>> it possible to do with GMF ? These editors should be connected in
>>>>>>> the following way, e.g., I want to have UML Class editor and also
>>>>>>> UML Sequence editor, but I want to import UML Class editor
>>>>>>> elements into the UML Sequence editor (through some drag-and-drop
>>>>>>> or similar suitable function).
>>>>>>>
>>>>>
>>>>>> There have been many discussions on this (you can search this list).
>>>>>
>>>>>> Option 1: Shared editing domain (live update)
>>>>>> Option 2: Diagram partitioning (super and subdiagrams)
>>>>>> Option 3: Use built-in "Load Resource" fnctionality
>>>>>
>>>>>
>>>>>> HTH,
>>>>>
>>>>>> Tomas Zijdemans
>>>>> O
>>>>>
>>>
>>>
Re: Building two editors in one ? [message #169742 is a reply to message #169590] Thu, 24 January 2008 16:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Milan Milanovic wrote:
> Dear Stefan and Tomas,
>
> thank you very much on these info. Could you (or someone else) tell here
> what are suggested steps to learn GMF in depth, is it for example
> (knowledge of Java and Eclipse is constant ;-):

I'd say start with EMF, then GMF.

Do the EMF tutorial, then the GMF tutorial.

Use http://wiki.eclipse.org/GMF_Documentation_Index - and this newsgroup
as resources.


HTH,

Tomas Zijdemans






>
> 1. Learn Eclipse plug-in development (reading Eclipse plug-in creation
> book, tutorials, ...);
> 1. Learn EMF (reading EMF book, tutorials, ...);
> 2. Learn GEF + SWT (reading that books, etc.);
> 3. Learn GMF (firstly reading tutorials, ... ?)
>
> ?
>
> Is this path O.K. to you ? Could you, please, update steps in the braces
> so that we all know the most efficent way, because there is so much
> materials in this area ?
>
> Is it possible to become a commiter to this project, later, because I'm
> very interested in it ?
>
> If you want I can ask this question with new subject, because of
> newcomers ?
>
> _____________________________
> Best regards, Milan Milanović
> Ph.D. candidate
>
> The GOOD OLD AI Laboratory
> Department of Information Systems and Technologies
> Faculty of Organizational Sciences
> University of Belgrade
> Jove Ilića 154
> Serbia
>
> web: http://milan.milanovic.org
>
> SKuhn wrote:
>
>> btw, is it possible to put something from SWT in a Draw2D figure?
>
>> personally I think GEF is as important as EMF. The runtime
>> documentation of GMF is -just- an addition to the GEF doc. The
>> SWT/JFace in Action book has the best GEF tutorial in my option. IBMs
>> EMF/GEF Redbook is good, and free, too.
>
>> -stefan
>
>
>> Tomas Zijdemans wrote:
>>> Milan Milanovic wrote:
>>>> Hi Tomas,
>>>>
>>>> great, thank you.
>>>>
>>>> I have one more question, not directly related to this subject. In
>>>> order to learn GMF in depth, how much knowledge from GEF, SWT, and
>>>> simialar projects do I need ?
>>>
>>> Interesting question. In my experience I started out thinking I
>>> needed to understand GEF, but I really didn't. Even when implementing
>>> lots of custom figures and "special" graphical artifacts. SWT can be
>>> useful if you intend on implementing a lot of custom GUI (Dialogs
>>> etc.). I'd say, without question, that EMF is the most important
>>> project to learn about.
>>>
>>>
>>> Best Regards,
>>>
>>> Tomas Zijdemans
>>>
>>>
>>>>
>>>> _____________________________
>>>> Best regards, Milan Milanovic
>>>>
>>>> Tomas Zijdemans wrote:
>>>>
>>>>> Milan Milanovic wrote:
>>>>>> O.K.
>>>>>>
>>>>>> Thanks. Is there any tutorial or docs on these three options, or I
>>>>>> need to learn those from this list archive ?
>>>>
>>>>> Diagram Partitioning: http://wiki.eclipse.org/Diagram_Partitioning,
>>>>> there is also a cheatsheet available (you'll find it somewhere on
>>>>> this list). Loading Resources is built in, so there's not much to
>>>>> say about it. Shared Editing Domains is described here:
>>>>
> http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams
>
>>>>
>>>>
>>>>> HTH,
>>>>
>>>>> Tomas Zijdemans
>>>>
>>>>>>
>>>>>> --
>>>>>> Regards, Milan Milanovic
>>>>>>
>>>>>> Tomas Zijdemans wrote:
>>>>>>
>>>>>>> Milan Milanovic wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm planning to build two separate editors which are conected,
>>>>>>>> is it possible to do with GMF ? These editors should be
>>>>>>>> connected in the following way, e.g., I want to have UML Class
>>>>>>>> editor and also UML Sequence editor, but I want to import UML
>>>>>>>> Class editor elements into the UML Sequence editor (through some
>>>>>>>> drag-and-drop or similar suitable function).
>>>>>>>>
>>>>>>
>>>>>>> There have been many discussions on this (you can search this list).
>>>>>>
>>>>>>> Option 1: Shared editing domain (live update)
>>>>>>> Option 2: Diagram partitioning (super and subdiagrams)
>>>>>>> Option 3: Use built-in "Load Resource" fnctionality
>>>>>>
>>>>>>
>>>>>>> HTH,
>>>>>>
>>>>>>> Tomas Zijdemans
>>>>>> O
>>>>>>
>>>>
>>>>
>
>
Re: Building two editors in one ? [message #170018 is a reply to message #169742] Sun, 27 January 2008 02:44 Go to previous message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
It depends what you want to do. Looking back, I would start learning GMF
by trying to implement my first editor without the generative part of
GMF. You can use the logic example or, for specific situations,
generated code as an example.

Be aware that the generative approach, in my point of view, has some big
design faults:
* abuses the extensible type registry(see gmf-runtime doc).
* they use .ecore as input model, instead of providing a decoration
model to form ElementType hierarchy. Type recognition by constraints
etc. should already be made there.
* The Generator (gmfGen) model doesn't represents the concepts of the
platform (try to extend a specialization type from another
specialization type ;).
* Customization could be done by Decorator models in gmfGen, but
annotating the model and customization of the templates is done at a low
level. It's not possible to decorate the mapping model. Note that it is
not possible to create new files in your templates without modifying the
Generator java class. Code generation is a strange mixture of visitor
pattern + the xPand template language.
* gmfMap to gmfgen model transformation is inflexible if you don't want
to customize hand-coded M2M java code. It is not possible to decorate
the mapping model.
* There is no work flow to customize the generation process.
* no different source folders: Generated code will likely be mixed with
hand written code (ok, you can decorate the gen model and customize the
templates, but this costs more time). This is especially ugly when
changing things in the map, genmodel. Orphaned classes won't be deleted,
sometimes code generation doesn't overwrite classes, so deleting +
regenerating everything is the best option.
* Generated code differs from how normal people would have programmed
the editor, mainly because of design faults at the very beginning of the
editor modeling process.

Honestly, if I had the time, I would start by plain java coding. EMF is
more or less easy, GEF is hard and GMF mainly wraps GEF and adds the EMF
base, a Notation Metamodel, the ExtensibleType registry and all the
extension points in addition to GEF (not easy either). Understanding
this already takes a while and hopefully the generative architecture is
rewritten from scratch or completely redesigned until then :)

This is my option, meant as constructive criticism. Don't get me wrong,
I like code-generation very much and I like GMF (runtime).

-stefan



Tomas Zijdemans wrote:
> Milan Milanovic wrote:
>> Dear Stefan and Tomas,
>>
>> thank you very much on these info. Could you (or someone else) tell
>> here what are suggested steps to learn GMF in depth, is it for example
>> (knowledge of Java and Eclipse is constant ;-):
>
> I'd say start with EMF, then GMF.
>
> Do the EMF tutorial, then the GMF tutorial.
>
> Use http://wiki.eclipse.org/GMF_Documentation_Index - and this newsgroup
> as resources.
>
>
> HTH,
>
> Tomas Zijdemans
>
>
>
>
>
>
>>
>> 1. Learn Eclipse plug-in development (reading Eclipse plug-in creation
>> book, tutorials, ...);
>> 1. Learn EMF (reading EMF book, tutorials, ...);
>> 2. Learn GEF + SWT (reading that books, etc.);
>> 3. Learn GMF (firstly reading tutorials, ... ?)
>>
>> ?
>>
>> Is this path O.K. to you ? Could you, please, update steps in the
>> braces so that we all know the most efficent way, because there is so
>> much materials in this area ?
>>
>> Is it possible to become a commiter to this project, later, because
>> I'm very interested in it ?
>>
>> If you want I can ask this question with new subject, because of
>> newcomers ?
>>
>> _____________________________
>> Best regards, Milan Milanović
>> Ph.D. candidate
>>
>> The GOOD OLD AI Laboratory
>> Department of Information Systems and Technologies
>> Faculty of Organizational Sciences
>> University of Belgrade
>> Jove Ilića 154
>> Serbia
>>
>> web: http://milan.milanovic.org
>>
>> SKuhn wrote:
>>
>>> btw, is it possible to put something from SWT in a Draw2D figure?
>>
>>> personally I think GEF is as important as EMF. The runtime
>>> documentation of GMF is -just- an addition to the GEF doc. The
>>> SWT/JFace in Action book has the best GEF tutorial in my option. IBMs
>>> EMF/GEF Redbook is good, and free, too.
>>
>>> -stefan
>>
>>
>>> Tomas Zijdemans wrote:
>>>> Milan Milanovic wrote:
>>>>> Hi Tomas,
>>>>>
>>>>> great, thank you.
>>>>>
>>>>> I have one more question, not directly related to this subject. In
>>>>> order to learn GMF in depth, how much knowledge from GEF, SWT, and
>>>>> simialar projects do I need ?
>>>>
>>>> Interesting question. In my experience I started out thinking I
>>>> needed to understand GEF, but I really didn't. Even when
>>>> implementing lots of custom figures and "special" graphical
>>>> artifacts. SWT can be useful if you intend on implementing a lot of
>>>> custom GUI (Dialogs etc.). I'd say, without question, that EMF is
>>>> the most important project to learn about.
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Tomas Zijdemans
>>>>
>>>>
>>>>>
>>>>> _____________________________
>>>>> Best regards, Milan Milanovic
>>>>>
>>>>> Tomas Zijdemans wrote:
>>>>>
>>>>>> Milan Milanovic wrote:
>>>>>>> O.K.
>>>>>>>
>>>>>>> Thanks. Is there any tutorial or docs on these three options, or
>>>>>>> I need to learn those from this list archive ?
>>>>>
>>>>>> Diagram Partitioning:
>>>>>> http://wiki.eclipse.org/Diagram_Partitioning, there is also a
>>>>>> cheatsheet available (you'll find it somewhere on this list).
>>>>>> Loading Resources is built in, so there's not much to say about
>>>>>> it. Shared Editing Domains is described here:
>>>>>
>> http://wiki.eclipse.org/GMF_Tips#Sharing_single_EditingDomai n_instance_across_several_diagrams
>>
>>>>>
>>>>>
>>>>>> HTH,
>>>>>
>>>>>> Tomas Zijdemans
>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards, Milan Milanovic
>>>>>>>
>>>>>>> Tomas Zijdemans wrote:
>>>>>>>
>>>>>>>> Milan Milanovic wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm planning to build two separate editors which are conected,
>>>>>>>>> is it possible to do with GMF ? These editors should be
>>>>>>>>> connected in the following way, e.g., I want to have UML Class
>>>>>>>>> editor and also UML Sequence editor, but I want to import UML
>>>>>>>>> Class editor elements into the UML Sequence editor (through
>>>>>>>>> some drag-and-drop or similar suitable function).
>>>>>>>>>
>>>>>>>
>>>>>>>> There have been many discussions on this (you can search this
>>>>>>>> list).
>>>>>>>
>>>>>>>> Option 1: Shared editing domain (live update)
>>>>>>>> Option 2: Diagram partitioning (super and subdiagrams)
>>>>>>>> Option 3: Use built-in "Load Resource" fnctionality
>>>>>>>
>>>>>>>
>>>>>>>> HTH,
>>>>>>>
>>>>>>>> Tomas Zijdemans
>>>>>>> O
>>>>>>>
>>>>>
>>>>>
>>
>>
Previous Topic:Integrating GMF into another application
Next Topic:two different root elements for the same editor
Goto Forum:
  


Current Time: Thu Apr 25 05:11:59 GMT 2024

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

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

Back to the top