Search in sources :

Example 1 with ClientCapabilitiesImpl

use of io.typefox.lsapi.impl.ClientCapabilitiesImpl in project che by eclipse.

the class ServerInitializerImpl method prepareInitializeParams.

protected InitializeParamsImpl prepareInitializeParams(String projectPath) {
    InitializeParamsImpl initializeParams = new InitializeParamsImpl();
    initializeParams.setProcessId(PROCESS_ID);
    initializeParams.setRootPath(projectPath);
    initializeParams.setCapabilities(new ClientCapabilitiesImpl());
    initializeParams.setClientName(CLIENT_NAME);
    return initializeParams;
}
Also used : InitializeParamsImpl(io.typefox.lsapi.impl.InitializeParamsImpl) ClientCapabilitiesImpl(io.typefox.lsapi.impl.ClientCapabilitiesImpl)

Aggregations

ClientCapabilitiesImpl (io.typefox.lsapi.impl.ClientCapabilitiesImpl)1 InitializeParamsImpl (io.typefox.lsapi.impl.InitializeParamsImpl)1