super.setupUI(parent, row, column);
}
public void perform(ActionEvent actionEvent, Object row, SceneryBaseColumn column) {
assert(column instanceof ColumnChooseFrom);
ChooseFromData chooseFrom = (ChooseFromData)column.getIdentifier();
if(
JOptionPane.showConfirmDialog(
(Container)sourceView,
new StringBuffer()
.append("You are about to remove the mutual constraint\n")
.append('"').append(chooseFrom.getTitle()).append("\".\n")
.append("Are you shure?")
.toString(),
"Confirm mutual constraint deletion",
JOptionPane.YES_NO_OPTION
) == JOptionPane.YES_OPTION
)
((Data)chooseFrom.getDocumentData()).removeChooseFrom(chooseFrom);
}