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

ScriptEditor - choosing directories is annoying #45

Open
hinerm opened this issue Jun 2, 2015 · 3 comments
Open

ScriptEditor - choosing directories is annoying #45

hinerm opened this issue Jun 2, 2015 · 3 comments
Labels

Comments

@hinerm
Copy link
Member

hinerm commented Jun 2, 2015

If I want a directory as a parameter, e.g. in a python script, I have to use:

# @File(label = "Output directory", style = "directory") dstDir

I couldn't find a way to get FileWidget.DIRECTORY_STYLE to work, which seems unfortunate - and even that is quite verbose.

Anyway, with style = "directory" I get an ugly JFileChooser on mac, despite #19

@hinerm hinerm added the bug label Jun 2, 2015
@ctrueden
Copy link
Member

ctrueden commented Jun 2, 2015

AFAIK, there is no native directory chooser. It is a JFileChooser-specific feature.

@hinerm
Copy link
Member Author

hinerm commented Jun 2, 2015

ah.. I just noticed that it wasn't as eye-pleasing as IJ.getDirectory

@ctrueden
Copy link
Member

ctrueden commented Jun 2, 2015

Hmm, I wonder why I didn't use IJ.getDirectory! I vaguely recall there was some reason...

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

No branches or pull requests

2 participants