Coverage Report - org.openpermis.editor.policy.view.ViewContextListener
 
Classes in this File Line Coverage Branch Coverage Complexity
ViewContextListener
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.editor.policy.view;
 11  
 
 12  
 import org.openpermis.editor.policy.gui.event.EventListener;
 13  
 
 14  
 /**
 15  
  * Listener for view changes on a view context.
 16  
  * @since 0.1.0
 17  
  */
 18  
 public interface ViewContextListener
 19  
         extends EventListener
 20  
 {
 21  
 
 22  
         //---- Methods
 23  
 
 24  
         /**
 25  
          * Indicates that a view has been activated in a view context.
 26  
          * @param view the view that has been activated.
 27  
          * @since 0.1.0
 28  
          */
 29  
         public void viewActivated (View view);
 30  
         
 31  
         /**
 32  
          * Indicates that a view has been deactivated in a view context.
 33  
          * @param view the view that has been deactivated.
 34  
          * @since 0.1.0
 35  
          */
 36  
         public void viewDeactivated (View view);
 37  
         
 38  
         /**
 39  
          * Indicates that a view has been opened in a view context.
 40  
          * @param view the view that has been opened.
 41  
          * @since 0.1.0
 42  
          */
 43  
         public void viewOpened (View view);
 44  
         
 45  
         /**
 46  
          * Indicates that a view has been closed in a view context.
 47  
          * @param view the view that has been closed.
 48  
          * @since 0.1.0
 49  
          */
 50  
         public void viewClosed (View view);
 51  
         
 52  
 }