use of org.eclipse.ecf.internal.example.collab.CollabClient in project ecf by eclipse.
the class CollabStart method startConnection.
private void startConnection(ConnectionDetails details) throws Exception {
CollabClient client = new CollabClient();
// ClientPlugin.log("ECF: Autostarting
// containerType="+details.getContainerType()+",uri="+details.getTargetURI()+",nickname="+details.getNickname());
client.createAndConnectClient(details.getContainerType(), details.getTargetURI(), details.getNickname(), details.getPassword(), ResourcesPlugin.getWorkspace().getRoot());
}
use of org.eclipse.ecf.internal.example.collab.CollabClient in project ecf by eclipse.
the class JoinGroupWizardAction method isConnected.
private ClientEntry isConnected(IResource res) {
if (res == null)
return null;
CollabClient client = CollabClient.getDefault();
ClientEntry entry = client.isConnected(res, CollabClient.GENERIC_CONTAINER_CLIENT_NAME);
return entry;
}
use of org.eclipse.ecf.internal.example.collab.CollabClient in project ecf by eclipse.
the class OpenSharedEditorAction method isConnected.
protected ClientEntry isConnected(IResource res) {
if (res == null)
return null;
final CollabClient client = CollabClient.getDefault();
final ClientEntry entry = client.isConnected(res, CollabClient.GENERIC_CONTAINER_CLIENT_NAME);
return entry;
}
use of org.eclipse.ecf.internal.example.collab.CollabClient in project ecf by eclipse.
the class SetSharedEditorSelectionAction method isConnected.
protected ClientEntry isConnected(IResource res) {
if (res == null)
return null;
final CollabClient client = CollabClient.getDefault();
final ClientEntry entry = client.isConnected(res, CollabClient.GENERIC_CONTAINER_CLIENT_NAME);
return entry;
}
Aggregations