no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@348 bb69d46d-e84e-40c8-a05a-06db0d633741
Frederico Palma 19 years ago
parent 643daa0522
commit 12856eb55f

@ -50,7 +50,6 @@ public class ProcessoPanel extends JPanel
{ {
this.estruturaPanel = estruturaPanel; this.estruturaPanel = estruturaPanel;
setupComponents(); setupComponents();
estruturaPanel.addTreeSelectionListener( this );
} }

@ -13,12 +13,18 @@ package siprp.medicina.processo.estrutura;
* *
* @author Frederico * @author Frederico
*/ */
public class ProcessoMutableTreeNode public class ProcessoMutableTreeNode extends EstruturaProcessoMutableTreeNode
{ {
public static final String ICON_PATH = "/siprp/medicina/processo/estrutura/icons/processo.png";
/** Creates a new instance of ProcessoMutableTreeNode */ /** Creates a new instance of ProcessoMutableTreeNode */
public ProcessoMutableTreeNode() public ProcessoMutableTreeNode( Integer id, String descricao )
{ {
super( id, descricao );
} }
} protected String getIconPath()
{
return ICON_PATH;
}
}

@ -0,0 +1,30 @@
/*
* TrabalhadorMutableTreeNode.java
*
* Created on 29 de Abril de 2007, 23:53
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package siprp.medicina.processo.estrutura;
/**
*
* @author Frederico
*/
public class TrabalhadorMutableTreeNode extends EstruturaProcessoMutableTreeNode
{
public static final String ICON_PATH = "/siprp/medicina/processo/estrutura/icons/trabalhador.png";
/** Creates a new instance of TrabalhadorMutableTreeNode */
public TrabalhadorMutableTreeNode( Integer id, String descricao )
{
super( id, descricao );
}
protected String getIconPath()
{
return ICON_PATH;
}
}
Loading…
Cancel
Save