rename BLANK to EMPY, enhances separator render, fixes menu selection

This commit is contained in:
2023-03-01 09:21:11 +01:00
parent 9be9671d3a
commit f64a1baf02
11 changed files with 149 additions and 66 deletions

View File

@ -18,6 +18,15 @@ import java.util.List;
public class EmptyWaveform implements IWaveform {
private String label = "";
public EmptyWaveform() {
}
public EmptyWaveform(String label) {
this.label = label;
}
@Override
public void addPropertyChangeListener(PropertyChangeListener l) {
}
@ -96,12 +105,12 @@ public class EmptyWaveform implements IWaveform {
@Override
public WaveformType getType() {
return WaveformType.BLANK;
return WaveformType.EMPTY;
}
@Override
public String getKind() {
return "BLANK";
return "separator";
}
@Override

View File

@ -22,5 +22,5 @@ public enum WaveformType {
/** The filter. */
FILTER,
/** The blank line. */
BLANK
EMPTY
}