use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class Lab1Action method getContainerAdapter.
private IRemoteServiceContainerAdapter getContainerAdapter() throws ContainerCreateException {
if (adapter == null) {
IContainer c = getContainer();
adapter = (IRemoteServiceContainerAdapter) c.getAdapter(IRemoteServiceContainerAdapter.class);
}
return adapter;
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class ContainerFactoryCreateTest method testCreateBaseContainer1.
public void testCreateBaseContainer1() throws Exception {
final ContainerTypeDescription desc = ContainerFactory.getDefault().getDescriptionByName(BASE_CONTAINER_TYPE_NAME);
assertNotNull(desc);
final IContainer base = ContainerFactory.getDefault().createContainer(desc, IDFactory.getDefault().createGUID());
assertNotNull(base);
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class ContainerFactoryCreateTest method testCreateContainer9.
public void testCreateContainer9() throws Exception {
final IContainer container = ContainerFactory.getDefault().createContainer(CONTAINER_TYPE_NAME, IDFactory.getDefault().createGUID(), new Object[] { "param" });
assertNotNull(container);
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class ContainerFactoryCreateTest method testCreateBaseContainer5.
public void testCreateBaseContainer5() throws Exception {
final ContainerTypeDescription desc = ContainerFactory.getDefault().getDescriptionByName(BASE_CONTAINER_TYPE_NAME);
assertNotNull(desc);
final IContainer base = ContainerFactory.getDefault().createContainer(desc, IDFactory.getDefault().createGUID(), new Object[] { "param" });
assertNotNull(base);
}
use of org.eclipse.ecf.core.IContainer in project ecf by eclipse.
the class ContainerFactoryCreateTest method testCreateBaseContainer6.
public void testCreateBaseContainer6() throws Exception {
final IContainer base = ContainerFactory.getDefault().createContainer(BASE_CONTAINER_TYPE_NAME, IDFactory.getDefault().createGUID(), new Object[] { "param" });
assertNotNull(base);
}
Aggregations