Java Code Examples for com.intellij.openapi.vcs.EditFileProvider

The following examples show how to use com.intellij.openapi.vcs.EditFileProvider. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: azure-devops-intellij   Source File: TFSVcs.java    License: MIT License 5 votes vote down vote up
@NotNull
@Override
public EditFileProvider getEditFileProvider() {
    if (myEditFileProvider == null)
        myEditFileProvider = new TfvcEditFileProvider(this);
    return myEditFileProvider;
}
 
Example 2
Source Project: p4ic4idea   Source File: P4Vcs.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * Returns the interface for performing check out / edit file operations.
 *
 * @return the interface implementation, or null if none is provided.
 */
@Override
@NotNull
public synchronized EditFileProvider getEditFileProvider() {
    // TODO remove statement when debugging is done
    LOG.info("Getting EditFileProvider");
    if (editProvider == null) {
        editProvider = new P4EditFileProvider(this);
    }
    return editProvider;
}