diff --git a/trunk/siprp/SIPRPTracker.java b/trunk/siprp/SIPRPTracker.java index 90631a95..a07f4382 100644 --- a/trunk/siprp/SIPRPTracker.java +++ b/trunk/siprp/SIPRPTracker.java @@ -157,14 +157,14 @@ public class SIPRPTracker extends WindowTracker } } ); - medicinaNode.add( new DefaultMutableTreeNode( PrestadoresWindow.TITLE ) ); - creators.put( PrestadoresWindow.TITLE, new WindowCreator() { - public TrackableWindow create() - throws Exception - { - return new PrestadoresWindow(); - } - } ); +// medicinaNode.add( new DefaultMutableTreeNode( PrestadoresWindow.TITLE ) ); +// creators.put( PrestadoresWindow.TITLE, new WindowCreator() { +// public TrackableWindow create() +// throws Exception +// { +// return new PrestadoresWindow(); +// } +// } ); rootNode.add( medicinaNode ); diff --git a/trunk/siprp/lembretes/remarcacoes/LembretesRemarcacaoPanel.java b/trunk/siprp/lembretes/remarcacoes/LembretesRemarcacaoPanel.java index 2854b5e9..1822001b 100644 --- a/trunk/siprp/lembretes/remarcacoes/LembretesRemarcacaoPanel.java +++ b/trunk/siprp/lembretes/remarcacoes/LembretesRemarcacaoPanel.java @@ -58,7 +58,7 @@ public class LembretesRemarcacaoPanel extends JPanel new RemarcacoesActionFactory[]{ }, new RemarcacoesActionFactory[]{ new RemarcacoesActionFactory( RemarcacoesActionFactory.ESTABELECIMENTO ) } ); listEstabelecimentosScroll = - new JScrollPane( listTrabalhadoresPanel, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, + new JScrollPane( listEstabelecimentosPanel, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER ); setLayout( new GridLayout( 1, 2 ) ); JPanel trabalhadoresPanel = new JPanel(); @@ -77,7 +77,6 @@ public class LembretesRemarcacaoPanel extends JPanel Lembrete lembretes[] = provider.getLembretesByTipo( provider.getTipoLembreteByCodigo( CODE_REMARCACOES ).getID() ); -System.out.println( "\nLEMBRETES: " + lembretes.length ) ; List trabalhadores = new Vector(); List estabelecimentos = new Vector(); for( int n = 0; n < lembretes.length; n++ ) @@ -92,10 +91,12 @@ System.out.println( "\nLEMBRETES: " + lembretes.length ) ; { } } -System.out.println( "\nTRABALHADORES: " + trabalhadores.size() ) ; listTrabalhadoresPanel.showList( trabalhadores.toArray( new IDObject[ trabalhadores.size() ] ) ); listEstabelecimentosPanel.showList( estabelecimentos.toArray( new IDObject[ estabelecimentos.size() ] ) ); - - listTrabalhadoresScroll.setViewportView( listTrabalhadoresPanel ); + } + + protected String criarDetalhesMarcacaoTrabalhador( Integer marcacaoID ) + { + return null; } }