no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@359 bb69d46d-e84e-40c8-a05a-06db0d633741
Frederico Palma 19 years ago
parent e84392d23c
commit cfebfdc9f1

@ -123,6 +123,8 @@ public class ProcessoController
try try
{ {
idProcesso = e.getObjecto( ProcessoEvent.TIPO_PROCESSO ); idProcesso = e.getObjecto( ProcessoEvent.TIPO_PROCESSO );
processoPanel.fill( idProcesso );
detalhesProcessoPanel.clear();
} }
catch( Exception ex ) catch( Exception ex )
{ {
@ -133,7 +135,13 @@ public class ProcessoController
{ {
try try
{ {
Integer idProcessoAntigo = idProcesso;
idProcesso = e.getObjecto( ProcessoEvent.TIPO_PROCESSO ); idProcesso = e.getObjecto( ProcessoEvent.TIPO_PROCESSO );
if( !idProcesso.equals( idProcessoAntigo ) )
{
processoPanel.fill( idProcesso );
}
idMarcacao = e.getObjecto( ProcessoEvent.TIPO_CONSULTA ); idMarcacao = e.getObjecto( ProcessoEvent.TIPO_CONSULTA );
} }
catch( Exception ex ) catch( Exception ex )

@ -7,7 +7,7 @@
* and open the template in the editor. * and open the template in the editor.
*/ */
package siprp.medicina.processo; package siprp.medicina.processo.detalhes;
import com.evolute.utils.ui.calendar.JCalendarPanel; import com.evolute.utils.ui.calendar.JCalendarPanel;
import info.clearthought.layout.TableLayout; import info.clearthought.layout.TableLayout;

@ -34,4 +34,8 @@ public class DetalhesProcessoPanel extends JPanel
{ {
PROCESSO_LISTENERS.add( listener ); PROCESSO_LISTENERS.add( listener );
} }
public void clear()
{
}
} }

Loading…
Cancel
Save