Package org.cfeclipse.cfml.preferences

Examples of org.cfeclipse.cfml.preferences.FtpConnectionDialog


      PreferenceDialog pref = PreferencesUtil.createPreferenceDialogOn(_window.getSite().getShell(),
          "org.cfeclipse.cfml.preferences.FtpConnectionDialog",
          new String[] { "org.cfeclipse.cfml.preferences.FtpConnectionDialog" }, null);
      if (pref != null) {
        pref.setBlockOnOpen(true);
        FtpConnectionDialog conp = (FtpConnectionDialog) pref.getSelectedPage();
        TreeItem[] treeItems =_window.getTree().getSelection();
        if(treeItems.length == 1) {
          String connectionId = (String) treeItems[0].getData(VFSView.TREEITEMDATA_CONNECTIONID);
          conp.setCurrentConnectionId(connectionId);
        }
        pref.open();
        _window.treeRefreshRemoteURIs();
      }
    }
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.preferences.FtpConnectionDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.