org.grinvin.main.actions

Class LoadWorkspace


public class LoadWorkspace
extends FileOpenAction

Constructor Summary

LoadWorkspace(Window parent)

Method Summary

static File
loadNewWorkspace()
Ask the user for a workspace location.
void
openFile(File file)
static void
saveImportedWorkspace()
Ask the user for a workspace location to save the imported workspace to.

Constructor Details

LoadWorkspace

public LoadWorkspace(Window parent)

Method Details

loadNewWorkspace

public static File loadNewWorkspace()
Ask the user for a workspace location.
Returns:
directory which holds a workspace, or null when no directory could be chosen.

openFile

public void openFile(File file)

saveImportedWorkspace

public static void saveImportedWorkspace()
Ask the user for a workspace location to save the imported workspace to.