use of name.abuchen.portfolio.ui.views.columns.TaxonomyColumn in project portfolio by buchen.
the class SecuritiesPerformanceView method createAdditionalColumns.
private void createAdditionalColumns() {
for (Taxonomy taxonomy : getClient().getTaxonomies()) {
Column column = new TaxonomyColumn(taxonomy);
column.setVisible(false);
recordColumns.addColumn(column);
}
//
getClient().getSettings().getAttributeTypes().filter(//
a -> a.supports(Security.class)).forEach(attribute -> {
Column column = new AttributeColumn(attribute);
column.setVisible(false);
column.setEditingSupport(null);
recordColumns.addColumn(column);
});
}
use of name.abuchen.portfolio.ui.views.columns.TaxonomyColumn in project portfolio by buchen.
the class StatementOfAssetsViewer method addTaxonomyColumns.
private void addTaxonomyColumns() {
for (Taxonomy t : client.getTaxonomies()) {
Column column = new TaxonomyColumn(t);
column.setVisible(false);
if (column.getSorter() != null)
column.getSorter().wrap(ElementComparator::new);
support.addColumn(column);
}
}
Aggregations