com.intellij.openapi.vcs.EditFileProvider Java Examples

The following examples show how to use com.intellij.openapi.vcs.EditFileProvider. 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 File: TFSVcs.java    From azure-devops-intellij with 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 File: P4Vcs.java    From p4ic4idea with 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;
}