com.application.areca.launcher.gui
Class FTPEditionWindow
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.window.ApplicationWindow
com.application.areca.launcher.gui.common.AbstractWindow
com.application.areca.launcher.gui.FTPEditionWindow
- All Implemented Interfaces:
- org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider
public class FTPEditionWindow
- extends AbstractWindow
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
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 |
btnCancel
|
protected org.eclipse.swt.widgets.Button |
btnReveal
|
protected org.eclipse.swt.widgets.Button |
btnSave
|
protected org.eclipse.swt.widgets.Button |
btnTest
|
protected org.eclipse.swt.widgets.Combo |
cboProtection
|
protected org.eclipse.swt.widgets.Combo |
cboProtocol
|
protected org.eclipse.swt.widgets.Button |
chkImplicit
|
protected org.eclipse.swt.widgets.Button |
chkPassiv
|
protected org.eclipse.swt.widgets.Text |
txtHost
|
protected org.eclipse.swt.widgets.Text |
txtLogin
|
protected org.eclipse.swt.widgets.Text |
txtPassword
|
protected org.eclipse.swt.widgets.Text |
txtPort
|
protected org.eclipse.swt.widgets.Text |
txtRemoteDir
|
Fields inherited from class org.eclipse.jface.window.ApplicationWindow |
seperator1 |
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
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 |
txtHost
protected org.eclipse.swt.widgets.Text txtHost
txtPort
protected org.eclipse.swt.widgets.Text txtPort
chkPassiv
protected org.eclipse.swt.widgets.Button chkPassiv
cboProtocol
protected org.eclipse.swt.widgets.Combo cboProtocol
txtLogin
protected org.eclipse.swt.widgets.Text txtLogin
txtPassword
protected org.eclipse.swt.widgets.Text txtPassword
txtRemoteDir
protected org.eclipse.swt.widgets.Text txtRemoteDir
chkImplicit
protected org.eclipse.swt.widgets.Button chkImplicit
btnTest
protected org.eclipse.swt.widgets.Button btnTest
btnSave
protected org.eclipse.swt.widgets.Button btnSave
btnCancel
protected org.eclipse.swt.widgets.Button btnCancel
cboProtection
protected org.eclipse.swt.widgets.Combo cboProtection
btnReveal
protected org.eclipse.swt.widgets.Button btnReveal
FTPEditionWindow
public FTPEditionWindow(FTPFileSystemPolicy currentPolicy)
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
testFTP
protected void testFTP(FTPFileSystemPolicy policy)
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
initPolicy
protected void initPolicy(FTPFileSystemPolicy policy)
getCurrentPolicy
public FTPFileSystemPolicy getCurrentPolicy()