public boolean setData(final CalculatedCoordinateType type, final String latPattern, final String lonPattern, final Geopoint gp) {
        this.setVisibility(type == PLAIN ? GONE : VISIBLE);
        boolean result = false;
        if (type != PLAIN) {
            result = recreate(type, latPattern, lonPattern, gp);
        }
        markButton(null);
        callChangeListener();
        return result;
    }
returns true if latPatternn/lonPattern could be applied, false otherwise
main/src/main/java/cgeo/geocaching/ui/CalculatedCoordinateInputGuideView.java