&&index>0&&!value.getColumn().getOrigin().equals(AttributeOrigin.COMPUTED)){//0 is the index of node id and edge id cols, not useful to send these events
//The id is correct, but the title may be invalid or repeated even when the id is valid
//Use id as title as a compromise so the column can still be added:
Logger.getLogger(AttributeTableImpl.class.getName()).log(Level.WARNING,"Invalid or repeated column title ({0}), used column id as its title instead",title);
title=id;
}
...
...
@@ -151,11 +158,57 @@ public class AttributeTableImpl implements AttributeTable {
returncolumn;
}
/**
* Sends unset events for all attribute rows of a column that is going to be removed. (This is basically necessary to correctly update Dynamic index of Dynamic API.)
*
* Events are only sent for node, edge and graph table columns.