forked from Coded/SIPRP
no message
git-svn-id: https://svn.coded.pt/svn/SIPRP@84 bb69d46d-e84e-40c8-a05a-06db0d6337410'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
parent
5fefd5b2d2
commit
2c72acd101
@ -0,0 +1,53 @@
|
||||
/*
|
||||
* SIPRPTracker.java
|
||||
*
|
||||
* Created on 18 de Maio de 2004, 19:46
|
||||
*/
|
||||
|
||||
package siprp;
|
||||
|
||||
import javax.swing.*;
|
||||
import javax.swing.tree.*;
|
||||
import java.util.*;
|
||||
|
||||
import com.evolute.utils.tracker.*;
|
||||
|
||||
import siprp.ficha.*;
|
||||
import siprp.clientes.*;
|
||||
/**
|
||||
*
|
||||
* @author fpalma
|
||||
*/
|
||||
public class SIPRPTracker extends WindowTracker
|
||||
{
|
||||
public static final String FICHA_APTIDAO = "Ficha de Aptid\u00e3o";
|
||||
public static final String GESTAO_CLIENTES = "Gest\u00e3o de Clientes";
|
||||
|
||||
/** Creates a new instance of SIPRPTracker */
|
||||
public SIPRPTracker()
|
||||
{
|
||||
Hashtable creators = new Hashtable();
|
||||
DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode( "SIPRP" );
|
||||
|
||||
rootNode.add( new DefaultMutableTreeNode( FICHA_APTIDAO ) );
|
||||
creators.put( FICHA_APTIDAO, new WindowCreator() {
|
||||
public TrackableWindow create()
|
||||
throws Exception
|
||||
{
|
||||
return new FichaWindow();
|
||||
}
|
||||
} );
|
||||
|
||||
rootNode.add( new DefaultMutableTreeNode( GESTAO_CLIENTES ) );
|
||||
creators.put( GESTAO_CLIENTES, new WindowCreator() {
|
||||
public TrackableWindow create()
|
||||
throws Exception
|
||||
{
|
||||
return new ClientesWindow();
|
||||
}
|
||||
} );
|
||||
|
||||
setRoot( rootNode );
|
||||
setCreators( creators );
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue