|
|
|
|
@ -44,7 +44,7 @@ public class Importer extends CustomJDialog
|
|
|
|
|
private String vals[][];
|
|
|
|
|
private final int[] DEFAULT_SELECTION = new int[]{ 0, 2, 3, 1, -1, 4, 5, 7, 6, -1 };
|
|
|
|
|
|
|
|
|
|
private final String names[] = new String[]{
|
|
|
|
|
public final String NAMES[] = new String[]{
|
|
|
|
|
NOME,
|
|
|
|
|
SEXO,
|
|
|
|
|
NACIONALIDADE,
|
|
|
|
|
@ -55,7 +55,7 @@ public class Importer extends CustomJDialog
|
|
|
|
|
LOCAL_TRABALHO,
|
|
|
|
|
FUNCAO,
|
|
|
|
|
DATA_ADMISSAO_FUNCAO
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
private final boolean multipleSelection;
|
|
|
|
|
/** Creates a new instance of Importer */
|
|
|
|
|
@ -222,11 +222,11 @@ public class Importer extends CustomJDialog
|
|
|
|
|
|
|
|
|
|
public Hashtable getData()
|
|
|
|
|
{
|
|
|
|
|
if( names == null || vals == null )
|
|
|
|
|
if( NAMES == null || vals == null )
|
|
|
|
|
{
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
dcw = new DataChooserWindow( null, names, vals, DEFAULT_SELECTION );
|
|
|
|
|
dcw = new DataChooserWindow( null, NAMES, vals, DEFAULT_SELECTION );
|
|
|
|
|
|
|
|
|
|
if( canceled || ( dcw == null ) )
|
|
|
|
|
{
|
|
|
|
|
|