Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Resource refactoring via LTK or any other mechanism?
Resource refactoring via LTK or any other mechanism? [message #501148] Tue, 01 December 2009 10:08 Go to next message
Eclipse UserFriend
Originally posted by: r.zozmann.exxcellent.de

Hi,

we are using GMF editors for several DSL's. Typically a diagram resource
has references to one (or more) model resource files. In a project with
a lot of models a user will have the need to rename a model file at any
time. For that i have expected to get refactoring support. But all i
have found are approaches for model refactorings (model elements in a
model file), but there seems to be nothing to simply support the
renaming of a model file and keep the references to model elements valid
from a diagram using that model file (the uri's from diagram to model
have to be adapt).
Exists a plan/vision to do that in a generic way in GMF (via LTK?) or
does anybody know a plugin doing that or ...
I can't believe that i am the only person having the need to rename
model files without loosing all my diagram content?!

Thanks
Ralf
Re: Resource refactoring via LTK or any other mechanism? [message #503434 is a reply to message #501148] Mon, 14 December 2009 06:48 Go to previous message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Hi Ralf,

we are doing this in our project flowr.org
(http://flowr.org:8080/display/flowr/Design+Framework). Therefor we
build an index through all kind of model cross references and use the
index for LTK refactoring hooks. Right now the index is build for model
projects only (a flowr specific nature), since we are declaring
namespaces for models to allow local and remote models. The
index/refactoring feature will become part of the new project MTF that
is under construction right now (http://www.eclipse.org/proposals/mtf/).

Sven

Ralf Zozmann schrieb:
> Hi,
>
> we are using GMF editors for several DSL's. Typically a diagram resource
> has references to one (or more) model resource files. In a project with
> a lot of models a user will have the need to rename a model file at any
> time. For that i have expected to get refactoring support. But all i
> have found are approaches for model refactorings (model elements in a
> model file), but there seems to be nothing to simply support the
> renaming of a model file and keep the references to model elements valid
> from a diagram using that model file (the uri's from diagram to model
> have to be adapt).
> Exists a plan/vision to do that in a generic way in GMF (via LTK?) or
> does anybody know a plugin doing that or ...
> I can't believe that i am the only person having the need to rename
> model files without loosing all my diagram content?!
>
> Thanks
> Ralf
Previous Topic:execute template
Next Topic:Initialize diagram file problems...
Goto Forum:
  


Current Time: Sun Apr 18 09:32:09 GMT 2021

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

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

Back to the top