Search in sources :

Example 6 with ClientEntry

use of org.eclipse.ecf.internal.example.collab.ClientEntry 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

ClientEntry (org.eclipse.ecf.internal.example.collab.ClientEntry)6 EclipseCollabSharedObject (org.eclipse.ecf.example.collab.share.EclipseCollabSharedObject)3 CollabClient (org.eclipse.ecf.internal.example.collab.CollabClient)3 IProject (org.eclipse.core.resources.IProject)2 IFile (org.eclipse.core.resources.IFile)1 JoinGroupWizard (org.eclipse.ecf.internal.example.collab.ui.JoinGroupWizard)1 ITextSelection (org.eclipse.jface.text.ITextSelection)1 ISelection (org.eclipse.jface.viewers.ISelection)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1