Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin parameter TextBox in read-only mode #1234

Closed
annmak opened this issue May 23, 2018 · 1 comment
Closed

Plugin parameter TextBox in read-only mode #1234

annmak opened this issue May 23, 2018 · 1 comment

Comments

@annmak
Copy link

annmak commented May 23, 2018

Hello,
We are developing a plugin and need to have a parameter (ParameterType String) that is readonly.
But when I look in the source code (PluginParameterPanel.java), I see that this attribute seems to only affect checkboxes. Is there any possibility that you could add that functionality to text fields as well?

@luis100 luis100 self-assigned this May 24, 2018
@luis100 luis100 added this to the Screening milestone May 24, 2018
@hsilva-keep hsilva-keep self-assigned this Dec 12, 2018
@hsilva-keep hsilva-keep modified the milestones: Screening, 3.0.1 Dec 12, 2018
@hsilva-keep hsilva-keep changed the title Plugin parameters TextBox Plugin parameter TextBox in read-only mode Dec 12, 2018
@hsilva-keep
Copy link
Member

Done, simply set pluginParameter.setReadonly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants