Package org.eclipse.ecf.provider.generic

Examples of org.eclipse.ecf.provider.generic.TCPClientSOContainer


public class PresenceContainerAdapterFactory implements IAdapterFactory {

  public Object getAdapter(Object adaptableObject, Class adapterType) {
    if (adapterType.equals(IPresenceContainerAdapter.class)) {
      TCPClientSOContainer container = (TCPClientSOContainer) adaptableObject;
      ISharedObjectManager manager = container.getSharedObjectManager();
      ID[] ids = manager.getSharedObjectIDs();
      for (int i = 0; i < ids.length; i++) {
        ISharedObject object = manager.getSharedObject(ids[i]);
        if (object instanceof EclipseCollabSharedObject) {
          EclipseCollabSharedObject ecso = (EclipseCollabSharedObject) object;
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.provider.generic.TCPClientSOContainer

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.