| [News.eclipse.technology.gmf] Re: how to create element without create view? |
Hello dzh,
first way:If you are going to create additional element on creation another one â it looks like a correct place.
second way, Use commandstack:
Good for executing command from the user code (e.g. popup menu action).
You can try CreateElementRequest â only semantic element creation command should be returned to you as a result of sending this request to the corresponding EditPart. You can take a look on CreationEditPolicy. getCreateElementAndViewCommand() implementation as an example â this method create two different commands â semantic creation command and view creation command.How can I create element without create View and get the element I just created?
----------------- Alex Shatalin