Examples of tryChangeCurrentFolder()


Examples of com.mucommander.ui.main.FolderPanel.tryChangeCurrentFolder()

        Launcher.waitUntilLaunched();

        AbstractFile file = FileFactory.getFile(event.getFilename());
        FolderPanel activePanel = WindowManager.getCurrentMainFrame().getActivePanel();
        if(file.isBrowsable())
            activePanel.tryChangeCurrentFolder(file);
        else
            activePanel.tryChangeCurrentFolder(file.getParent(), file, false);
    }

    public void handlePrintFile(ApplicationEvent event) {
View Full Code Here

Examples of com.mucommander.ui.main.FolderPanel.tryChangeCurrentFolder()

        AbstractFile file = FileFactory.getFile(event.getFilename());
        FolderPanel activePanel = WindowManager.getCurrentMainFrame().getActivePanel();
        if(file.isBrowsable())
            activePanel.tryChangeCurrentFolder(file);
        else
            activePanel.tryChangeCurrentFolder(file.getParent(), file, false);
    }

    public void handlePrintFile(ApplicationEvent event) {
        // No-op
    }
View Full Code Here

Examples of com.mucommander.ui.main.FolderPanel.tryChangeCurrentFolder()

    @Override
    public void performAction() {
        FolderPanel folderPanel = getFolderPanel();
        if(url!=null) {
            folderPanel.tryChangeCurrentFolder(url);
        }
        else if(file!=null) {
            folderPanel.tryChangeCurrentFolder(file);
        }
        else if(path!=null) {
View Full Code Here

Examples of com.mucommander.ui.main.FolderPanel.tryChangeCurrentFolder()

        FolderPanel folderPanel = getFolderPanel();
        if(url!=null) {
            folderPanel.tryChangeCurrentFolder(url);
        }
        else if(file!=null) {
            folderPanel.tryChangeCurrentFolder(file);
        }
        else if(path!=null) {
            folderPanel.tryChangeCurrentFolder(path);
        }
    }
View Full Code Here

Examples of com.mucommander.ui.main.FolderPanel.tryChangeCurrentFolder()

        }
        else if(file!=null) {
            folderPanel.tryChangeCurrentFolder(file);
        }
        else if(path!=null) {
            folderPanel.tryChangeCurrentFolder(path);
        }
    }

  @Override
  public ActionDescriptor getDescriptor() {
View Full Code Here

Examples of com.mucommander.ui.main.FolderPanel.tryChangeCurrentFolder()

    public void performAction() {
        // Changes the current folder to make it the current folder's root folder.
        // Does nothing if the current folder already is the root.
        FolderPanel folderPanel = mainFrame.getActivePanel();
        AbstractFile currentFolder = folderPanel.getCurrentFolder();
        folderPanel.tryChangeCurrentFolder(currentFolder.getRoot());
    }

  @Override
  public ActionDescriptor getDescriptor() {
    return new Descriptor();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.