public static MapView createViewforMap(Map p) {
public static MapView createViewforMap(Map p, MapEditor editor) {
    public static MapView createViewforMap(Map p) {        MapView mapView = null;        int orientation = p.getOrientation();        if (orientation == Map.MDO_ISO) {            mapView = new IsoMapView(p);        } else if (orientation == Map.MDO_ORTHO) {            mapView = new OrthoMapView(p);        } else if (orientation == Map.MDO_HEX) {            mapView = new HexMapView(p);        } else if (orientation == Map.MDO_SHIFTED) {            mapView = new ShiftedMapView(p);        }        return mapView;    }