TableItem tableItem=(TableItem) item;
Schema schema = new Schema();
int columnIndex = schema.getIndexOf( feature.getFeatureType(), property );
tableItem.setText(columnIndex+1, value.toString());
UndoableComposite composite = new UndoableComposite();
composite.getCommands().add(new SetEditingFlag(true));
composite.getCommands().add(
EditCommandFactory.getInstance().createSetAttributeCommand(feature, layer, property, value));
composite.getFinalizerCommands().add(new SetEditingFlag(false));
layer.getMap().sendCommandASync(composite);
}
};
final SimpleFeatureType schema = notifierLayer.getSchema();