Skip to content

Commit 7f9bccc

Browse files
committed
Parameter: deprecate columns() method
1 parent cc99b9b commit 7f9bccc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main/java/org/scijava/plugin/Parameter.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,6 @@
158158
/** Defines the step size to use (numeric parameters only). */
159159
String stepSize() default "";
160160

161-
/**
162-
* Defines the width of the input field in characters (text field parameters
163-
* only).
164-
*/
165-
int columns() default 6;
166-
167161
/** Defines the list of possible values (multiple choice text fields only). */
168162
String[] choices() default {};
169163

@@ -173,4 +167,7 @@
173167
*/
174168
Attr[] attrs() default {};
175169

170+
/** @deprecated Replaced by {@link #style()}. */
171+
@Deprecated
172+
int columns() default 6;
176173
}

0 commit comments

Comments
 (0)