Coverage Report - de.glossmaker.gloss.observer.SelectionChangePublisher
 
Classes in this File Line Coverage Branch Coverage Complexity
SelectionChangePublisher
0%
0/10
0%
0/2
1,25
 
 1  
 package de.glossmaker.gloss.observer;
 2  
 
 3  
 import java.beans.PropertyChangeListener;
 4  
 import java.beans.PropertyChangeSupport;
 5  
 
 6  
 /**
 7  
  * 
 8  
  * 
 9  
  * @author Markus Flingelli
 10  
  */
 11  
 public class SelectionChangePublisher extends PropertyChangeSupport {
 12  
 
 13  
         private static final long serialVersionUID = 1201812038986703378L;
 14  0
         private static SelectionChangePublisher mSelectionChangePublisher = null;
 15  
         
 16  
         private SelectionChangePublisher() {
 17  0
                 super(new Object());
 18  0
         }
 19  
         
 20  
         public static SelectionChangePublisher getInstance() {
 21  0
                 if (mSelectionChangePublisher == null) {
 22  0
                         mSelectionChangePublisher = new SelectionChangePublisher();
 23  
                 }
 24  
                 
 25  0
                 return mSelectionChangePublisher;
 26  
         }
 27  
 
 28  
         @Override
 29  
         public synchronized void addPropertyChangeListener(
 30  
                         PropertyChangeListener listener) {
 31  
                 // TODO Auto-generated method stub
 32  0
                 super.addPropertyChangeListener(listener);
 33  0
         }
 34  
 
 35  
         @Override
 36  
         public synchronized void removePropertyChangeListener(
 37  
                         PropertyChangeListener listener) {
 38  
                 // TODO Auto-generated method stub
 39  0
                 super.removePropertyChangeListener(listener);
 40  0
         }
 41  
 }