1 package net.mograsim.plugin.tables;
3 import java.math.BigInteger;
5 import org.eclipse.jface.viewers.ColumnLabelProvider;
7 import net.mograsim.plugin.asm.AsmNumberUtil;
8 import net.mograsim.plugin.asm.AsmNumberUtil.NumberType;
10 public class AddressLabelProvider extends ColumnLabelProvider
13 public String getText(Object element)
15 @SuppressWarnings("rawtypes")
16 TableRow row = (TableRow) element;
17 return AsmNumberUtil.toString(BigInteger.valueOf(row.address), NumberType.HEXADECIMAL);