com.application.areca.launcher.gui
Class SimulationWindow

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.window.ApplicationWindow
          extended by com.application.areca.launcher.gui.common.AbstractWindow
              extended by com.application.areca.launcher.gui.SimulationWindow
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener

public class SimulationWindow
extends AbstractWindow
implements org.eclipse.swt.widgets.Listener


Author:
Olivier PETRUCCI

Areca Build ID : 7299034069467778562

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
protected  org.eclipse.swt.widgets.Button btnBackupManifest
           
protected  SimulationResult entries
           
protected  org.eclipse.swt.graphics.Font italic
           
protected  org.eclipse.swt.widgets.Label lblCreated
           
protected  org.eclipse.swt.widgets.Label lblModified
           
protected  org.eclipse.swt.widgets.Label lblTotalSize
           
protected  org.eclipse.swt.widgets.Table table
           
protected  AbstractRecoveryTarget target
           
 
Fields inherited from class com.application.areca.launcher.gui.common.AbstractWindow
application, hasBeenUpdated, initialized, RM, size
 
Fields inherited from class org.eclipse.jface.window.ApplicationWindow
seperator1
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
SimulationWindow(SimulationResult entries, AbstractRecoveryTarget target)
           
 
Method Summary
protected  boolean checkBusinessRules()
           
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
 java.lang.String getTitle()
           
 void handleEvent(org.eclipse.swt.widgets.Event event)
           
protected  void saveChanges()
           
protected  void updateState(boolean rulesSatisfied)
           
 
Methods inherited from class com.application.areca.launcher.gui.common.AbstractWindow
cancelChanges, close, computeHeight, computeSize, computeWidth, configureForTable, configureShell, constrainShellSize, getFullWindowTitle, getSize, getTableLinesVisible, monitorControl, monitorControl, monitorControl, monitorControl, registerUpdate, resetErrorState, setInError, setModal, setSize, shellActivated, shellClosed, shellDeactivated, shellDeiconified, shellIconified, showCancelMessage
 
Methods inherited from class org.eclipse.jface.window.ApplicationWindow
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createMenuManager, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, setStatus, showTopSeperator, toolBarChildrenExist
 
Methods inherited from class org.eclipse.jface.window.Window
create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entries

protected SimulationResult entries

table

protected org.eclipse.swt.widgets.Table table

btnBackupManifest

protected org.eclipse.swt.widgets.Button btnBackupManifest

lblCreated

protected org.eclipse.swt.widgets.Label lblCreated

lblModified

protected org.eclipse.swt.widgets.Label lblModified

lblTotalSize

protected org.eclipse.swt.widgets.Label lblTotalSize

target

protected AbstractRecoveryTarget target

italic

protected org.eclipse.swt.graphics.Font italic
Constructor Detail

SimulationWindow

public SimulationWindow(SimulationResult entries,
                        AbstractRecoveryTarget target)
Method Detail

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Overrides:
createContents in class org.eclipse.jface.window.Window

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in class AbstractWindow

checkBusinessRules

protected boolean checkBusinessRules()
Specified by:
checkBusinessRules in class AbstractWindow

saveChanges

protected void saveChanges()
Specified by:
saveChanges in class AbstractWindow

updateState

protected void updateState(boolean rulesSatisfied)
Specified by:
updateState in class AbstractWindow

handleEvent

public void handleEvent(org.eclipse.swt.widgets.Event event)
Specified by:
handleEvent in interface org.eclipse.swt.widgets.Listener