fix name display in waveform view (#6)

This commit is contained in:
Eyck Jentzsch 2021-02-24 06:56:28 +00:00
parent 8c17ed4146
commit e264ab2cbe
2 changed files with 13 additions and 1 deletions

View File

@ -30,6 +30,8 @@ import com.minres.scviewer.database.tx.ITxEvent;
*/
abstract class AbstractTxStream extends HierNode implements IWaveform {
private final String fullName;
/** The id. */
private Long id;
@ -51,10 +53,20 @@ abstract class AbstractTxStream extends HierNode implements IWaveform {
*/
protected AbstractTxStream(TextDbLoader loader, Long id, String name) {
super(name);
fullName=name;
this.loader = loader;
this.id = id;
}
/**
* Gets the full hierarchical name.
*
* @return the full name
*/
@Override
public String getFullName() {
return fullName;
}
/**
* Adds the event.
*

View File

@ -80,7 +80,7 @@ public class HierNode implements IHierNode {
}
/**
* Gets the full name.
* Gets the full hierarchical name.
*
* @return the full name
*/