de.miethxml.hawron.gui.context
Class FileImportView

java.lang.Object
  extended byde.miethxml.hawron.gui.context.FileImportView
All Implemented Interfaces:
IOListener, LocaleListener, RepositorySelectionListener

public class FileImportView
extends java.lang.Object
implements IOListener, LocaleListener, RepositorySelectionListener

Author:
Simon Mieth

Constructor Summary
FileImportView(RepositoryModel model)
           
 
Method Summary
 void complete()
          Will be called after all work is done.
 void completeWriting()
          Will be called after a file is stored to the new location
 void copy(int files)
          Will be called first and report the filecount.
 void directorySelected(Reloadable model, FileModel directory)
           
 void fileSelected(Reloadable model, FileModel file)
           
 void initialize()
           
 void interrupt()
           
 void langChanged()
           
 void setImportFileList(java.util.List files)
           
 void startWriting(java.lang.String name, long length)
           
 void unselect()
           
 void wrote(long count, long total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileImportView

public FileImportView(RepositoryModel model)
Method Detail

initialize

public void initialize()

setImportFileList

public void setImportFileList(java.util.List files)

completeWriting

public void completeWriting()
Description copied from interface: IOListener
Will be called after a file is stored to the new location

Specified by:
completeWriting in interface IOListener

copy

public void copy(int files)
Description copied from interface: IOListener
Will be called first and report the filecount.

Specified by:
copy in interface IOListener
Parameters:
files -

startWriting

public void startWriting(java.lang.String name,
                         long length)
Specified by:
startWriting in interface IOListener

wrote

public void wrote(long count,
                  long total)
Specified by:
wrote in interface IOListener

complete

public void complete()
Description copied from interface: IOListener
Will be called after all work is done.

Specified by:
complete in interface IOListener

interrupt

public void interrupt()

langChanged

public void langChanged()
Specified by:
langChanged in interface LocaleListener

directorySelected

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

fileSelected

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

unselect

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