de.miethxml.hawron.gui.context
Class ContextView

java.lang.Object
  extended byde.miethxml.hawron.gui.context.ContextView
All Implemented Interfaces:
Configurable, ContextViewComponent, org.apache.avalon.framework.activity.Disposable, GuiConfigurable, org.apache.avalon.framework.activity.Initializable, ProjectComponent, ProjectViewComponent, RepositorySelectionListener, org.apache.avalon.framework.service.Serviceable

public class ContextView
extends java.lang.Object
implements RepositorySelectionListener, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Initializable, ProjectViewComponent, org.apache.avalon.framework.activity.Disposable, GuiConfigurable, ContextViewComponent

Author:
Simon Mieth

Constructor Summary
ContextView()
          Deprecated.  
ContextView(java.lang.String baseDir)
          Deprecated.  
 
Method Summary
 void directorySelected(Reloadable model, FileModel directory)
          Deprecated.  
 void dispose()
          Deprecated.  
 void fileSelected(Reloadable model, FileModel file)
          Deprecated.  
 javax.swing.JComponent getDockComponent()
          Deprecated. This JPanel will be added to the left InfoPanel and will be activated with this ProjectViewComponent.
 javax.swing.Icon getIcon()
          Deprecated. The accociated icon of this component.
 java.lang.String getKey()
          Deprecated.  
 java.lang.String getLabel()
          Deprecated.  
 java.lang.String getLabel(java.lang.String lang)
          Deprecated. Gives the title/label for the current language like "en" for english or "de" for german.
 java.io.File getSelectedFile()
          Deprecated.  
 javax.swing.JComponent getSetupComponent()
          Deprecated.  
 javax.swing.JComponent getViewComponent()
          Deprecated. Gives the Component, which will be added to the ProjectView.This should be the main Component.
 void init()
          Deprecated.  
 void initialize()
          Deprecated.  
 boolean isSetup()
          Deprecated.  
 boolean isShowButtonPanels()
          Deprecated.  
 void service(org.apache.avalon.framework.service.ServiceManager manager)
          Deprecated.  
 void setBaseLocation(java.lang.String dir)
          Deprecated.  
 void setCheckSupportedExtensions(boolean b)
          Deprecated.  
 void setEnabled(boolean state)
          Deprecated. The Defaultimplementation of the ProjectView use a JTabbedPane and each tab is a ProjectViewComponent.
 void setProject(Project project)
          Deprecated.  
 void setup()
          Deprecated.  
 void showButtonPanels(boolean state)
          Deprecated.  
 void unselect()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextView

public ContextView()
Deprecated. 

ContextView

public ContextView(java.lang.String baseDir)
Deprecated. 
Method Detail

initialize

public void initialize()
Deprecated. 
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable

setBaseLocation

public void setBaseLocation(java.lang.String dir)
Deprecated. 
Specified by:
setBaseLocation in interface ContextViewComponent

directorySelected

public void directorySelected(Reloadable model,
                              FileModel directory)
Deprecated. 
Specified by:
directorySelected in interface RepositorySelectionListener

fileSelected

public void fileSelected(Reloadable model,
                         FileModel file)
Deprecated. 
Specified by:
fileSelected in interface RepositorySelectionListener

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Deprecated. 
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException

showButtonPanels

public void showButtonPanels(boolean state)
Deprecated. 
Specified by:
showButtonPanels in interface ContextViewComponent

isShowButtonPanels

public boolean isShowButtonPanels()
Deprecated. 
Specified by:
isShowButtonPanels in interface ContextViewComponent

getDockComponent

public javax.swing.JComponent getDockComponent()
Deprecated. 
Description copied from interface: ProjectViewComponent
This JPanel will be added to the left InfoPanel and will be activated with this ProjectViewComponent. If you dont need this feature, simple return null;

Specified by:
getDockComponent in interface ProjectViewComponent

getKey

public java.lang.String getKey()
Deprecated. 
Specified by:
getKey in interface ProjectViewComponent

getLabel

public java.lang.String getLabel(java.lang.String lang)
Deprecated. 
Description copied from interface: ProjectViewComponent
Gives the title/label for the current language like "en" for english or "de" for german.

Specified by:
getLabel in interface ProjectViewComponent

getIcon

public javax.swing.Icon getIcon()
Deprecated. 
Description copied from interface: ProjectViewComponent
The accociated icon of this component.

Specified by:
getIcon in interface ProjectViewComponent
Returns:
the icon or null

getViewComponent

public javax.swing.JComponent getViewComponent()
Deprecated. 
Description copied from interface: ProjectViewComponent
Gives the Component, which will be added to the ProjectView.This should be the main Component.

Specified by:
getViewComponent in interface ProjectViewComponent

setProject

public void setProject(Project project)
Deprecated. 
Specified by:
setProject in interface ProjectComponent

getSelectedFile

public java.io.File getSelectedFile()
Deprecated. 

init

public void init()
Deprecated. 

unselect

public void unselect()
Deprecated. 
Specified by:
unselect in interface RepositorySelectionListener

setEnabled

public void setEnabled(boolean state)
Deprecated. 
Description copied from interface: ProjectViewComponent
The Defaultimplementation of the ProjectView use a JTabbedPane and each tab is a ProjectViewComponent. If the user activate a tab setEnabled(true) will be called at this ProjectViewComponent. If you want to react, do it here.

Specified by:
setEnabled in interface ProjectViewComponent

dispose

public void dispose()
Deprecated. 
Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable

getLabel

public java.lang.String getLabel()
Deprecated. 
Specified by:
getLabel in interface GuiConfigurable

getSetupComponent

public javax.swing.JComponent getSetupComponent()
Deprecated. 
Specified by:
getSetupComponent in interface GuiConfigurable

isSetup

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

setup

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

setCheckSupportedExtensions

public void setCheckSupportedExtensions(boolean b)
Deprecated. 
Specified by:
setCheckSupportedExtensions in interface ContextViewComponent