/*
- * Copyright (C) 2007-2012 Mathieu Baudier
+ * Copyright (C) 2007-2012 Argeo GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import org.argeo.ArgeoException;
import org.argeo.eclipse.ui.ErrorFeedback;
import org.argeo.eclipse.ui.specific.ImportToServerWizardPage;
+import org.argeo.eclipse.ui.specific.UploadFileWizardPage;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
private final static Log log = LogFactory
.getLog(ImportFileSystemWizard.class);
- private ImportToServerWizardPage importPage;
+ private UploadFileWizardPage importPage;
private final Node folder;
public ImportFileSystemWizard(Node folder) {
@Override
public void addPages() {
- importPage = new ImportToServerWizardPage();
+ importPage = new UploadFileWizardPage();
addPage(importPage);
setNeedsProgressMonitor(importPage.getNeedsProgressMonitor());
}
return true;
} else if (ImportToServerWizardPage.FOLDER_ITEM_TYPE.equals(objectType)) {
if (objectPath == null || !new File(objectPath).exists()) {
- ErrorFeedback.show("Directory " + objectPath + " does not exist");
+ ErrorFeedback.show("Directory " + objectPath
+ + " does not exist");
return false;
}