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