Examples of IRemoteFileSystemBrowserFactory


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

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

    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
Copyright © 2018 www.massapi.com. 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.