Add to the token map, called mainly by the plugin loader @param newToken the token to add
(Token newToken)
| 338 | * @param newToken the token to add |
| 339 | */ |
| 340 | public static void addToTokenMap(Token newToken) |
| 341 | { |
| 342 | Token test = TOKEN_MAP.put(newToken.getTokenName(), newToken); |
| 343 | if (test != null) |
| 344 | { |
| 345 | Logging.errorPrint("More than one Output Token has the same Token Name: '" + newToken.getTokenName() + "'"); |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | public static PluginLoader getPluginLoader() |
| 350 | { |