Coverage Report - org.jtheque.core.managers.view.impl.actions.event.UpdateAction
 
Classes in this File Line Coverage Branch Coverage Complexity
UpdateAction
0 %
0/4
N/A
1
 
 1  
 package org.jtheque.core.managers.view.impl.actions.event;
 2  
 
 3  
 import org.jtheque.core.managers.view.able.ILogView;
 4  
 import org.jtheque.core.managers.view.impl.actions.JThequeAction;
 5  
 import org.jtheque.core.utils.CoreUtils;
 6  
 
 7  
 import java.awt.event.ActionEvent;
 8  
 
 9  
 /*
 10  
  * This file is part of JTheque.
 11  
  *
 12  
  * JTheque is free software: you can redistribute it and/or modify
 13  
  * it under the terms of the GNU General Public License as published by
 14  
  * the Free Software Foundation, either version 3 of the License.
 15  
  *
 16  
  * JTheque is distributed in the hope that it will be useful,
 17  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 18  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 19  
  * GNU General Public License for more details.
 20  
  *
 21  
  * You should have received a copy of the GNU General Public License
 22  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 23  
  */
 24  
 
 25  
 /**
 26  
  * An action to update the event view.
 27  
  *
 28  
  * @author Baptiste Wicht
 29  
  */
 30  
 public final class UpdateAction extends JThequeAction {
 31  
     /**
 32  
      * Construct a new UpdateAction.
 33  
      */
 34  
     public UpdateAction() {
 35  0
         super("log.view.actions.update");
 36  0
     }
 37  
 
 38  
     @Override
 39  
     public void actionPerformed(ActionEvent e) {
 40  0
         CoreUtils.<ILogView>getBean("logView").refresh();
 41  0
     }
 42  
 }