class PositionFormatter extends BaseLocationFormatter {

    @Override
    public String getFormat(List<String> values)
    {
        PositionCellSampler sampler = new PositionCellSampler(values);
        LocationDetector detector = new LocationDetector(myRegistry);

        ValuesWithConfidence<LocationResults> valueWithConf = detector.detect(sampler);
        LocationResults results = valueWithConf.getBestValue();
        PotentialLocationColumn column = results == null ? null :  results.getMostLikelyLocationColumn();
        CoordFormat fmt = column == null ? null :  column.getLatFormat();
        if (fmt != null)
        {
            return fmt.toString();
        }
        return null;
    }

    public  PositionFormatter(PreferencesRegistry registry);

}