remove connection [message #157491] |
Mon, 29 October 2007 09:43 |
Eclipse User |
|
|
|
Originally posted by: biju_gopinathan.rediffmail.com
hi friends
my problem is remove the connection based on diction
now i connect two node , from source node to target node that time
target side shows a dialogbox .in the dialogbox ,if the user click
cancel button from it , the not shown in the UI,
Now i can remove the connection From BackEnd, but the UI not refresh,
when Close and reopen the editor it fine
the code is given below
DestroyElementRequest DestroyElementCommand = new
DestroyElementRequest(editingDomain, relationshipElement, false);
ICommand destroyElementCommand = new
DestroyElementCommand(DestroyElementCommand);
ICommandProxy commandProxy = new
ICommandProxy(destroyElementCommand);
if(commandProxy.canExecute()){
commandProxy.execute();
}
please help me thanks in advance
By biju
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds