diff --git a/src/main/java/qupath/fx/dialogs/ControlsFXNotifications.java b/src/main/java/qupath/fx/dialogs/ControlsFXNotifications.java index 02509fd..4dc8dd4 100644 --- a/src/main/java/qupath/fx/dialogs/ControlsFXNotifications.java +++ b/src/main/java/qupath/fx/dialogs/ControlsFXNotifications.java @@ -1,3 +1,19 @@ +/** + * Copyright 2023 The University of Edinburgh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package qupath.fx.dialogs; import javafx.application.Platform; @@ -6,6 +22,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * Class for showing notifications using ControlsFX. + * Separated from the main {@link Dialogs} class to help make ControlsFX optional. + */ class ControlsFXNotifications { private static final Logger logger = LoggerFactory.getLogger(ControlsFXNotifications.class); diff --git a/src/test/java/qupath/fx/prefs/converters/TestEnumConverter.java b/src/test/java/qupath/fx/prefs/converters/TestEnumConverter.java index ad9b0a8..779e35c 100644 --- a/src/test/java/qupath/fx/prefs/converters/TestEnumConverter.java +++ b/src/test/java/qupath/fx/prefs/converters/TestEnumConverter.java @@ -1,3 +1,19 @@ +/** + * Copyright 2023 The University of Edinburgh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package qupath.fx.prefs.converters; import org.junit.jupiter.api.Test; diff --git a/src/test/java/qupath/fx/prefs/converters/TestFileConverter.java b/src/test/java/qupath/fx/prefs/converters/TestFileConverter.java index 39f9dcd..19e017a 100644 --- a/src/test/java/qupath/fx/prefs/converters/TestFileConverter.java +++ b/src/test/java/qupath/fx/prefs/converters/TestFileConverter.java @@ -1,3 +1,19 @@ +/** + * Copyright 2023 The University of Edinburgh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package qupath.fx.prefs.converters; import org.junit.jupiter.params.ParameterizedTest; diff --git a/src/test/java/qupath/fx/prefs/converters/TestLocaleConverter.java b/src/test/java/qupath/fx/prefs/converters/TestLocaleConverter.java index 3cd4a80..352e98a 100644 --- a/src/test/java/qupath/fx/prefs/converters/TestLocaleConverter.java +++ b/src/test/java/qupath/fx/prefs/converters/TestLocaleConverter.java @@ -1,3 +1,19 @@ +/** + * Copyright 2023 The University of Edinburgh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package qupath.fx.prefs.converters; import org.junit.jupiter.api.Test; diff --git a/src/test/java/qupath/fx/prefs/converters/TestPathConverter.java b/src/test/java/qupath/fx/prefs/converters/TestPathConverter.java index 49df48e..878fe0c 100644 --- a/src/test/java/qupath/fx/prefs/converters/TestPathConverter.java +++ b/src/test/java/qupath/fx/prefs/converters/TestPathConverter.java @@ -1,3 +1,19 @@ +/** + * Copyright 2023 The University of Edinburgh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package qupath.fx.prefs.converters; import org.junit.jupiter.params.ParameterizedTest; diff --git a/src/test/java/qupath/fx/prefs/converters/TestUriConverter.java b/src/test/java/qupath/fx/prefs/converters/TestUriConverter.java index ad5ad12..1a4256f 100644 --- a/src/test/java/qupath/fx/prefs/converters/TestUriConverter.java +++ b/src/test/java/qupath/fx/prefs/converters/TestUriConverter.java @@ -1,3 +1,19 @@ +/** + * Copyright 2023 The University of Edinburgh + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package qupath.fx.prefs.converters; import org.junit.jupiter.params.ParameterizedTest;