Updated UI to reflect database changes esp. in VCD

This commit is contained in:
2018-11-06 08:26:39 +01:00
parent 47a285bf6d
commit f81e830e93
15 changed files with 87 additions and 112 deletions

View File

@ -44,9 +44,10 @@ public class WaveformPopupMenuContribution {
Object selected = ((IStructuredSelection)sel).getFirstElement();
if(selected instanceof ISignal<?>) {
Object x = ((ISignal<?>) selected).getEvents().firstEntry().getValue();
if((x instanceof Double) || (x instanceof BitVector)) {
if((x instanceof BitVector) && ((BitVector)x).getWidth()==1) {
return false;
} else
return true;
}
}
}
}