Skip to content

Commit

Permalink
cleaning up some things in frequency chart
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Oct 9, 2014
1 parent 8e81cec commit a4ee657
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import annis.service.objects.FrequencyTableEntry;
import annis.service.objects.FrequencyTableEntryType;
import com.google.common.base.Joiner;
import com.google.common.base.Objects;
import com.google.common.collect.Collections2;
import com.google.common.collect.LinkedHashMultimap;
import com.google.common.collect.Multimap;
import com.sun.jersey.api.client.GenericType;
Expand All @@ -36,7 +34,6 @@
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.validator.IntegerValidator;
import com.vaadin.event.FieldEvents;
import com.vaadin.server.ThemeResource;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.AbstractField;
import com.vaadin.ui.Alignment;
Expand All @@ -57,7 +54,6 @@
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ public class FrequencyResultPanel extends VerticalLayout
public static final int MAX_NUMBER_OF_CHART_ITEMS = 100;

private Table tblResult;
private Button btDownloadCSV;
FrequencyChart chart;
private String aql;
private Set<String> corpora;
private List<FrequencyTableEntry> freqDefinition;
final FrequencyQueryPanel queryPanel;
private final Button btDownloadCSV;
private final FrequencyChart chart;
private final String aql;
private final Set<String> corpora;
private final List<FrequencyTableEntry> freqDefinition;
private final FrequencyQueryPanel queryPanel;

private ProgressBar pbQuery;

Expand Down Expand Up @@ -299,7 +299,7 @@ private void recreateTable(FrequencyTable table)

tblResult.addItem(cells, "entry-" + line++);
}
};
}
tblResult.addContainerProperty(pbQuery, null, table);
addLexicalSort(tblResult.getContainerDataSource());

Expand Down

0 comments on commit a4ee657

Please sign in to comment.