databionics.esom.gui
Class ToolLoader

java.lang.Object
  extended by databionics.esom.gui.ToolLoader

public class ToolLoader
extends java.lang.Object

Author:
stammi

Field Summary
protected  Application application
          link back to main Application
protected  BackgroundTool backgroundTool
           
protected  BMInfoTool bmInfoTool
           
protected  BottomBar bottomBar
          link to the BottomBar
protected  ClassmaskTool classmaskTool
           
protected  ComponentTool componentTool
           
protected  DataclassTool dataclassTool
           
protected  DataTool dataTool
           
protected  ForegroundTool foregroundTool
           
protected  boolean gui
           
protected  InfoTool infoTool
           
protected  IslandTool islandTool
           
protected  LegendTool legendTool
           
protected static org.apache.log4j.Logger log
          interface to log4j system
protected  LogPanel logPanel
          link to the LogPanel
protected  MapViewTool mapViewTool
           
protected  OptionsTool optionsTool
           
protected  Project project
          The Project containing most of the files
protected  ProjectionTool projectionTool
           
protected  Renderer renderer
          link to the main Renderer
protected  RendererTool rendererTool
           
protected  RenderPanel renderPanel
          link to the RenderPanel
protected  SlideshowTool slideshowTool
           
protected  java.util.Hashtable toolHash
          Hashtable containing the Tools.
 
Constructor Summary
ToolLoader(boolean gui)
           
 
Method Summary
 void addTool(AbstractTool tool)
           
 Application getApplication()
           
 BackgroundTool getBackgroundTool()
           
 BMInfoTool getBmInfoTool()
           
 ClassmaskTool getClassmaskTool()
           
 ComponentTool getComponentTool()
           
 DataclassTool getDataclassTool()
           
 DataTool getDataTool()
           
 ForegroundTool getForegroundTool()
           
 InfoTool getInfoTool()
           
 IslandTool getIslandTool()
           
 LegendTool getLegendTool()
           
 LogPanel getLogPanel()
           
 Project getProject()
           
 ProjectionTool getProjectionTool()
           
 Renderer getRenderer()
           
 RendererTool getRendererTool()
           
 RenderPanel getRenderPanel()
           
 SlideshowTool getSlideshowTool()
           
 AbstractTool getToolByName(java.lang.String name)
           
 void init()
           
 void initGui(RenderPanel renderPanel, BottomBar bottomBar)
           
 void initRenderer(Renderer renderer)
           
 boolean isXYselectableTiled(int x, int y)
           
 void resetAll()
           
 void setApplication(Application application)
           
 void setLogPanel(LogPanel logPanel)
           
 void setOpinionMode(boolean opinion)
           
 void setProject(Project project)
           
 void setRenderer(Renderer renderer)
           
 void setRenderPanel(RenderPanel renderPanel)
           
protected  boolean showTool(java.lang.String name)
           
 void tiledMode(boolean tiled)
           
 void umxLoaded(boolean umx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
interface to log4j system


application

protected Application application
link back to main Application


renderPanel

protected RenderPanel renderPanel
link to the RenderPanel


bottomBar

protected BottomBar bottomBar
link to the BottomBar


renderer

protected Renderer renderer
link to the main Renderer


logPanel

protected LogPanel logPanel
link to the LogPanel


toolHash

protected java.util.Hashtable toolHash
Hashtable containing the Tools. Wil replace the explicit links.


project

protected Project project
The Project containing most of the files


classmaskTool

protected ClassmaskTool classmaskTool

islandTool

protected IslandTool islandTool

dataclassTool

protected DataclassTool dataclassTool

dataTool

protected DataTool dataTool

infoTool

protected InfoTool infoTool

legendTool

protected LegendTool legendTool

componentTool

protected ComponentTool componentTool

bmInfoTool

protected BMInfoTool bmInfoTool

slideshowTool

protected SlideshowTool slideshowTool

projectionTool

protected ProjectionTool projectionTool

backgroundTool

protected BackgroundTool backgroundTool

rendererTool

protected RendererTool rendererTool

foregroundTool

protected ForegroundTool foregroundTool

optionsTool

protected OptionsTool optionsTool

mapViewTool

protected MapViewTool mapViewTool

gui

protected boolean gui
Constructor Detail

ToolLoader

public ToolLoader(boolean gui)
Method Detail

init

public void init()

showTool

protected boolean showTool(java.lang.String name)

initGui

public void initGui(RenderPanel renderPanel,
                    BottomBar bottomBar)

initRenderer

public void initRenderer(Renderer renderer)

getClassmaskTool

public ClassmaskTool getClassmaskTool()
Returns:
Returns the classmaskTool.

resetAll

public void resetAll()

umxLoaded

public void umxLoaded(boolean umx)

tiledMode

public void tiledMode(boolean tiled)

setOpinionMode

public void setOpinionMode(boolean opinion)

getToolByName

public AbstractTool getToolByName(java.lang.String name)

addTool

public void addTool(AbstractTool tool)

getIslandTool

public IslandTool getIslandTool()
Returns:
Returns the islandTool.

getDataclassTool

public DataclassTool getDataclassTool()
Returns:
Returns the dataclassTool.

getDataTool

public DataTool getDataTool()
Returns:
Returns the dataTool.

getInfoTool

public InfoTool getInfoTool()
Returns:
Returns the infoTool.

getLegendTool

public LegendTool getLegendTool()
Returns:
Returns the legendTool.

getComponentTool

public ComponentTool getComponentTool()
Returns:
Returns the componentTool.

getLogPanel

public LogPanel getLogPanel()
Returns:
Returns the logPanel.

setLogPanel

public void setLogPanel(LogPanel logPanel)
Parameters:
logPanel - The logPanel to set.

getApplication

public Application getApplication()
Returns:

setApplication

public void setApplication(Application application)
Parameters:
application -

getSlideshowTool

public SlideshowTool getSlideshowTool()
Returns:
Returns the slideshowTool.

getProjectionTool

public ProjectionTool getProjectionTool()
Returns:
Returns the projectionTool.

getRenderer

public Renderer getRenderer()
Returns:
Returns the renderer.

setRenderer

public void setRenderer(Renderer renderer)
Parameters:
renderer - The renderer to set.

getRenderPanel

public RenderPanel getRenderPanel()
Returns:
Returns the renderPanel.

setRenderPanel

public void setRenderPanel(RenderPanel renderPanel)
Parameters:
renderPanel - The renderPanel to set.

isXYselectableTiled

public boolean isXYselectableTiled(int x,
                                   int y)

getBackgroundTool

public BackgroundTool getBackgroundTool()
Returns:
Returns the backgroundTool.

getForegroundTool

public ForegroundTool getForegroundTool()
Returns:
Returns the foregroundTool.

getRendererTool

public RendererTool getRendererTool()
Returns:
Returns the rendererTool.

getProject

public Project getProject()
Returns:
Returns the project.

setProject

public void setProject(Project project)
Parameters:
project - The project to set.

getBmInfoTool

public BMInfoTool getBmInfoTool()
Returns:
Returns the bmInfoTool.


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.