org.cogchar.bind.rk.aniconv.ui
Class ConfigSelector<T>

java.lang.Object
  extended by org.robokind.api.common.property.PropertyChangeNotifier
      extended by org.robokind.api.common.osgi.ServiceClassListener<T>
          extended by org.cogchar.bind.rk.aniconv.ui.ConfigSelector<T>
All Implemented Interfaces:
EventListener, org.osgi.framework.ServiceListener, org.robokind.api.common.property.PropertyChangeSource

public class ConfigSelector<T>
extends org.robokind.api.common.osgi.ServiceClassListener<T>

Author:
Matthew Stevenson

Field Summary
 
Fields inherited from class org.robokind.api.common.osgi.ServiceClassListener
PROP_SERVICE_ADDED, PROP_SERVICE_REMOVED
 
Constructor Summary
ConfigSelector(org.osgi.framework.BundleContext context, Class<T> type)
           
 
Method Summary
protected  void addService(T t)
           
 org.jflux.api.core.Notifier<T> getAddNotifier()
           
 List<T> getAvailableConfigs()
           
 org.jflux.api.core.Notifier<T> getRemoveNotifier()
           
 Class<T> getType()
           
protected  void removeService(T t)
           
 
Methods inherited from class org.robokind.api.common.osgi.ServiceClassListener
getServiceReferences, getTopService, serviceChanged, start, stop
 
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigSelector

public ConfigSelector(org.osgi.framework.BundleContext context,
                      Class<T> type)
Method Detail

getType

public Class<T> getType()

addService

protected void addService(T t)
Overrides:
addService in class org.robokind.api.common.osgi.ServiceClassListener<T>

removeService

protected void removeService(T t)
Overrides:
removeService in class org.robokind.api.common.osgi.ServiceClassListener<T>

getAvailableConfigs

public List<T> getAvailableConfigs()

getAddNotifier

public org.jflux.api.core.Notifier<T> getAddNotifier()

getRemoveNotifier

public org.jflux.api.core.Notifier<T> getRemoveNotifier()


Copyright © 2010-2013. All Rights Reserved.