Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom create command does not work with CreateViewCommand properly
Custom create command does not work with CreateViewCommand properly [message #115323] Thu, 29 March 2007 12:05 Go to next message
adotor is currently offline adotorFriend
Messages: 46
Registered: July 2009
Member
I have a problem integrating my custom create element command with the
GMF create process.

I use my edit helper to return a customized creation command for my
semantoc model. I replace the default semantic creation command so that
I have now two chained commands:

1. customized semantic creation command
2. default create view command

The problem is that my creation command does not provide the new element
in andvance. So I cannot set the newElement-attribute of the request
accordingly.

I'm currently out of ideas where to look at or who I can conceptually
integrate my custom command into GMF.

Must I change the CreateViewCommand after execution of my semantic
command? Or must I override some view related command?

Greetings,
Alexander
Re: Custom create command does not work with CreateViewCommand properly [message #115559 is a reply to message #115323] Fri, 30 March 2007 08:42 Go to previous message
adotor is currently offline adotorFriend
Messages: 46
Registered: July 2009
Member
I found it out myself by debugging.

The CommandResult of a AbstractTransactionalCommand does contain a
returnBalue which is set as newElement for the following "Create
View"-Command.

Alexander
Previous Topic:GMFGen and GMFMap Editor missing in S-2.0M5-200702211500??
Next Topic:Create elements from the palette
Goto Forum:
  


Current Time: Thu Dec 26 16:33:15 GMT 2024

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

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

Back to the top