Search in sources :

Example 1 with CollabClient

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());
}
Also used : CollabClient(org.eclipse.ecf.internal.example.collab.CollabClient)

Example 2 with CollabClient

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;
}
Also used : CollabClient(org.eclipse.ecf.internal.example.collab.CollabClient) ClientEntry(org.eclipse.ecf.internal.example.collab.ClientEntry)

Example 3 with CollabClient

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;
}
Also used : CollabClient(org.eclipse.ecf.internal.example.collab.CollabClient) ClientEntry(org.eclipse.ecf.internal.example.collab.ClientEntry)

Example 4 with CollabClient

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;
}
Also used : CollabClient(org.eclipse.ecf.internal.example.collab.CollabClient) ClientEntry(org.eclipse.ecf.internal.example.collab.ClientEntry)

Aggregations

CollabClient (org.eclipse.ecf.internal.example.collab.CollabClient)4 ClientEntry (org.eclipse.ecf.internal.example.collab.ClientEntry)3