Adds a new function to desktop_tasks. These are Runnable's to be executed after the Desktop loads. (Desktop mods go here) @param uniqueObjectIdentifier This is a String ID that should be unique to a single function, or other resource. This is used to help troubleshoot problems, and enable you to re
(String uniqueObjectIdentifier, Runnable function)
| 98 | * @param function This is the Runnable to be executed. |
| 99 | */ |
| 100 | public static void addDesktopTask(String uniqueObjectIdentifier, Runnable function) { |
| 101 | API.desktop_tasks.put(uniqueObjectIdentifier, function); |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Adds a new function to desktop_tasks2. |
nothing calls this directly
no outgoing calls
no test coverage detected