- Timestamp:
- 2014-07-02T20:36:46+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r7253 r7283 62 62 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 63 63 Boolean handled = Boolean.TRUE; 64 if (Main.isDebugEnabled()) { 65 Main.debug("OSX handler: "+method.getName()+" - "+args); 66 } 64 67 switch (method.getName()) { 65 68 case "openFiles": … … 69 72 if (oFiles instanceof List) { 70 73 OpenFileAction.openFiles((List<File>)oFiles, true); 74 } else { 75 Main.warn("OSX openFiles called without List: "+oFiles); 71 76 } 72 77 } catch (ReflectiveOperationException | SecurityException | IllegalArgumentException ex) { 73 78 Main.warn("Failed to access open files event: " + ex); 74 79 } 80 } else { 81 Main.warn("OSX openFiles called without args"); 75 82 } 76 83 return null;
Note:
See TracChangeset
for help on using the changeset viewer.