adapt UI
This commit is contained in:
@ -173,8 +173,8 @@ public class BitVector implements IEvent {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getType() {
|
||||
return this.getClass();
|
||||
public WaveformType getType() {
|
||||
return WaveformType.SIGNAL;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -2,7 +2,7 @@ package com.minres.scviewer.database;
|
||||
|
||||
public class DoubleVal implements IEvent {
|
||||
|
||||
final double value;
|
||||
public final double value;
|
||||
|
||||
public DoubleVal(double value) {
|
||||
this.value=value;
|
||||
@ -14,8 +14,8 @@ public class DoubleVal implements IEvent {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getType() {
|
||||
return this.getClass();
|
||||
public WaveformType getType() {
|
||||
return WaveformType.SIGNAL;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -6,6 +6,6 @@ public interface IEvent {
|
||||
|
||||
public EventKind getKind();
|
||||
|
||||
public Class<?> getType();
|
||||
public WaveformType getType();
|
||||
|
||||
}
|
||||
|
@ -16,8 +16,6 @@ public interface IWaveform extends IHierNode {
|
||||
|
||||
public Long getId();
|
||||
|
||||
public String getKind();
|
||||
|
||||
public IWaveformDb getDb();
|
||||
|
||||
public Boolean equals(IWaveform other);
|
||||
@ -28,8 +26,8 @@ public interface IWaveform extends IHierNode {
|
||||
|
||||
public IEvent[] getEventsBeforeTime(Long time);
|
||||
|
||||
public Class<?> getType();
|
||||
public WaveformType getType();
|
||||
|
||||
public int getMaxConcurrency();
|
||||
public int getWidth();
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
package com.minres.scviewer.database;
|
||||
|
||||
public enum WaveformType {
|
||||
SIGNAL, TRANSACTION, FILTER
|
||||
}
|
Reference in New Issue
Block a user