insensa.controller
Class CControllerFileEditing
java.lang.Object
insensa.controller.CControllerFileEditing
public class CControllerFileEditing
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileNodeList
private java.util.List<javax.swing.tree.DefaultMutableTreeNode> fileNodeList
fileList
private java.util.List<CRasterFileInformation> fileList
fileSetNodeList
private java.util.List<javax.swing.tree.DefaultMutableTreeNode> fileSetNodeList
fileSetList
private java.util.List<CRasterFileSet> fileSetList
infoReaderNodeList
private java.util.List<javax.swing.tree.DefaultMutableTreeNode> infoReaderNodeList
infoReaderList
private java.util.List<InfoReader> infoReaderList
optionNodeList
private java.util.List<javax.swing.tree.DefaultMutableTreeNode> optionNodeList
optionFileChangerList
private java.util.List<OptionFileChanger> optionFileChangerList
connectionNodeList
private java.util.List<javax.swing.tree.DefaultMutableTreeNode> connectionNodeList
connectionList
private java.util.List<ConnectionFileChanger> connectionList
view
private CView view
model
private CModel model
treePaths
private javax.swing.tree.TreePath[] treePaths
targetTreeNode
private javax.swing.tree.DefaultMutableTreeNode targetTreeNode
CControllerFileEditing
public CControllerFileEditing(javax.swing.tree.TreePath[] treePaths,
CView view,
CModel model)
- Parameters:
treePaths
- insensa.view
- model
-
checkFilesInFileSet
private boolean checkFilesInFileSet(CRasterFileSet fileSet)
- Parameters:
fileSet
-
- Returns:
copyFiles
public void copyFiles()
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteConnection
private void deleteConnection(ConnectionFileChanger con)
throws java.io.IOException
- Parameters:
con
-
- Throws:
java.io.IOException
executeAllConnections
public void executeAllConnections()
throws java.io.IOException
- Throws:
java.io.IOException
executeAllInfoReaders
public void executeAllInfoReaders()
executeAllOptionFileChanger
public void executeAllOptionFileChanger()
getConnectionList
public java.util.List<ConnectionFileChanger> getConnectionList()
- Returns:
getConnectionNodeList
public java.util.List<javax.swing.tree.DefaultMutableTreeNode> getConnectionNodeList()
- Returns:
getFileList
public java.util.List<CRasterFileInformation> getFileList()
- Returns:
getFileNodeList
public java.util.List<javax.swing.tree.DefaultMutableTreeNode> getFileNodeList()
- Returns:
getFileSetList
public java.util.List<CRasterFileSet> getFileSetList()
- Returns:
- the fileSetList
getFileParentNodes
public java.util.List<javax.swing.tree.DefaultMutableTreeNode> getFileParentNodes()
- Returns:
getInfoConnectionList
public java.util.List<InfoConnection> getInfoConnectionList()
- Returns:
getInfoReaderList
public java.util.List<InfoReader> getInfoReaderList()
- Returns:
getNumOfDifferentObjects
public int getNumOfDifferentObjects()
- Returns:
getReadInfoReaderCount
public int getReadInfoReaderCount()
- Returns:
getReadInfoReaderList
public java.util.List<InfoReader> getReadInfoReaderList()
- Returns:
getReadInfoReaderNodeList
public java.util.List<javax.swing.tree.DefaultMutableTreeNode> getReadInfoReaderNodeList()
- Returns:
getTargetTreeNode
public javax.swing.tree.DefaultMutableTreeNode getTargetTreeNode()
- Returns:
moveFiles
public void moveFiles()
throws java.lang.Exception
- Throws:
java.lang.Exception
removeDescendantNodes
public void removeDescendantNodes()
removeSelectedConnection
public void removeSelectedConnection()
throws java.io.IOException
- FIXME nicht mehr genutzt seitdem die Connection an der Datei sind anstatt
an einem FileSet.
- Throws:
java.io.IOException
removeSelectedFiles
public void removeSelectedFiles()
throws java.io.IOException
- Throws:
java.io.IOException
removeSelectedFileSets
public void removeSelectedFileSets()
throws java.io.IOException
- Throws:
java.io.IOException
removeSelectedFileSetsDependencies
private void removeSelectedFileSetsDependencies(CRasterFileSet fileSet)
throws java.io.IOException
- Parameters:
fileSet
-
- Throws:
java.io.IOException
removeSelectedInfoReader
public void removeSelectedInfoReader()
throws java.io.IOException
- Throws:
java.io.IOException
removeSelectedItem
public void removeSelectedItem()
throws java.io.IOException
- Throws:
java.io.IOException
removeSelectedItems
public void removeSelectedItems()
throws java.io.IOException
- Throws:
java.io.IOException
removeSelectedOptions
public void removeSelectedOptions()
throws java.io.IOException
- Throws:
java.io.IOException
renameSelected
public void renameSelected()
throws java.lang.Exception
- Throws:
java.lang.Exception
setTargetTreePath
public void setTargetTreePath(javax.swing.tree.DefaultMutableTreeNode targetTreeNode)
- Parameters:
targetTreeNode
-