ccs.cpc.impl
Class MainLogic

java.lang.Object
  extended by ccs.cpc.impl.MainLogic
All Implemented Interfaces:
ccs.utils.Hurlable

 class MainLogic
extends java.lang.Object
implements ccs.utils.Hurlable


Field Summary
(package private)  BtnLogic bl
           
(package private)  BrowserLogic bleft
           
(package private)  BrowserLogic bright
           
(package private)  BrowserLogic bselected
           
(package private)  BrowserLogic bunselected
           
(package private)  PluginCallback[] callbacks
           
(package private)  CompactorThread compactorThread
           
(package private)  CpcImpl cpc
           
(package private)  Model m
           
(package private)  RecurserThread recurserThread
           
 
Constructor Summary
MainLogic(CpcImpl cpc)
           
 
Method Summary
(package private)  void closeVDevice(VDevice vd)
          Close a VDevice.
(package private)  void createCompactorThread()
           
(package private)  void createRecurserThread()
           
(package private)  void fileChangeProfile()
           
(package private)  void fileCloneProfile()
           
(package private)  void fileManageProfile()
           
(package private)  void finish()
           
(package private)  VDevice getCurrentVDevice(BrowserLogic src)
          Determine the currently-selected device for the specified browser panel.
(package private)  void help0(java.lang.String fname)
           
(package private)  void helpAbout()
           
(package private)  void helpContents()
           
(package private)  void helpImpressum()
           
(package private)  void helpMem()
           
(package private)  void helpPlugins()
           
(package private)  void helpRelnotes()
           
 void hurl(java.lang.Throwable e)
          Stuff Happened.
(package private)  void optConfirm()
           
(package private)  void optDownCase()
           
(package private)  void optLoopPrompt()
           
(package private)  void optPreview()
           
(package private)  void optSingle()
           
(package private)  void optSortExtn()
           
(package private)  void optSortName()
           
(package private)  void optWipeFast()
           
(package private)  void optWipeFips()
           
(package private)  void optWipeGutmann()
           
(package private)  void optWipeSchneier()
           
(package private)  void optWipeUnlink()
           
(package private)  void postprocessArgs()
           
(package private)  void preprocessArgs()
           
(package private)  void registerVDevice(VDevice vd, boolean isLeft)
          Register a newly-opened VDevice.
(package private)  void registerVDevice(VDevice vd, BrowserLogic target)
          Register a newly-opened VDevice.
(package private)  void setSelectedBrowser(BrowserLogic selectee)
           
(package private)  void stopRecursion()
           
(package private)  void toolsCacheSize()
           
(package private)  void toolsFindFiles()
           
(package private)  void toolsFontBrowsers()
           
(package private)  void toolsLaunchBareViewer()
           
(package private)  void toolsManageHelpers()
           
(package private)  void toolsManageMimeTypes()
           
(package private)  void toolsResetPreviews()
           
(package private)  void toolsSelectors()
           
(package private)  void toolsSetWebBrowser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cpc

CpcImpl cpc

bleft

BrowserLogic bleft

bright

BrowserLogic bright

bselected

BrowserLogic bselected

bunselected

BrowserLogic bunselected

bl

BtnLogic bl

m

Model m

recurserThread

RecurserThread recurserThread

compactorThread

CompactorThread compactorThread

callbacks

PluginCallback[] callbacks
Constructor Detail

MainLogic

MainLogic(CpcImpl cpc)
Method Detail

preprocessArgs

void preprocessArgs()
              throws java.io.IOException,
                     java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

postprocessArgs

void postprocessArgs()
               throws java.io.IOException
Throws:
java.io.IOException

createRecurserThread

void createRecurserThread()

createCompactorThread

void createCompactorThread()

setSelectedBrowser

void setSelectedBrowser(BrowserLogic selectee)

registerVDevice

void registerVDevice(VDevice vd,
                     boolean isLeft)
               throws java.io.IOException
Register a newly-opened VDevice.

Parameters:
vd - the device
isLeft - Whether to open it in the left or right browser panel
Throws:
java.io.IOException

registerVDevice

void registerVDevice(VDevice vd,
                     BrowserLogic target)
               throws java.io.IOException
Register a newly-opened VDevice.

Parameters:
vd - the device
target - The browser panel to open it in
Throws:
java.io.IOException

closeVDevice

void closeVDevice(VDevice vd)
            throws java.io.IOException
Close a VDevice. The refresher will grok this shortly afterwards and sort out the GUI automatically.

Throws:
java.io.IOException

getCurrentVDevice

VDevice getCurrentVDevice(BrowserLogic src)
Determine the currently-selected device for the specified browser panel. This is either the device the browser is in, or the one that's selected if the browser is showing the device list.


fileManageProfile

void fileManageProfile()
                 throws java.io.IOException
Throws:
java.io.IOException

fileChangeProfile

void fileChangeProfile()
                 throws java.io.IOException
Throws:
java.io.IOException

fileCloneProfile

void fileCloneProfile()
                throws java.io.IOException
Throws:
java.io.IOException

optSingle

void optSingle()
         throws java.lang.Exception
Throws:
java.lang.Exception

optConfirm

void optConfirm()
          throws java.lang.Exception
Throws:
java.lang.Exception

optWipeUnlink

void optWipeUnlink()
             throws java.lang.Exception
Throws:
java.lang.Exception

optWipeFast

void optWipeFast()
           throws java.lang.Exception
Throws:
java.lang.Exception

optWipeFips

void optWipeFips()
           throws java.lang.Exception
Throws:
java.lang.Exception

optWipeSchneier

void optWipeSchneier()
               throws java.lang.Exception
Throws:
java.lang.Exception

optWipeGutmann

void optWipeGutmann()
              throws java.lang.Exception
Throws:
java.lang.Exception

optSortName

void optSortName()
           throws java.io.IOException
Throws:
java.io.IOException

optSortExtn

void optSortExtn()
           throws java.io.IOException
Throws:
java.io.IOException

optPreview

void optPreview()
          throws java.lang.Exception
Throws:
java.lang.Exception

optDownCase

void optDownCase()
           throws java.lang.Exception
Throws:
java.lang.Exception

optLoopPrompt

void optLoopPrompt()
             throws java.lang.Exception
Throws:
java.lang.Exception

toolsFindFiles

void toolsFindFiles()
              throws java.lang.Exception
Throws:
java.lang.Exception

toolsResetPreviews

void toolsResetPreviews()

toolsManageMimeTypes

void toolsManageMimeTypes()
                    throws java.lang.Exception
Throws:
java.lang.Exception

toolsManageHelpers

void toolsManageHelpers()
                  throws java.lang.Exception
Throws:
java.lang.Exception

toolsSelectors

void toolsSelectors()
              throws java.lang.Exception
Throws:
java.lang.Exception

toolsCacheSize

void toolsCacheSize()
              throws java.lang.Exception
Throws:
java.lang.Exception

toolsFontBrowsers

void toolsFontBrowsers()
                 throws java.lang.Exception
Throws:
java.lang.Exception

toolsSetWebBrowser

void toolsSetWebBrowser()
                  throws java.io.IOException
Throws:
java.io.IOException

toolsLaunchBareViewer

void toolsLaunchBareViewer()
                     throws java.lang.Exception
Throws:
java.lang.Exception

helpAbout

void helpAbout()

helpPlugins

void helpPlugins()

helpMem

void helpMem()

helpContents

void helpContents()
            throws java.io.IOException
Throws:
java.io.IOException

helpImpressum

void helpImpressum()
             throws java.io.IOException
Throws:
java.io.IOException

helpRelnotes

void helpRelnotes()
            throws java.io.IOException
Throws:
java.io.IOException

help0

void help0(java.lang.String fname)
     throws java.io.IOException
Throws:
java.io.IOException

stopRecursion

void stopRecursion()

hurl

public void hurl(java.lang.Throwable e)
Description copied from interface: ccs.utils.Hurlable
Stuff Happened. Report it.

Specified by:
hurl in interface ccs.utils.Hurlable
Parameters:
e - That which happened.

finish

void finish()