I want to know how I delete a connection in draw2d. I tried disconnect() method but dose not seems to be work. This is my code
menu.appendMenuItem(new draw2d.MenuItem("Disconnect", null, function() {
//draw2d.Connection.workflow.removeFigure(draw2d.Connection.prototype);
var cmd = new draw2d.CommandDelete(oThis);
oThis.workflow.getCommandStack().excute(cmd);
}));
here oThis is of type "draw2d.Connection". please help.
Did you ever open the firebug error console?
PLEASE check this before you create every day a lot of messages
Replace "excute" with "execute" and everythingis working well.
...sorry for this ....butIhaveread your other postings and I think you didn' try to solve your problems first by open the examples,jsdoc or the error console.