Skip to content

Commit

Permalink
Update licenses, javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
petebankhead committed Aug 28, 2023
1 parent 14c1a1a commit 3c2febc
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/main/java/qupath/fx/dialogs/ControlsFXNotifications.java
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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);
Expand Down
16 changes: 16 additions & 0 deletions src/test/java/qupath/fx/prefs/converters/TestEnumConverter.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 16 additions & 0 deletions src/test/java/qupath/fx/prefs/converters/TestFileConverter.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 16 additions & 0 deletions src/test/java/qupath/fx/prefs/converters/TestLocaleConverter.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 16 additions & 0 deletions src/test/java/qupath/fx/prefs/converters/TestPathConverter.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
16 changes: 16 additions & 0 deletions src/test/java/qupath/fx/prefs/converters/TestUriConverter.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 3c2febc

Please sign in to comment.