String inlinkStr = ""; String outlinkStr = ""; if (inlink!=null) inlinkStr=inlink.getID(); if (outlink!=null) outlinkStr=outlink.getID(); UndoManager.getInstance().addAction(new DeleteConnectorAction(this, inlinkStr, outlinkStr));
public void destroy() {	if (!isDestroyed()) {		super.destroy();		getParent().removeObject(ID);		setInput(null);		setOutput(null, outlink);	}}