Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with ICommandProxy
Problem with ICommandProxy [message #511465] Mon, 01 February 2010 16:30
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member

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 Apr 15 22:23:27 GMT 2021

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

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

Back to the top