Examples of loadAdapter()


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

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

  /* (non-Javadoc)
   * @see org.eclipse.ecf.sync.IModelChange#applyToModel(java.lang.Object)
   */
 
View Full Code Here

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

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 IChatRoomContainer createChatRoomContainer() throws ContainerCreateException {
      XMPPChatRoomContainer chatContainer = null;
      if (ecfConnection == null)
View Full Code Here

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

      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

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

   */
  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

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

    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

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

    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

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

      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

Examples of org.eclipse.wst.server.core.IModule.loadAdapter()

        // delete the dummy jar if module no longer associated with server
        if (!ServerUtil.containsModule(server, module, monitor) && dummyJarFile.exists()) {
          deleteList.add(dummyJarFile);
        } else {
          HashSet entries = new HashSet();
          J2EEFlexProjDeployable j2eeModule = (J2EEFlexProjDeployable) module.loadAdapter(J2EEFlexProjDeployable.class, null);
          if(GeronimoUtils.isEarModule(module)) {
            IModule[] childModules = j2eeModule.getChildModules();
            for(int j = 0; j < modules.length; j++) {
              entries.addAll(processModule(childModules[i]));
            }
View Full Code Here

Examples of org.eclipse.wst.server.core.IRuntime.loadAdapter()

    public KarafJREComposite(Composite parent, int style, TaskModel tm) {
      super(parent, style, tm);
    }   
    protected boolean isUsingDefaultJRE(IRuntime rt) {
      IRuntime r = getRuntimeFromTaskModel();
      IKarafRuntime jbsrt = (IKarafRuntime)r.loadAdapter(IKarafRuntime.class, null);
      return jbsrt.isUsingDefaultJRE();
    }
   
    protected IVMInstall getStoredJRE(IRuntime rt) {
      IRuntime r = getRuntimeFromTaskModel();
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.