Exemplo n.º 1
0
 public Object directoryClicked() {
   String originalPath = startingPath;
   String aFile = (String) aCurrentFile.valueForKey("file");
   startingPath = NSPathUtilities.stringByAppendingPathComponent(startingPath, aFile);
   startingPath = NSPathUtilities._standardizedPath(startingPath);
   retrieveFileList();
   if (retrieveFileList() != null) {
     startingPath = originalPath;
   }
   return performParentAction(callbackUpdateAction);
 }
Exemplo n.º 2
0
 public Object backClicked() {
   String originalPath = startingPath;
   startingPath = NSPathUtilities.stringByDeletingLastPathComponent(startingPath);
   startingPath = NSPathUtilities._standardizedPath(startingPath);
   if (startingPath.equals("") || (originalPath.equals(startingPath))) {
     startingPath = null;
   }
   if (retrieveFileList() != null) {
     startingPath = originalPath;
   }
   return performParentAction(callbackUpdateAction);
 }
Exemplo n.º 3
0
 public Object jumpToClicked() {
   String originalPath = startingPath;
   startingPath = NSPathUtilities._standardizedPath(startingPath);
   retrieveFileList();
   if (retrieveFileList() != null) {
     startingPath = originalPath;
   }
   return performParentAction(callbackUpdateAction);
 }
Exemplo n.º 4
0
 public Object selectCurrentDirClicked() {
   startingPath = NSPathUtilities._standardizedPath(startingPath);
   return performParentAction(callbackSelectionAction);
 }
Exemplo n.º 5
0
 public Object selectClicked() {
   String aFile = (String) aCurrentFile.valueForKey("file");
   startingPath = NSPathUtilities.stringByAppendingPathComponent(startingPath, aFile);
   startingPath = NSPathUtilities._standardizedPath(startingPath);
   return performParentAction(callbackSelectionAction);
 }