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();