filebot/source/net/sourceforge/tuned/ui/NullLabelProvider.java

22 lines
288 B
Java
Raw Normal View History

package net.sourceforge.tuned.ui;
import javax.swing.Icon;
public class NullLabelProvider<T extends Object> implements LabelProvider<T> {
@Override
public Icon getIcon(T value) {
return null;
}
@Override
public String getText(T value) {
return value.toString();
}
}