Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF regular procedure
GMF regular procedure [message #226044] Tue, 14 April 2009 21:58 Go to next message
Eclipse UserFriend
Originally posted by: juergen.scheffler.gmx.de

Hi,

my projects are very experimental and the domain model often changes or
gets extended. What's the regular procedure to customize the resulting
graphical editor? f.e. I have business rules that say "figure (class) X
allows only one connection predecessor" or I have to add new action
buttons or the outline view should be top left f.e. .

Is it most common to use generated NOT statements?
When do I use the resulting editor as plugin for a new extending custom
eclipse project?

G

Juergen
Re: GMF regular procedure [message #226147 is a reply to message #226044] Wed, 15 April 2009 09:45 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Jürgen,

> Is it most common to use generated NOT statements?
You can customize generated code either by using @generated NOT comment or
by modifying templates/extending genmodel.

-----------------
Alex Shatalin
Re: GMF regular procedure [message #226260 is a reply to message #226147] Wed, 15 April 2009 20:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: juergen.scheffler.gmx.de

Alex Shatalin schrieb:
> Hello Jürgen,
>
>> Is it most common to use generated NOT statements?
> You can customize generated code either by using @generated NOT comment
> or by modifying templates/extending genmodel.
>
> -----------------
> Alex Shatalin
>
>

I know little how to do that, thx.

Is it also possible (and good) to make a new eclipse project that uses
the GMF editor as plugin. Even if the the GMF Editors domain model
changes...

no good idea or?!
Re: GMF regular procedure [message #226336 is a reply to message #226260] Thu, 16 April 2009 10:21 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Jürgen,

I think you can just modify generated code first. Do not understand an idea
about making bew eclipse project..

-----------------
Alex Shatalin
Previous Topic:How to suggest change in mindmap example
Next Topic:Is it a bug in GMF that does not allow to change the palette backgournd colour
Goto Forum:
  


Current Time: Fri Apr 26 21:11:48 GMT 2024

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

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

Back to the top