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

Save actions: better field selection #957

Closed
koppor opened this issue Mar 14, 2016 · 5 comments
Closed

Save actions: better field selection #957

koppor opened this issue Mar 14, 2016 · 5 comments
Assignees

Comments

@koppor
Copy link
Member

koppor commented Mar 14, 2016

At "Save sort order" in the same dialog, one can also select a field. I would have expected the same choice for the selection of the fields to apply the save action. Is that possible? Reason: I am too lazy to input the field name manually.

grabbed_20160313-212741

@simonharrer
Copy link
Contributor

Please not that there is the "special field" "all" which applies the save action on all fields.

@Siedlerchr
Copy link
Member

I will look into this, Together with #958
@koppor
Edit// When you select a field in the combo box e.g. address, it get's displayed in the text field.
However, it currently does not get displayed on the combobox itself.

@koppor
Copy link
Member Author

koppor commented Mar 15, 2016

@Siedlerchr Yes, I know. That was sort of a quick hack to enable quick selection of common fields, but also the input of arbitrary fields (not contained in the combobox list). Don't know, whether that's possible with a normal JCombobox, too.

@Siedlerchr
Copy link
Member

For the sort criterion:
A solution to this would be to use an Editable Combobox (Default Combobox with Editable=true)
https://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html#editable

  • Enables the selection of items
  • Add new items not in the list of the combobox.
    => This would make the textfield unnecessary.

For the Save Action I would suggest the same solution

@Siedlerchr
Copy link
Member

This save sort order selection with the Combobox and the Textfield is also used in the Preferences->Export sorting, it is the same class (SaveOrderConfigDisplay) which is used for both

A rework would then profit in both cases.

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