Skip to content

Commit

Permalink
repackaged eventstudio
Browse files Browse the repository at this point in the history
  • Loading branch information
torakiki committed Feb 4, 2020
1 parent 0d56def commit 5838436
Show file tree
Hide file tree
Showing 162 changed files with 262 additions and 262 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
import org.pdfsam.ui.module.OpenButton;
import org.pdfsam.ui.module.RunButton;
import org.pdfsam.ui.support.Views;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;

import javafx.geometry.Pos;
import javafx.scene.Node;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.util.function.Consumer;
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-basic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.sejda</groupId>
<groupId>org.pdfsam</groupId>
<artifactId>eventstudio</artifactId>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-basic/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</appender>

<logger name="org.sejda" level="INFO" />
<logger name="org.sejda.eventstudio" level="ERROR" />
<logger name="org.pdfsam.eventstudio" level="ERROR" />
<logger name="org.pdfsam.injector" level="WARN" />
<logger name="org.sejda.sambox" level="INFO" />
<logger name="org.pdfsam" level="INFO" />
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-basic/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</appender>

<logger name="org.sejda" level="DEBUG" />
<logger name="org.sejda.eventstudio" level="ERROR" />
<logger name="org.pdfsam.eventstudio" level="ERROR" />
<logger name="org.pdfsam.injector" level="INFO" />
<logger name="org.pdfsam" level="DEBUG" />
<logger name="org.hibernate" level="WARN" />
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<artifactId>sejda-conversion</artifactId>
</dependency>
<dependency>
<groupId>org.sejda</groupId>
<groupId>org.pdfsam</groupId>
<artifactId>eventstudio</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package org.pdfsam.test;

import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.util.Arrays;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package org.pdfsam.test;

import org.sejda.eventstudio.Listener;
import org.pdfsam.eventstudio.Listener;

/**
* Test listener to verify an event has been fired
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-core/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</appender>

<logger name="org.sejda" level="WARN" />
<logger name="org.sejda.eventstudio" level="ERROR" />
<logger name="org.pdfsam.eventstudio" level="ERROR" />
<logger name="org.pdfsam.injector" level="ERROR" />
<logger name="org.pdfsam" level="WARN" />
<logger name="org.hibernate" level="WARN" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
import org.pdfsam.ui.module.RunButton;
import org.pdfsam.ui.prefix.PrefixPane;
import org.pdfsam.ui.support.Views;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.sejda.model.prefix.Prefix;

import javafx.geometry.Pos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.util.function.Consumer;
Expand Down
2 changes: 1 addition & 1 deletion pdfsam-fx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<artifactId>sejda-model</artifactId>
</dependency>
<dependency>
<groupId>org.sejda</groupId>
<groupId>org.pdfsam</groupId>
<artifactId>eventstudio</artifactId>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import static java.util.Objects.nonNull;
import static org.sejda.commons.util.RequireUtils.requireNotBlank;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import org.pdfsam.ui.support.Style;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import java.io.File;

import org.sejda.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventListener;

/**
* Base class for a chooser that remembers the latest working directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import static org.pdfsam.support.validation.Validators.and;
import static org.pdfsam.support.validation.Validators.nonBlank;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;
import static org.sejda.model.output.FileOrDirectoryTaskOutput.directory;

import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.pdfsam.ui.help.HelpUtils.helpIcon;
import static org.sejda.commons.util.RequireUtils.requireNotNullArg;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.util.Map;
import java.util.Optional;
Expand All @@ -43,8 +43,8 @@
import org.pdfsam.ui.support.Style;
import org.pdfsam.ui.support.Views;
import org.pdfsam.ui.workspace.RestorableView;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.sejda.model.output.ExistingOutputPolicy;
import org.sejda.model.parameter.base.AbstractPdfOutputParameters;
import org.sejda.model.pdf.PdfVersion;
Expand Down
6 changes: 3 additions & 3 deletions pdfsam-fx/src/main/java/org/pdfsam/ui/io/PdfVersionCombo.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import static java.util.Objects.nonNull;
import static org.sejda.commons.util.RequireUtils.requireNotNullArg;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.util.Arrays;

Expand All @@ -31,8 +31,8 @@
import org.pdfsam.module.ModuleOwned;
import org.pdfsam.ui.ResettableView;
import org.pdfsam.ui.io.PdfVersionCombo.PdfVersionComboItem;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.sejda.model.pdf.PdfVersion;

import javafx.collections.FXCollections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.pdfsam.ui.help.HelpUtils.helpIcon;
import static org.sejda.commons.util.RequireUtils.requireNotNullArg;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import org.apache.commons.lang3.StringUtils;
import org.pdfsam.i18n.DefaultI18nContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.pdfsam.ui.io;

import static java.util.Optional.ofNullable;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.pdfsam.ui.io;

import static java.util.Optional.ofNullable;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package org.pdfsam.ui.module;

import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.util.function.Consumer;

Expand All @@ -31,8 +31,8 @@
import org.pdfsam.ui.support.Style;
import org.pdfsam.ui.workspace.LoadWorkspaceEvent;
import org.pdfsam.ui.workspace.SaveWorkspaceEvent;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.sejda.model.parameter.base.AbstractParameters;

import javafx.application.Platform;
Expand Down
6 changes: 3 additions & 3 deletions pdfsam-fx/src/main/java/org/pdfsam/ui/module/Footer.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
package org.pdfsam.ui.module;

import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.math.BigDecimal;

import org.apache.commons.lang3.StringUtils;
import org.pdfsam.i18n.DefaultI18nContext;
import org.pdfsam.module.ModuleOwned;
import org.pdfsam.module.TaskExecutionRequestEvent;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.sejda.model.notification.event.PercentageOfWorkDoneChangedEvent;
import org.sejda.model.notification.event.TaskExecutionCompletedEvent;
import org.sejda.model.notification.event.TaskExecutionFailedEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.apache.commons.lang3.StringUtils;
import org.pdfsam.module.ModuleOwned;
import org.pdfsam.ui.support.Style;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventStation;

import javafx.scene.control.Button;

Expand Down
8 changes: 4 additions & 4 deletions pdfsam-fx/src/main/java/org/pdfsam/ui/module/OpenButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import static java.util.Objects.requireNonNull;
import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.pdfsam.ui.commons.SetActiveModuleRequest.activeteModule;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.util.ArrayList;
Expand All @@ -39,9 +39,9 @@
import org.pdfsam.ui.commons.ClearModuleEvent;
import org.pdfsam.ui.commons.OpenFileRequest;
import org.pdfsam.ui.support.Style;
import org.sejda.eventstudio.ReferenceStrength;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.ReferenceStrength;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.sejda.model.exception.TaskOutputVisitException;
import org.sejda.model.notification.event.TaskExecutionCompletedEvent;
import org.sejda.model.output.DirectoryTaskOutput;
Expand Down
4 changes: 2 additions & 2 deletions pdfsam-fx/src/main/java/org/pdfsam/ui/module/RunButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*/
package org.pdfsam.ui.module;

import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import org.pdfsam.i18n.DefaultI18nContext;
import org.pdfsam.injector.Prototype;
import org.pdfsam.module.TaskExecutionRequestEvent;
import org.pdfsam.ui.support.Style;
import org.sejda.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.sejda.model.notification.event.TaskExecutionCompletedEvent;
import org.sejda.model.notification.event.TaskExecutionFailedEvent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
package org.pdfsam.ui.module;

import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import org.pdfsam.i18n.DefaultI18nContext;
import org.pdfsam.ui.commons.ShowStageRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import static org.apache.commons.lang3.StringUtils.EMPTY;
import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.pdfsam.ui.help.HelpUtils.helpIcon;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.util.Map;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.pdfsam.ui.selection;

import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import org.apache.commons.lang3.StringUtils;
import org.pdfsam.i18n.DefaultI18nContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.pdfsam.pdf.PdfDescriptorLoadingStatus.ENCRYPTED;
import static org.pdfsam.pdf.PdfDescriptorLoadingStatus.WITH_ERRORS;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.util.Comparator;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import static org.pdfsam.ui.commons.SetDestinationRequest.requestFallbackDestination;
import static org.pdfsam.ui.selection.multiple.SelectionChangedEvent.clearSelectionEvent;
import static org.pdfsam.ui.selection.multiple.SelectionChangedEvent.select;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.util.ArrayList;
Expand Down Expand Up @@ -62,8 +62,8 @@
import org.pdfsam.ui.selection.multiple.move.MoveType;
import org.pdfsam.ui.selection.multiple.move.SelectionAndFocus;
import org.pdfsam.ui.workspace.RestorableView;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import static java.util.Objects.nonNull;
import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.util.List;
Expand All @@ -41,8 +41,8 @@
import org.pdfsam.ui.selection.multiple.move.MoveSelectedEvent;
import org.pdfsam.ui.selection.multiple.move.MoveType;
import org.pdfsam.ui.support.Style;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;

import javafx.event.ActionEvent;
import javafx.scene.control.MenuItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import static org.pdfsam.support.EncryptionUtils.encrypt;
import static org.pdfsam.ui.commons.SetDestinationRequest.requestDestination;
import static org.pdfsam.ui.commons.SetDestinationRequest.requestFallbackDestination;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import java.io.File;
import java.util.Map;
Expand Down Expand Up @@ -60,8 +60,8 @@
import org.pdfsam.ui.selection.single.SingleSelectionPaneToolbar.SelectButton;
import org.pdfsam.ui.support.FXValidationSupport.ValidationState;
import org.pdfsam.ui.workspace.RestorableView;
import org.sejda.eventstudio.annotation.EventListener;
import org.sejda.eventstudio.annotation.EventStation;
import org.pdfsam.eventstudio.annotation.EventListener;
import org.pdfsam.eventstudio.annotation.EventStation;

import de.jensd.fx.glyphs.materialdesignicons.MaterialDesignIcon;
import de.jensd.fx.glyphs.materialdesignicons.utils.MaterialDesignIconFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.pdfsam.ui.selection.single;

import static org.apache.commons.lang3.StringUtils.defaultString;
import static org.sejda.eventstudio.StaticStudio.eventStudio;
import static org.pdfsam.eventstudio.StaticStudio.eventStudio;

import org.apache.commons.lang3.StringUtils;
import org.pdfsam.i18n.DefaultI18nContext;
Expand Down
Loading

0 comments on commit 5838436

Please sign in to comment.