Changeset 35294 in osm for applications
- Timestamp:
- 2020-01-13T21:45:43+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/comfort0/src/net/simon04/comfort0
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/comfort0/src/net/simon04/comfort0/EditLevel0LAction.java
r35293 r35294 59 59 final DataSet dataSet = MainApplication.getLayerManager().getEditDataSet(); 60 60 final Path path = writeLevel0(dataSet); 61 final Process editor = new ProcessBuilder("kate", path.toString()).start();61 final Process editor = new EditorLauncher(path).launch(); 62 62 Logging.info("Comfort0: Launching editor on file {0}", path); 63 63 new Thread(() -> awaitEditing(dataSet, path, editor), path.getFileName().toString()).start(); … … 70 70 .replace("\u200F", "") 71 71 .getBytes(CHARSET); 72 final Path path = Files.createTempFile(" level0", ".txt");72 final Path path = Files.createTempFile("josm_level0_", ".txt"); 73 73 Files.write(path, level0); 74 74 return path;
Note:
See TracChangeset
for help on using the changeset viewer.