Skip to content

Commit

Permalink
Add SwingURIWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Oct 26, 2024
1 parent c63183f commit fdcf1e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 68 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@

<jdatepicker.version>1.3.2</jdatepicker.version>
<object-inspector.version>0.1</object-inspector.version>
<scijava-common.version>99.0</scijava-common.version>
</properties>

<repositories>
Expand Down
11 changes: 8 additions & 3 deletions src/main/java/org/scijava/ui/swing/widget/SwingURIWidget.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@
import org.scijava.ui.UIService;
import org.scijava.widget.FileWidget;
import org.scijava.widget.InputWidget;
import org.scijava.widget.URIWidget;
import org.scijava.widget.WidgetModel;

import javax.swing.*;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import java.awt.event.ActionEvent;
Expand All @@ -46,9 +50,10 @@
import java.net.URISyntaxException;

/**
* Swing implementation of file selector widget.
* Swing implementation of URI selector widget.
*
* @author Curtis Rueden
* @author Christian Tischer
* @author Jan Eglinger
*/
@Plugin(type = InputWidget.class)
public class SwingURIWidget extends SwingInputWidget<URI> implements
Expand Down
65 changes: 0 additions & 65 deletions src/main/java/org/scijava/ui/swing/widget/URIWidget.java

This file was deleted.

0 comments on commit fdcf1e0

Please sign in to comment.