Search in sources :

Example 1 with FTPPage

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);
}
Also used : FTPPage(org.talend.repository.ftp.ui.wizards.pags.FTPPage) Step0WizardPage(org.talend.metadata.managment.ui.wizard.metadata.connection.Step0WizardPage)

Aggregations

Step0WizardPage (org.talend.metadata.managment.ui.wizard.metadata.connection.Step0WizardPage)1 FTPPage (org.talend.repository.ftp.ui.wizards.pags.FTPPage)1