Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » extending generated domain navigator
extending generated domain navigator [message #121592] Tue, 24 April 2007 16:26 Go to next message
Eclipse UserFriend
Originally posted by: jan.herriger.gmx.de

Hi,

if we have non-synch diagrams, the user should have the possibility to
modify the model outside the GMF Editor. The user would have no chance
to edit elements, if all corresponding views have been deleted.

What I did so far:

- DomainNavigatorContentProvider stores the editing domain in the
DomainNavigatorItem objects so ObjectActionDelegates can use it
- An AbstractTransactionalCommand deletes selected elements and saves
resources immediately
- This command is executed via
"OperationHistoryFactory.getOperationHistory().execute(...)" inside the
ObjectActionDelegate

Well, nothing special about this, I think.

What I don't understand is:

- Why isn't redo/undo available? I could't find any information about
common navigator and operations.

- Is there (or will there be) a way to use the GM Framework in order to
modify models via the generated navigator?


Any comments about this would be highly appreciated.

Best regards
Jan
Re: extending generated domain navigator [message #121662 is a reply to message #121592] Wed, 25 April 2007 05:36 Go to previous message
Eclipse UserFriend
Hello Jan,

> - Why isn't redo/undo available? I could't find any information about
> common navigator and operations.
Domain model navigsator is a read-only view now, so you have to investigate
this question...

> - Is there (or will there be) a way to use the GM Framework in order
> to modify models via the generated navigator?
There is a plan to generate modifiable navigator. Not in 2.0.

-----------------
Alex Shatalin
Previous Topic:EOpposite problem
Next Topic:Initialize diagral functionality
Goto Forum:
  


Current Time: Thu Jul 31 15:24:56 EDT 2025

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

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

Back to the top