Package org.eclipse.ecf.filetransfer.service

Examples of org.eclipse.ecf.filetransfer.service.IRemoteFileSystemBrowserFactory


      try {
        String pluginId = configElements[i].getDeclaringExtension().getContributor().getName();
        // Only add the factories if the contributor plugin has not been excluded
        if (!pluginExcluded(pluginId)) {
          // First create factory clazz
          final IRemoteFileSystemBrowserFactory clazz = (IRemoteFileSystemBrowserFactory) configElements[i].createExecutableExtension(CLASS_ATTR);
          // Get priority for new entry, if optional priority attribute specified
          int priority = getPriority(configElements[i], CONTRIBUTION_WARNING, protocol);
          setBrowseFileTransferFactory(protocol, pluginId, clazz, priority, uri);
        } else {
          Activator.getDefault().log(new Status(IStatus.WARNING, PLUGIN_ID, IStatus.WARNING, "Plugin " + pluginId + " excluded from contributing browse factory", null)); //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here


    synchronized (browseFileTransferProtocolMap) {
      protocolFactory = (ProtocolFactory) browseFileTransferProtocolMap.get(protocol);
    }
    if (protocolFactory == null)
      return null;
    final IRemoteFileSystemBrowserFactory factory = (IRemoteFileSystemBrowserFactory) protocolFactory.getFactory();
    if (factory != null)
      return factory.newInstance();
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.filetransfer.service.IRemoteFileSystemBrowserFactory

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.