// collect entity and tool tip information...
if (state.getInfo() != null) {
EntityCollection entities = state.getInfo().getOwner().getEntityCollection();
if (entities != null && shape != null) {
String tip = null;
CategoryToolTipGenerator tipster = getToolTipGenerator(row, column);
if (tipster != null) {
tip = tipster.generateToolTip(dataset, row, column);
}
CategoryItemEntity entity = new CategoryItemEntity(
shape, tip, null, dataset, row, dataset.getColumnKey(column), column);
entities.addEntity(entity);
}