Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » remove connection
remove connection [message #157491] Mon, 29 October 2007 13:43
Eclipse UserFriend
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
Previous Topic:mac os X, gmf editor
Next Topic:Element Selection
Goto Forum:
  


Current Time: Thu Jul 25 16:23:19 GMT 2024

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

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

Back to the top