Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.IAdapterManager.loadAdapter()


    if (adapter == null)
      return null;
    if (adapter.isInstance(this))
      return this;
    final IAdapterManager adapterManager = XmppPlugin.getDefault().getAdapterManager();
    return (adapterManager == null) ? null : adapterManager.loadAdapter(this, adapter.getName());
  }

  public void addInvitationListener(IChatRoomInvitationListener listener) {
    synchronized (invitationListeners) {
      invitationListeners.add(listener);
View Full Code Here


      if (adapter == null)
        return null;
      if (adapter.isInstance(this))
        return this;
      final IAdapterManager adapterManager = XmppPlugin.getDefault().getAdapterManager();
      return (adapterManager == null) ? null : adapterManager.loadAdapter(this, adapter.getName());
    }

    public IChatRoomContainer createChatRoomContainer() throws ContainerCreateException {
      XMPPChatRoomContainer chatContainer = null;
      if (ecfConnection == null)
View Full Code Here

      return null;
    if (adapter.isInstance(this)) {
      return this;
    }
    IAdapterManager adapterManager = Activator.getDefault().getAdapterManager();
    return (adapterManager == null) ? null : adapterManager.loadAdapter(this, adapter.getName());
  }

}
View Full Code Here

   */
  public Object getAdapter(Class adapter) {
    IAdapterManager adapterManager = PresencePlugin.getDefault().getAdapterManager();
    if (adapterManager == null)
      return null;
    return adapterManager.loadAdapter(this, adapter.getName());
  }

  /*
   * (non-Javadoc)
   *
 
View Full Code Here

    if (adapter.isInstance(this)) {
      return this;
    }
    IAdapterManager adapterManager = PresencePlugin.getDefault().getAdapterManager();
    if (adapterManager != null) {
      return adapterManager.loadAdapter(this, adapter.getName());
    }
    return null;
  }

  public void disconnect() {
View Full Code Here

    if (adapter == null)
      return null;
    final IAdapterManager adapterManager = Activator.getDefault().getAdapterManager();
    if (adapterManager == null)
      return null;
    return adapterManager.loadAdapter(this, adapter.getName());
  }

}
View Full Code Here

      return null;
    if (adapter.isInstance(this)) {
      return this;
    }
    IAdapterManager adapterManager = Activator.getDefault().getAdapterManager();
    return (adapterManager == null) ? null : adapterManager.loadAdapter(this, adapter.getName());
  }
}
View Full Code Here

    if (adapter.isInstance(this))
      return this;
    IAdapterManager adapterManager = Activator.getDefault().getAdapterManager();
    if (adapterManager == null)
      return null;
    return adapterManager.loadAdapter(this, adapter.getName());
  }

  /* (non-Javadoc)
   * @see java.lang.Object#toString()
   */
 
View Full Code Here

    if (adapter == null)
      return null;
    final IAdapterManager adapterManager = Activator.getDefault().getAdapterManager();
    if (adapterManager == null)
      return null;
    return adapterManager.loadAdapter(this, adapter.getName());
  }

}
View Full Code Here

   */
  public Object getAdapter(Class adapter) {
    IAdapterManager adapterManager = Activator.getDefault().getAdapterManager();
    if (adapterManager == null)
      return null;
    return adapterManager.loadAdapter(this, adapter.getName());
  }

  public String toString() {
    StringBuffer buf = new StringBuffer("LocalRemoteFile["); //$NON-NLS-1$
    buf.append("id=").append(getID()).append(";"); //$NON-NLS-1$//$NON-NLS-2$
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.