|  |  |  | @ -157,21 +157,21 @@ public class FichaWindow extends TabbedWindow | 
			
		
	
		
			
				
					|  |  |  |  | 						"Apagar Fichas Anteriores", null, | 
			
		
	
		
			
				
					|  |  |  |  | 						0, false ); | 
			
		
	
		
			
				
					|  |  |  |  | 						 | 
			
		
	
		
			
				
					|  |  |  |  | 		registerAction( new ActionHandler(){ | 
			
		
	
		
			
				
					|  |  |  |  | 							public void execute() | 
			
		
	
		
			
				
					|  |  |  |  | 							{ | 
			
		
	
		
			
				
					|  |  |  |  | 								excel(); | 
			
		
	
		
			
				
					|  |  |  |  | 							} | 
			
		
	
		
			
				
					|  |  |  |  | 							 | 
			
		
	
		
			
				
					|  |  |  |  | 							public boolean activate( boolean newAction, boolean editAction,  | 
			
		
	
		
			
				
					|  |  |  |  | 														boolean cancelAction, boolean saveAction, | 
			
		
	
		
			
				
					|  |  |  |  | 														boolean deleteAction, boolean selectAction ) | 
			
		
	
		
			
				
					|  |  |  |  | 							{ | 
			
		
	
		
			
				
					|  |  |  |  | 								return saveAction; | 
			
		
	
		
			
				
					|  |  |  |  | 							} | 
			
		
	
		
			
				
					|  |  |  |  | 						}, "Importar",  | 
			
		
	
		
			
				
					|  |  |  |  | 						"Importar de Excel", "excel", | 
			
		
	
		
			
				
					|  |  |  |  | 						0, true ); | 
			
		
	
		
			
				
					|  |  |  |  | //		registerAction( new ActionHandler(){
 | 
			
		
	
		
			
				
					|  |  |  |  | //							public void execute()
 | 
			
		
	
		
			
				
					|  |  |  |  | //							{
 | 
			
		
	
		
			
				
					|  |  |  |  | //								excel();
 | 
			
		
	
		
			
				
					|  |  |  |  | //							}
 | 
			
		
	
		
			
				
					|  |  |  |  | //							
 | 
			
		
	
		
			
				
					|  |  |  |  | //							public boolean activate( boolean newAction, boolean editAction, 
 | 
			
		
	
		
			
				
					|  |  |  |  | //														boolean cancelAction, boolean saveAction,
 | 
			
		
	
		
			
				
					|  |  |  |  | //														boolean deleteAction, boolean selectAction )
 | 
			
		
	
		
			
				
					|  |  |  |  | //							{
 | 
			
		
	
		
			
				
					|  |  |  |  | //								return saveAction;
 | 
			
		
	
		
			
				
					|  |  |  |  | //							}
 | 
			
		
	
		
			
				
					|  |  |  |  | //						}, "Importar", 
 | 
			
		
	
		
			
				
					|  |  |  |  | //						"Importar de Excel", "excel",
 | 
			
		
	
		
			
				
					|  |  |  |  | //						0, true );
 | 
			
		
	
		
			
				
					|  |  |  |  | 	} | 
			
		
	
		
			
				
					|  |  |  |  | 	 | 
			
		
	
		
			
				
					|  |  |  |  | 	public boolean save( int index ) | 
			
		
	
	
		
			
				
					|  |  |  | @ -295,7 +295,7 @@ public class FichaWindow extends TabbedWindow | 
			
		
	
		
			
				
					|  |  |  |  | //		{
 | 
			
		
	
		
			
				
					|  |  |  |  | //			search = new SearchDialog( fdpProvider, null, true, null, true );
 | 
			
		
	
		
			
				
					|  |  |  |  | //		}
 | 
			
		
	
		
			
				
					|  |  |  |  | 		search = new SearchDialog( fdpProvider, null, true, null, true ); | 
			
		
	
		
			
				
					|  |  |  |  | 		search = new SearchDialog( fdpProvider, null, false, null, true ); | 
			
		
	
		
			
				
					|  |  |  |  | 		empresaID = (  Integer )search.getSelected(); | 
			
		
	
		
			
				
					|  |  |  |  | 		 | 
			
		
	
		
			
				
					|  |  |  |  | 		if( empresaID == null ) | 
			
		
	
	
		
			
				
					|  |  |  | @ -332,7 +332,7 @@ public class FichaWindow extends TabbedWindow | 
			
		
	
		
			
				
					|  |  |  |  | //		{
 | 
			
		
	
		
			
				
					|  |  |  |  | //			search = new SearchDialog( fdpProvider, null, true, null, true );
 | 
			
		
	
		
			
				
					|  |  |  |  | //		}
 | 
			
		
	
		
			
				
					|  |  |  |  | 		search = new SearchDialog( fdpProvider, null, true, null, true ); | 
			
		
	
		
			
				
					|  |  |  |  | 		search = new SearchDialog( fdpProvider, null, false, null, true ); | 
			
		
	
		
			
				
					|  |  |  |  | 		estabelecimentoID = ( Integer )search.getSelected(); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if( estabelecimentoID == null ) | 
			
		
	
	
		
			
				
					|  |  |  | @ -351,7 +351,7 @@ public class FichaWindow extends TabbedWindow | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		fdpProvider.setSearch( FichaDataProvider.SEARCH_TRABALHADORES ); | 
			
		
	
		
			
				
					|  |  |  |  | 		fdpProvider.setSearchID( FichaDataProvider.SEARCH_ESTABELECIMENTOS, estabelecimentoID.intValue() ); | 
			
		
	
		
			
				
					|  |  |  |  | 		search = new SearchDialog( fdpProvider, null, true, null, true ); | 
			
		
	
		
			
				
					|  |  |  |  | 		search = new SearchDialog( fdpProvider, null, false, null, true ); | 
			
		
	
		
			
				
					|  |  |  |  | 		trabalhadorID = ( Integer )search.getSelected(); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 		if( trabalhadorID == null ) | 
			
		
	
	
		
			
				
					|  |  |  | 
 |