This opens an existing party from a file and adds all characters to the list of open characters. @param file the file to load this party from @param delegate the UIDelegate that these characters will use @param dataset the dataset that this will be loaded with @return The party that was opened.
(File file, final UIDelegate delegate, final DataSetFacade dataset)
| 281 | * @return The party that was opened. |
| 282 | */ |
| 283 | public static PartyFacade openParty(File file, final UIDelegate delegate, final DataSetFacade dataset) |
| 284 | { |
| 285 | Logging.log(Logging.INFO, "Loading party " + file.getAbsolutePath()); //$NON-NLS-1$ |
| 286 | PCGIOHandler.readCharacterFileList(file).forEach(charFile -> openCharacter(charFile, delegate, dataset)); |
| 287 | CHARACTERS.setFile(file); |
| 288 | return CHARACTERS; |
| 289 | } |
| 290 | |
| 291 | public static SourceSelectionFacade getRequiredSourcesForParty(File pcpFile, UIDelegate delegate) |
| 292 | { |
no test coverage detected