Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with ICommandProxy
Problem with ICommandProxy [message #511465] Mon, 01 February 2010 11:30
Eclipse UserFriend
Hi,

When I chain a new command to a compound command, it is never executed.
Can anyone help me please ?

This a sample code of my XXXEditPolicy:

command = createViewsAndArrangeCommand(request, descriptors);
command.chain(new ICommandProxy(new
RestoreRelatedLinksCommand((DiagramEditPart)getHost(), descriptors)));
command.chain(new ICommandProxy(new UpdateEditPartCommand(
getEditingDomain(), getHost())));

Best regards.
Previous Topic:Gmf editor doubt about my project
Next Topic:Adding <<EClass>> to a node
Goto Forum:
  


Current Time: Thu Jul 03 17:30:13 EDT 2025

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

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

Back to the top