use of com.helospark.tactview.core.timeline.AddClipRequestMetaDataKey in project tactview by helospark.
the class FakeImageSequenceChooserDialog method clickOkButton.
public TimelineClip clickOkButton() {
Map<AddClipRequestMetaDataKey, Object> metadata = new HashMap<>();
metadata.put(AddClipRequestMetaDataKey.FPS, new BigDecimal(fps.toString()));
String filePath = path + FileNamePatternToFileResolverService.PATH_FILENAME_SEPARATOR + pattern;
AddClipRequest clipRequest = AddClipRequest.builder().withChannelId(timelineManagerAccessor.getChannels().get(channel).getId()).withPosition(position).withAddClipRequestMetadataKey(metadata).withFilePath(filePath).build();
return timelineManagerAccessor.addClip(clipRequest);
}
Aggregations