forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
849 B
41 lines
849 B
/*
|
|
* RealizouParcialmenteAction.java
|
|
*
|
|
* Created on January 31, 2007, 6:20 PM
|
|
*
|
|
* To change this template, choose Tools | Template Manager
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package siprp.medicina.presencas.actions;
|
|
|
|
import java.awt.event.ActionEvent;
|
|
import javax.swing.AbstractAction;
|
|
import siprp.data.Marcacao;
|
|
import siprp.medicina.presencas.Presenca;
|
|
|
|
/**
|
|
*
|
|
* @author fpalma
|
|
*/
|
|
public class RealizouParcialmenteAction extends AbstractAction
|
|
{
|
|
protected Presenca presenca;
|
|
|
|
/** Creates a new instance of RealizouParcialmenteAction */
|
|
public RealizouParcialmenteAction( Presenca presenca )
|
|
{
|
|
super( "Parcialmente" );
|
|
this.presenca = presenca;
|
|
if( Marcacao.TIPO_MARCACAO_TRABALHADOR_CONSULTA == presenca.getTipo().intValue() )
|
|
{
|
|
setEnabled( false );
|
|
}
|
|
}
|
|
|
|
public void actionPerformed(ActionEvent e)
|
|
{
|
|
}
|
|
|
|
}
|