insensa.controller
Class CController

java.lang.Object
  extended by insensa.controller.CController

public class CController
extends java.lang.Object

This class is the main class for setting action. CController knows the model and View and changes information between them

Author:
dennis

Nested Class Summary
(package private)  class CController.AddAllSensitivityConnectionsListener
           
(package private)  class CController.AddConnectionMultiListener
           
(package private)  class CController.AddFilesToFileSet
           
(package private)  class CController.AddFileToModulationSet
           
(package private)  class CController.AddFolderToFileSet
           
(package private)  class CController.AddInformationReaderListener
           
(package private)  class CController.AddOptionFileChangerListener
           
(package private)  class CController.AddStandardisationListener
          Deprecated.  
(package private)  class CController.CloseCViewListener
          Check if there is a Description left to Save
(package private)  class CController.CreateNewUserListener
           
(package private)  class CController.DescriptionFocusListener
           
(package private)  class CController.DropTargetTreeListener
           
(package private)  class CController.ExecuteAllConnections
           
(package private)  class CController.ExecuteAllInformationReader
          Class for Executing all open selected inforeader
(package private)  class CController.ExecuteAllOptionFileChanger
           
(package private)  class CController.ExecuteConnectionListener
           
(package private)  class CController.ExecuteInfoReader
          Class for executing selected inforeader
(package private)  class CController.FolderImportListener
           
private  class CController.ImportConfigActionListener
          ActionListener for importing an old config file.
(package private)  class CController.MouseOnFileSetTreeListener
           
(package private)  class CController.MouseOnImage
           
(package private)  class CController.MouseOnModulationSetTreeListener
          Deprecated.  
(package private)  class CController.NewChildFileSetListener
           
(package private)  class CController.NewModulationSetListener
          Deprecated. never used
(package private)  class CController.NewProjectListener
           
(package private)  class CController.OpenDialogAboutListener
          Starts the about window
(package private)  class CController.OpenHelpActionListener
           
(package private)  class CController.OpenProjectListener
           
(package private)  class CController.RefreshTreeListener
           
(package private)  class CController.ReziseSplitPane
           
(package private)  class CController.Test2ActionListener
          Second Test Class
(package private)  class CController.TestActionListener
          Test Class
(package private)  class CController.TreeChangeListener
           
(package private)  class CController.TreeKeyListener
           
 
Field Summary
private  ChooseOutputDialog chooseOutput
           
private  ExtensionManager exManager
           
private  javax.swing.JFileChooser folderFileChooser
           
private  ImageViewToolBarController imageViewToolBarController
           
private  boolean listenerAdded
           
private  CModel model
           
private  CView view
           
 
Constructor Summary
CController(CModel mModel, CView mView, ExtensionManager exManager)
           
 
Method Summary
 void addNewActionListener()
          Defines all actions once a Project is opened.
 CController getController()
           
 void setChooseOutput(ChooseOutputDialog chooseOutput)
           
 void setProperties(CRasterFileInformation rasterFile)
           
 void treePopupFunction(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private CModel model

view

private CView view

folderFileChooser

private javax.swing.JFileChooser folderFileChooser

chooseOutput

private ChooseOutputDialog chooseOutput

exManager

private ExtensionManager exManager

listenerAdded

private boolean listenerAdded

imageViewToolBarController

private ImageViewToolBarController imageViewToolBarController
Constructor Detail

CController

public CController(CModel mModel,
                   CView mView,
                   ExtensionManager exManager)
Parameters:
mModel -
mView -
exManager - Constructor All actions that should be defined at startup are assign here
Method Detail

addNewActionListener

public void addNewActionListener()
Defines all actions once a Project is opened.


getController

public CController getController()
Returns:

setChooseOutput

public void setChooseOutput(ChooseOutputDialog chooseOutput)
Parameters:
chooseOutput -

setProperties

public void setProperties(CRasterFileInformation rasterFile)
Parameters:
rasterFile -

treePopupFunction

public void treePopupFunction(java.awt.event.MouseEvent e)
Parameters:
e -