net.sf.jfilesync.service.unify
Class DupController

java.lang.Object
  extended by net.sf.jfilesync.service.unify.DupController
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, BasicFilePopupListener, DupExplorerListener

public class DupController
extends java.lang.Object
implements DupExplorerListener, BasicFilePopupListener, java.awt.event.ActionListener


Nested Class Summary
static class DupController.DupControllerEvent
           
 
Field Summary
private  UnifyActionDialog actionPreviewDialog
           
private  UnifyDeleteOption deleteOption
           
private  DupExplorer explorer
           
private  UnifyFileTree fileTree
           
private static java.util.logging.Logger LOGGER
           
private  UnifyMoveOption moveOption
           
private  UnifyPathRequester pathRequester
           
private  DupController.DupControllerEvent userOption
           
 
Constructor Summary
DupController(UnifyFileTree fileTree, DupExplorer explorer)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 UnifyOption getSelectedOption()
           
 DupController.DupControllerEvent getUserChoice()
           
 void performDupExplorerEvent(DupExplorerEvent e)
           
 void popupAction(BasicFilePopupEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileTree

private final UnifyFileTree fileTree

explorer

private final DupExplorer explorer

actionPreviewDialog

private UnifyActionDialog actionPreviewDialog

userOption

private DupController.DupControllerEvent userOption

deleteOption

private UnifyDeleteOption deleteOption

moveOption

private UnifyMoveOption moveOption

pathRequester

private UnifyPathRequester pathRequester

LOGGER

private static final java.util.logging.Logger LOGGER
Constructor Detail

DupController

public DupController(UnifyFileTree fileTree,
                     DupExplorer explorer)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

performDupExplorerEvent

public void performDupExplorerEvent(DupExplorerEvent e)
Specified by:
performDupExplorerEvent in interface DupExplorerListener

getUserChoice

public DupController.DupControllerEvent getUserChoice()

getSelectedOption

public UnifyOption getSelectedOption()

popupAction

public void popupAction(BasicFilePopupEvent e)
Specified by:
popupAction in interface BasicFilePopupListener