adapt ui to database API

This commit is contained in:
2021-01-14 23:14:22 +01:00
parent 6530362b89
commit 16de83616a
10 changed files with 163 additions and 122 deletions

View File

@ -166,6 +166,8 @@ public class TxDbLabelProvider implements ILabelProvider {
public String getText(Object element) {
if(element instanceof IWaveformDb){
IWaveformDb db = (IWaveformDb) element;
if(db.getName()== null)
return "";
return db.getName()+(db.isLoaded()?"":" (loading)");
} else
return ((IHierNode)element).getName();