コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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();
 }