public TransferPromptListAction(TransferPromptModel model, TransferPromptController controller, SessionPool source, SessionPool destination, TransferItem directory, Transfer transfer, TransferItemCache cache) : base( controller, source, new InnerTransferPromptListWorker(model, controller, transfer, directory, cache)) { }
public InnerTransferPromptFilterWorker(TransferPromptModel model, TransferPromptController controller, Transfer transfer, TransferAction action, TransferItemCache cache) : base(transfer, action, cache, controller) { _model = model; _controller = controller; }
public InnerTransferPromptListWorker(TransferPromptModel model, TransferPromptController controller, Transfer transfer, TransferItem directory, TransferItemCache cache) : base(transfer, directory.remote, directory.local, controller) { _model = model; _directory = directory; _cache = cache; }
public FilterAction(TransferPromptModel model, TransferPromptController controller, SessionPool source, SessionPool destination, Transfer transfer, TransferAction action, TransferItemCache cache) : base( controller, source, new InnerTransferPromptFilterWorker(model, controller, transfer, action, cache)) { }
public override void run() { TransferOptions options = new TransferOptions(); options.reloadRequested = _reload; options.resumeRequested = _resume; options.invalidateCache = false; _transfer.start(TransferPromptController.Create(_controller, _transfer), options); }
public ChildGetterTransferPromptBackgrounAction(TransferPromptController controller, Transfer transfer, Path path, List <Path> isLoadingListingInBackground) { _controller = controller; _transfer = transfer; _path = path; _isLoadingListingInBackground = isLoadingListingInBackground; }
protected TransferPromptModel(TransferPromptController controller, SessionPool source, SessionPool destination, Transfer transfer) { _controller = controller; _source = source; _destination = destination; Transfer = transfer; _action = TransferAction.forName( PreferencesFactory.get() .getProperty(String.Format("queue.prompt.{0}.action.default", transfer.getType().name()))); }
public static TransferPromptController Create(WindowController parent, Transfer transfer) { // create the controller in the thread that has created the view of the TransferController (parent) TransferPromptController promptController = null; if (transfer is DownloadTransfer) { parent.Invoke(delegate { promptController = new DownloadPromptController(parent, transfer); }, true); return(promptController); } if (transfer is UploadTransfer) { parent.Invoke(delegate { promptController = new UploadPromptController(parent, transfer); }, true); return(promptController); } if (transfer is SyncTransfer) { parent.Invoke(delegate { promptController = new SyncPromptController(parent, transfer); }, true); return(promptController); } throw new ArgumentException(transfer.toString()); }
public DownloadPromptModel(TransferPromptController controller, SessionPool source, SessionPool destination, Transfer transfer) : base(controller, source, destination, transfer) { ; }
public DownloadPromptModel(TransferPromptController controller, Transfer transfer) : base(controller, transfer) { ; }
public StatusLabelProgressListener(TransferPromptController controller) { _controller = controller; }
public SyncPromptModel(TransferPromptController controller, Transfer transfer) : base(controller, transfer) { _filter = new SyncPathFilter(transfer); }
protected TransferPromptModel(TransferPromptController controller, Transfer transfer) { _controller = controller; Transfer = transfer; }