adds configurable label to separator
This commit is contained in:
@ -1,11 +1,23 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2015-2023 MINRES Technologies GmbH and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* MINRES Technologies GmbH - initial API and implementation
|
||||
*******************************************************************************/
|
||||
|
||||
package com.minres.scviewer.database;
|
||||
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class BlankWaveform implements IWaveform {
|
||||
public class EmptyWaveform implements IWaveform {
|
||||
|
||||
private String label = "";
|
||||
@Override
|
||||
public void addPropertyChangeListener(PropertyChangeListener l) {
|
||||
}
|
||||
@ -16,16 +28,17 @@ public class BlankWaveform implements IWaveform {
|
||||
|
||||
@Override
|
||||
public String getFullName() {
|
||||
return "";
|
||||
return label;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "";
|
||||
return label;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setName(String name) {
|
||||
label=name;
|
||||
}
|
||||
|
||||
@Override
|
Reference in New Issue
Block a user