public CreateFileAction(BrowserController controller, Path workdir, string filename, bool edit) : base(controller) { _workdir = workdir; _filename = filename; _edit = edit; _file = PathFactory.createPath(controller.getSession(), _workdir.getAbsolute(), _filename, AbstractPath.FILE_TYPE); }
public CreateFolderAction(BrowserController controller, Path workdir, string filename) : base(controller) { _workdir = workdir; _filename = filename; _folder = PathFactory.createPath(controller.getSession(), _workdir.getAbsolute(), _filename, AbstractPath.DIRECTORY_TYPE); }
public CreateSymlinkAction(BrowserController controller, Path workdir, string symlink) : base(controller) { _workdir = workdir; _symlink = symlink; _link = PathFactory.createPath(controller.getSession(), _workdir.getAbsolute(), _symlink, AbstractPath.FILE_TYPE); _target = BrowserController.SelectedPath.getName(); }