"Create Package Library",
"Would you like to create a personal library '" +
installContext.getDefaultUserLibraryPath() + "' " +
"to install packages into?",
false,
new Operation() // Yes operation
{
@Override
public void execute()
{
ProgressIndicator indicator =
globalDisplay_.getProgressIndicator(
"Error Creating Library");
server_.initDefaultUserLibrary(
new VoidServerRequestCallback(indicator) {
@Override
protected void onSuccess()
{
// call this function back recursively
// so we can retrieve the updated
// PackageInstallContext from the server
onInstallPackage();
}
});
}
},
new Operation() // No operation
{
@Override
public void execute()
{
globalDisplay_.showMessage(