de.miethxml.hawron.gui.context
Class ContextViewComponentImpl
java.lang.Object
de.miethxml.hawron.gui.context.ContextViewComponentImpl
- All Implemented Interfaces:
- Configurable, org.apache.avalon.framework.configuration.Configurable, ContextViewComponent, org.apache.avalon.framework.activity.Disposable, GuiConfigurable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, RepositorySelectionListener, org.apache.avalon.framework.service.Serviceable
- Direct Known Subclasses:
- ProjectContextViewComponent
- public class ContextViewComponentImpl
- extends java.lang.Object
- implements RepositorySelectionListener, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable, GuiConfigurable, ContextViewComponent, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled
- Author:
- Simon Mieth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextBase
protected java.lang.String contextBase
logger
protected org.apache.avalon.framework.logger.Logger logger
destinationList
protected javax.swing.JComboBox destinationList
taskBuildDir
protected javax.swing.JComboBox taskBuildDir
initialized
protected boolean initialized
fsModel
protected RepositoryModel fsModel
pluginManager
protected PluginManager pluginManager
searchEngine
protected SearchEngineImpl searchEngine
editmanager
protected EditorManagerImpl editmanager
viewermanager
protected ViewerManagerImpl viewermanager
actionmanager
protected ActionManagerImpl actionmanager
bookmarkView
protected BookmarkView bookmarkView
appSetup
protected ApplicationSetup appSetup
setup
protected ContextSetup setup
fileModelManager
protected FileModelManager fileModelManager
showingTree
protected boolean showingTree
showingTable
protected boolean showingTable
ContextViewComponentImpl
public ContextViewComponentImpl()
ContextViewComponentImpl
public ContextViewComponentImpl(java.lang.String baseDir)
initialize
public void initialize()
- Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
setBaseLocation
public void setBaseLocation(java.lang.String uri)
- Specified by:
setBaseLocation in interface ContextViewComponent
directorySelected
public void directorySelected(Reloadable model,
FileModel fm)
- Specified by:
directorySelected in interface RepositorySelectionListener
fileSelected
public void fileSelected(Reloadable model,
FileModel fm)
- Specified by:
fileSelected in interface RepositorySelectionListener
service
public void service(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
showButtonPanels
public void showButtonPanels(boolean state)
- Specified by:
showButtonPanels in interface ContextViewComponent
isShowButtonPanels
public boolean isShowButtonPanels()
- Specified by:
isShowButtonPanels in interface ContextViewComponent
getLabel
public java.lang.String getLabel(java.lang.String lang)
getIcon
public javax.swing.Icon getIcon()
getViewComponent
public javax.swing.JComponent getViewComponent()
init
public void init()
unselect
public void unselect()
- Specified by:
unselect in interface RepositorySelectionListener
setEnabled
public void setEnabled(boolean state)
dispose
public void dispose()
- Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel in interface GuiConfigurable
getSetupComponent
public javax.swing.JComponent getSetupComponent()
- Specified by:
getSetupComponent in interface GuiConfigurable
isSetup
public boolean isSetup()
- Specified by:
isSetup in interface Configurable
setup
public void setup()
- Specified by:
setup in interface Configurable
setCheckSupportedExtensions
public void setCheckSupportedExtensions(boolean b)
- Specified by:
setCheckSupportedExtensions in interface ContextViewComponent
configure
public void configure(org.apache.avalon.framework.configuration.Configuration conf)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
enableLogging
public void enableLogging(org.apache.avalon.framework.logger.Logger log)
- Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled
isShowingTable
public boolean isShowingTable()
- Returns:
- Returns the showingTable.
setShowingTable
public void setShowingTable(boolean showingTable)
- Parameters:
showingTable - The showingTable to set.
isShowingTree
public boolean isShowingTree()
- Returns:
- Returns the showingTree.
setShowingTree
public void setShowingTree(boolean showingTree)
- Parameters:
showingTree - The showingTree to set.