no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@217 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 20 years ago
parent 5504d9b5c6
commit eddf03a9e0

@ -19,6 +19,7 @@ import siprp.clientes.*;
import siprp.estatistica.*; import siprp.estatistica.*;
import siprp.higiene.mapa.*; import siprp.higiene.mapa.*;
import siprp.higiene.marcacoes.*; import siprp.higiene.marcacoes.*;
import siprp.impressaofichas.*;
import siprp.medicina.*; import siprp.medicina.*;
import siprp.pesquisas.*; import siprp.pesquisas.*;
/** /**
@ -28,6 +29,7 @@ import siprp.pesquisas.*;
public class SIPRPTracker extends WindowTracker public class SIPRPTracker extends WindowTracker
{ {
public static final String FICHA_APTIDAO = "Ficha de Aptid\u00e3o"; public static final String FICHA_APTIDAO = "Ficha de Aptid\u00e3o";
public static final String CRIACAO_FICHA_APTIDAO = "Cria\u00e7\u00e3o de Fichas de Aptid\u00e3o";
public static final String GESTAO_CLIENTES = "Gest\u00e3o de Clientes"; public static final String GESTAO_CLIENTES = "Gest\u00e3o de Clientes";
public static final String MEDICINA = "Medicina"; public static final String MEDICINA = "Medicina";
public static final String HIGIENE_SEGURANCA = "Higiene e Seguran\u00e7a"; public static final String HIGIENE_SEGURANCA = "Higiene e Seguran\u00e7a";
@ -74,14 +76,27 @@ public class SIPRPTracker extends WindowTracker
if( hasFicha ) if( hasFicha )
{ {
rootNode.add( new DefaultMutableTreeNode( FICHA_APTIDAO ) ); DefaultMutableTreeNode fichaNode = new DefaultMutableTreeNode( FICHA_APTIDAO );
creators.put( FICHA_APTIDAO, new WindowCreator() {
fichaNode.add( new DefaultMutableTreeNode( CRIACAO_FICHA_APTIDAO ) );
creators.put( CRIACAO_FICHA_APTIDAO, new WindowCreator() {
public TrackableWindow create() public TrackableWindow create()
throws Exception throws Exception
{ {
return new FichaWindow(); return new FichaWindow();
} }
} ); } );
fichaNode.add( new DefaultMutableTreeNode( ImpressaoFichasWindow.TITLE ) );
creators.put( ImpressaoFichasWindow.TITLE, new WindowCreator() {
public TrackableWindow create()
throws Exception
{
return new ImpressaoFichasWindow();
}
} );
rootNode.add( fichaNode );
} }
if( hasGestao ) if( hasGestao )
@ -114,21 +129,21 @@ public class SIPRPTracker extends WindowTracker
DefaultMutableTreeNode higieneNode = new DefaultMutableTreeNode( HIGIENE_SEGURANCA ); DefaultMutableTreeNode higieneNode = new DefaultMutableTreeNode( HIGIENE_SEGURANCA );
higieneNode.add( new DefaultMutableTreeNode( MapaHigieneWindow.TITLE ) ); higieneNode.add( new DefaultMutableTreeNode( MarcacoesHigieneWindow.TITLE ) );
creators.put( MapaHigieneWindow.TITLE, new WindowCreator() { creators.put( MarcacoesHigieneWindow.TITLE, new WindowCreator() {
public TrackableWindow create() public TrackableWindow create()
throws Exception throws Exception
{ {
return new MapaHigieneWindow(); return new MarcacoesHigieneWindow();
} }
} ); } );
higieneNode.add( new DefaultMutableTreeNode( MarcacoesHigieneWindow.TITLE ) ); higieneNode.add( new DefaultMutableTreeNode( MapaHigieneWindow.TITLE ) );
creators.put( MarcacoesHigieneWindow.TITLE, new WindowCreator() { creators.put( MapaHigieneWindow.TITLE, new WindowCreator() {
public TrackableWindow create() public TrackableWindow create()
throws Exception throws Exception
{ {
return new MarcacoesHigieneWindow(); return new MapaHigieneWindow();
} }
} ); } );

Loading…
Cancel
Save