Project

General

Profile

Actions

feature request #3573

closed

Improve EDITOR import UI configuration panel

Added by Cherian Mathew almost 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Priority12
Assignee:
Patrick Plitzner
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

50%

Estimated time:
1:00 h
Severity:
normal

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

before.png (160 KB) before.png Cherian Mathew, 07/01/2013 10:00 AM
after.png (214 KB) after.png Cherian Mathew, 07/01/2013 10:00 AM

Related issues

Related to EDIT - feature request #6305: [MASTER] Improve EDITOR import/export UI configuration panel for all imports/exportsNewKatja Luther

Actions
Actions

Also available in: Atom PDF