SRJRCFrames
v0.1.296

de.schwarzrot.ui.service
Class SelectionPopupFactory

java.lang.Object
  extended by de.schwarzrot.ui.service.SelectionPopupFactory

public class SelectionPopupFactory
extends Object

is a factory that serves SelectionPopupProviders based on given Entity class. Main usage is for loadable applications, that need to use a selection-popup-service coded in another application. With this factory, an application may register its popup-provider and all other applications may use it.

The SelectionPopupFactory is itself a registered application service, which is accessible through the singleton ApplicationServiceProvider.

Author:
Reinhard Mantey
See Also:
ApplicationServiceProvider, SelectionPopupProvider

Constructor Summary
SelectionPopupFactory()
           
 
Method Summary
<E extends Entity>
SelectionPopupProvider<E>
getSelectionPopupProviderFor(Class<E> entity)
           
<E extends Entity>
void
registerSelectionPopupProvider(Class<E> entity, SelectionPopupProvider<?> service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionPopupFactory

public SelectionPopupFactory()
Method Detail

getSelectionPopupProviderFor

public <E extends Entity> SelectionPopupProvider<E> getSelectionPopupProviderFor(Class<E> entity)

registerSelectionPopupProvider

public <E extends Entity> void registerSelectionPopupProvider(Class<E> entity,
                                                              SelectionPopupProvider<?> service)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.