feature request #3573
closedImprove EDITOR import UI configuration panel
50%
Description
From P.Kelbert,
Everybody know that the users don't like the configuration interface in
the Editor for importing data, as the option displayed are not clear at
all ("isdoreusetaxa" etc etc).
For the ABCD Import, I made some changes (for the moment locally), by:
1) renaming the configuration options (more explicit)
2) doing a small add in the GenericConfiguratorWizardPage (package
eu.etaxonomy.taxeditor.io.wizard), line 143.
private void createCheckbox(Composite parent, Method method, final IIoConfigurator configurator) { final String methodName = method.getName(); final Button checkBox = new Button(parent, SWT.CHECK); if(configurator.getClass().equals(Abcd206ImportConfigurator.class)){ String[[] r =|methodName.split("set")r1].split("(?=\\p{Upper})"); checkBox.setText(getLabel(StringUtils.join(r," "))); } else{ checkBox.setText(getLabel(methodName)); } // retrieve the default values and set the checkbox accordingly boolean defaultSelection = executeBooleanGetMethod(configurator, "is" + methodName.substring(3)); checkBox.setSelection(defaultSelection); checkBox.addSelectionListener(new SelectionAdapter() { /* * (non-Javadoc) * * @see * org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse * .swt.events.SelectionEvent) */ @Override public void widgetSelected(SelectionEvent e) { executeBooleanSetMethod(configurator, methodName, checkBox.getSelection()); } }); }
In attachment, you will see the "before" and "after" pictures.
It still not the best solution, but I think it's really better than the
old display. What do you think? Could we include it for the next
release, at least for the ABCD import?
You may notice the "Interact with user" option. When it's set to True,
some pop-up are displayed when the user should take a decision, for
example for selecting an existing NamedArea when several match, entering
his own Reference Name or Classification name etc.
Any objection to add this ABCD Improvement in the next release?
Patricia
see also: #1029
Files
Related issues