Skip to content

Commit fdcf1e0

Browse files
committed
Add SwingURIWidget
1 parent c63183f commit fdcf1e0

File tree

3 files changed

+9
-68
lines changed

3 files changed

+9
-68
lines changed

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112

113113
<jdatepicker.version>1.3.2</jdatepicker.version>
114114
<object-inspector.version>0.1</object-inspector.version>
115+
<scijava-common.version>99.0</scijava-common.version>
115116
</properties>
116117

117118
<repositories>

src/main/java/org/scijava/ui/swing/widget/SwingURIWidget.java

+8-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,13 @@
3434
import org.scijava.ui.UIService;
3535
import org.scijava.widget.FileWidget;
3636
import org.scijava.widget.InputWidget;
37+
import org.scijava.widget.URIWidget;
3738
import org.scijava.widget.WidgetModel;
3839

39-
import javax.swing.*;
40+
import javax.swing.Box;
41+
import javax.swing.JButton;
42+
import javax.swing.JPanel;
43+
import javax.swing.JTextField;
4044
import javax.swing.event.DocumentEvent;
4145
import javax.swing.event.DocumentListener;
4246
import java.awt.event.ActionEvent;
@@ -46,9 +50,10 @@
4650
import java.net.URISyntaxException;
4751

4852
/**
49-
* Swing implementation of file selector widget.
53+
* Swing implementation of URI selector widget.
5054
*
51-
* @author Curtis Rueden
55+
* @author Christian Tischer
56+
* @author Jan Eglinger
5257
*/
5358
@Plugin(type = InputWidget.class)
5459
public class SwingURIWidget extends SwingInputWidget<URI> implements

src/main/java/org/scijava/ui/swing/widget/URIWidget.java

-65
This file was deleted.

0 commit comments

Comments
 (0)