Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » DeleteCommand created but not exectue!
DeleteCommand created but not exectue! [message #243028] Tue, 20 May 2008 11:42
Hoping White is currently offline Hoping WhiteFriend
Messages: 71
Registered: July 2009
Hello everyone,
My EditPart as follows:

protected void createEditPolicies()

where ProcessRemoveEditPolicy as follow:

protected Command createDeleteCommand(GroupRequest request)
Object parent=getHost().getParent().getModel();
Object child=getHost().getModel();
if(parent instanceof ProcessDiagramElement&&child instanceof
return new
ProcessElementDeleteCommand((ProcessDiagramElement)parent,(A bstractProcessElement)child);
return null;

When debugging, the DeleteCommand is created, but It didn't execute, what
else should I do?
Previous Topic:two model in gef
Next Topic:Help on 'Hello GEF 1 example'
Goto Forum:

Current Time: Tue Oct 23 05:01:37 GMT 2018

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

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

Back to the top