de.miethxml.hawron.gui.context.viewer
Class ViewerManagerImpl

java.lang.Object
  extended byde.miethxml.hawron.gui.context.AbstractContextViewHandler
      extended byde.miethxml.hawron.gui.context.viewer.ViewerManagerImpl
All Implemented Interfaces:
Configurable, LocaleListener, PluginReceiver, SetupProcessListener, ViewerManager

public class ViewerManagerImpl
extends AbstractContextViewHandler
implements PluginReceiver, Configurable, LocaleListener, ViewerManager, SetupProcessListener

This is the implementaion of ViewerManager and can handle buildin Viewer, PluginViewer and ExternalViewer (native applications).

Author:
Simon Mieth

Field Summary
 
Fields inherited from class de.miethxml.hawron.gui.context.AbstractContextViewHandler
appSetup, fsModel, pluginManager, searchEngine
 
Fields inherited from interface de.miethxml.toolkit.plugins.PluginReceiver
RECEIVE_ALL_PLUGINS
 
Constructor Summary
ViewerManagerImpl()
           
ViewerManagerImpl(PluginManager pluginManager, SearchEngine search, RepositoryModel fsModel, ApplicationSetup setup)
           
 
Method Summary
 void addPlugin(java.lang.Object obj)
           
 void dispose()
           
 void endSetup()
           
 javax.swing.JComponent getButtonPanel()
           
 java.util.Collection getInterfaces()
           
 javax.swing.JMenu getViewerMenu()
           
 void initialize()
           
 boolean isSetup()
           
 void langChanged()
           
 void removePlugin(java.lang.Object obj)
           
 void setCheckSupportedExtensions(boolean b)
           
 void setup()
           
 void startSetup()
           
 
Methods inherited from class de.miethxml.hawron.gui.context.AbstractContextViewHandler
setApplicationSetup, setPluginManager, setRepositoryModel, setSearchEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewerManagerImpl

public ViewerManagerImpl()

ViewerManagerImpl

public ViewerManagerImpl(PluginManager pluginManager,
                         SearchEngine search,
                         RepositoryModel fsModel,
                         ApplicationSetup setup)
Method Detail

initialize

public void initialize()

dispose

public void dispose()

getInterfaces

public java.util.Collection getInterfaces()
Specified by:
getInterfaces in interface PluginReceiver

addPlugin

public void addPlugin(java.lang.Object obj)
Specified by:
addPlugin in interface PluginReceiver

removePlugin

public void removePlugin(java.lang.Object obj)
Specified by:
removePlugin in interface PluginReceiver

isSetup

public boolean isSetup()
Specified by:
isSetup in interface Configurable

setup

public void setup()
Specified by:
setup in interface Configurable

langChanged

public void langChanged()
Specified by:
langChanged in interface LocaleListener

getButtonPanel

public javax.swing.JComponent getButtonPanel()
Specified by:
getButtonPanel in interface ViewerManager

getViewerMenu

public javax.swing.JMenu getViewerMenu()
Specified by:
getViewerMenu in interface ViewerManager

setCheckSupportedExtensions

public void setCheckSupportedExtensions(boolean b)
Specified by:
setCheckSupportedExtensions in interface ViewerManager

endSetup

public void endSetup()
Specified by:
endSetup in interface SetupProcessListener

startSetup

public void startSetup()
Specified by:
startSetup in interface SetupProcessListener