Search in sources :

Example 96 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class ContainerFactoryServiceCreateTest method testCreateContainer1.

public void testCreateContainer1() throws Exception {
    final IContainer container = getContainerFactoryService().createContainer(CONTAINER_TYPE_NAME);
    assertNotNull(container);
}
Also used : IContainer(org.eclipse.ecf.core.IContainer)

Example 97 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class ContainerFactoryServiceCreateTest method testCreateBaseContainer4.

public void testCreateBaseContainer4() throws Exception {
    final IContainer base = getContainerFactoryService().createContainer(BASE_CONTAINER_TYPE_NAME, new Object[] { IDFactory.getDefault().createGUID() });
    assertNotNull(base);
}
Also used : IContainer(org.eclipse.ecf.core.IContainer)

Example 98 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class ContainerFactoryServiceCreateTest method testCreateBaseContainer0.

public void testCreateBaseContainer0() throws Exception {
    final IContainer base = getContainerFactoryService().createContainer();
    assertNotNull(base);
}
Also used : IContainer(org.eclipse.ecf.core.IContainer)

Example 99 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class ContainerFactoryServiceCreateTest method testCreateBaseContainer1.

public void testCreateBaseContainer1() throws Exception {
    final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(BASE_CONTAINER_TYPE_NAME);
    assertNotNull(desc);
    final IContainer base = getContainerFactoryService().createContainer(desc, IDFactory.getDefault().createGUID());
    assertNotNull(base);
}
Also used : ContainerTypeDescription(org.eclipse.ecf.core.ContainerTypeDescription) IContainer(org.eclipse.ecf.core.IContainer)

Example 100 with IContainer

use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.

the class ContainerFactoryServiceCreateTest method testCreateContainer6.

public void testCreateContainer6() throws Exception {
    final ContainerTypeDescription desc = getContainerFactoryService().getDescriptionByName(CONTAINER_TYPE_NAME);
    assertNotNull(desc);
    final IContainer container = getContainerFactoryService().createContainer(desc, IDFactory.getDefault().createGUID());
    assertNotNull(container);
}
Also used : ContainerTypeDescription(org.eclipse.ecf.core.ContainerTypeDescription) IContainer(org.eclipse.ecf.core.IContainer)

Aggregations

IContainer (org.eclipse.ecf.core.IContainer)121 ID (org.eclipse.ecf.core.identity.ID)29 ContainerTypeDescription (org.eclipse.ecf.core.ContainerTypeDescription)20 IRosterEntry (org.eclipse.ecf.presence.roster.IRosterEntry)9 IRoster (org.eclipse.ecf.presence.roster.IRoster)8 IChannelContainerAdapter (org.eclipse.ecf.datashare.IChannelContainerAdapter)7 IRemoteServiceContainer (org.eclipse.ecf.remoteservice.IRemoteServiceContainer)7 IRemoteServiceContainerAdapter (org.eclipse.ecf.remoteservice.IRemoteServiceContainerAdapter)7 ISharedObjectContainer (org.eclipse.ecf.core.sharedobject.ISharedObjectContainer)5 IPresenceContainerAdapter (org.eclipse.ecf.presence.IPresenceContainerAdapter)5 RemoteServiceContainer (org.eclipse.ecf.remoteservice.RemoteServiceContainer)5 Action (org.eclipse.jface.action.Action)5 IAction (org.eclipse.jface.action.IAction)5 URL (java.net.URL)4 Job (org.eclipse.core.runtime.jobs.Job)4 ContainerConnectException (org.eclipse.ecf.core.ContainerConnectException)4 IContainerManager (org.eclipse.ecf.core.IContainerManager)4 ISharedObject (org.eclipse.ecf.core.sharedobject.ISharedObject)4 ISharedObjectManager (org.eclipse.ecf.core.sharedobject.ISharedObjectManager)4 RestClientContainer (org.eclipse.ecf.remoteservice.rest.client.RestClientContainer)4