You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believed the Table API (e.g., for Results tables) was pretty thorough, but when trying to use it to implement a new IJ2 List Shortcuts command, I discovered that there are no appendRow methods. These would be a nice convenience, rather than having to explicitly call set(String colHeader, int row, Object value) for each cell of the row.
Actually, there are appendRow methods, but none that take the actual row data. So the current ListShortcuts implementation does:
I believed the
Table
API (e.g., for Results tables) was pretty thorough, but when trying to use it to implement a new IJ2 List Shortcuts command, I discovered that there are noappendRow
methods. These would be a nice convenience, rather than having to explicitly callset(String colHeader, int row, Object value)
for each cell of the row.Actually, there are
appendRow
methods, but none that take the actual row data. So the currentListShortcuts
implementation does:When what would be nicer would be:
Of course, while this is more succinct, it also loses the column-safety, assuming columns are in a particular order.
Migrated-From: http://trac.imagej.net/ticket/1646
The text was updated successfully, but these errors were encountered: