getOpenShellCommand());
}
private String getOpenFolderCommand() {
InitPlugin initPlugin = Activator.getDefault().getInitPlugin();
if (initPlugin.getOS() == OS.LINUX) {
if (initPlugin.getDesktop() == Desktop.GNOME) {
return Commands.OPEN_FOLDER_LINUX_GNOME;
}
if (initPlugin.getDesktop() == Desktop.KDE) {
return Commands.OPEN_FOLDER_LINUX_KDE;
}
} else if (initPlugin.getOS() == OS.WINDOWS) {
return Commands.OPEN_FOLDER_WINDOWS;
}
return "unknown";
}