Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » DestroyElementRequest problem
DestroyElementRequest problem [message #176566] Mon, 10 March 2008 12:19 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hi!

I do:

stack.execute(new ICommandProxy(new DestroyElementCommand(
new DestroyElementRequest(root, false))));

to destroy elements. This works well for normal elements, but when I try
to do it on a node in a subdiagram (from diagram partitioning), it
doesn't work, and I get multiple errors.

How can I track this? I don't know where to set a breakpoint - or what
kind of error to catch.


Regards,

Tomas Zijdemans
Re: DestroyElementRequest problem [message #176624 is a reply to message #176566] Tue, 11 March 2008 06:44 Go to previous message
Eclipse UserFriend
Hello Tomas,

> doesn't work, and I get multiple errors.
Exceptions? Should be helpful to see corresponding stack traces.

> How can I track this? I don't know where to set a breakpoint - or what
> kind of error to catch.
Try placing a break point into xxxItemSemanticEditPolicy.getDestroyElementCommand()
- corresponding command should be created there.

-----------------
Alex Shatalin
Previous Topic:Link Constraints Not Working After Reopening The Diagram
Next Topic:Re: Refresh GMF Editor
Goto Forum:
  


Current Time: Wed Jul 16 09:08:04 EDT 2025

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

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

Back to the top