Coverage Report - org.openpermis.editor.policy.gui.dock.DockControlListener
 
Classes in this File Line Coverage Branch Coverage Complexity
DockControlListener
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.gui.dock;
 11  
 
 12  
 import org.openpermis.editor.policy.gui.event.EventListener;
 13  
 import org.openpermis.editor.policy.view.View;
 14  
 
 15  
 /**
 16  
  * Listener for view changes on a dock control.
 17  
  * @since 0.1.0
 18  
  */
 19  
 public interface DockControlListener
 20  
         extends EventListener
 21  
 {
 22  
 
 23  
         //---- Methods
 24  
 
 25  
         /**
 26  
          * Indicates that a view has been activated in a dock control.
 27  
          * @param view the view that has been activated.
 28  
          * @since 0.1.0
 29  
          */
 30  
         public void viewActivated (View view);
 31  
         
 32  
         /**
 33  
          * Indicates that a view has been deactivated in a dock control.
 34  
          * @param view the view that has been deactivated.
 35  
          * @since 0.1.0
 36  
          */
 37  
         public void viewDeactivated (View view);
 38  
         
 39  
         /**
 40  
          * Indicates that a view has been opened in a dock control.
 41  
          * @param view the view that has been opened.
 42  
          * @since 0.1.0
 43  
          */
 44  
         public void viewOpened (View view);
 45  
         
 46  
         /**
 47  
          * Indicates that a view has been closed in a dock control.
 48  
          * @param view the view that has been closed.
 49  
          * @since 0.1.0
 50  
          */
 51  
         public void viewClosed (View view);
 52  
         
 53  
 }