use of org.talend.repository.ftp.ui.wizards.pags.FTPPage in project tdi-studio-se by Talend.
the class FTPWizard method addPages.
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.wizard.IWizard#addPages()
*/
@Override
public void addPages() {
String windowTitle = Messages.getString("FTPWizard.CreateNewFTPWizard");
if (!creation) {
windowTitle = Messages.getString("FTPWizard.EditFTPWizard");
}
//$NON-NLS-1$
setWindowTitle(windowTitle);
setDefaultPageImageDescriptor(ImageProvider.getImageDesc(ECoreImage.UNKNOWN));
if (isToolBar) {
pathToSave = null;
}
propertiesWizardPage = new Step0WizardPage(connectionProperty, pathToSave, ERepositoryObjectType.METADATA_FILE_FTP, !isRepositoryObjectEditable(), creation);
//$NON-NLS-1$
propertiesWizardPage.setTitle("Talend FTP");
//$NON-NLS-1$
propertiesWizardPage.setDescription(Messages.getString("FTPWizard_create_ftp_conn"));
ftpPage = new FTPPage(connectionItem, isRepositoryObjectEditable(), existingNames);
addPage(propertiesWizardPage);
addPage(ftpPage);
}
Aggregations