Package org.eclipse.team.internal.ccvs.core

Examples of org.eclipse.team.internal.ccvs.core.ICVSRemoteFile


            String fullPath = revision.getFile().getPath();
            String repositoryBasePath = fCVSProjectFolder.getRepositoryRelativePath();
            String remotePath = repositoryBasePath + "/" + fullPath;

            ICVSRemoteFile rfile =
                    fCVSRepositoryLocation.getRemoteFile(remotePath, new CVSTag(revision.getNumber(), CVSTag.VERSION));
            IResourceVariant variant = (IResourceVariant) rfile;
            IStorage storage = variant.getStorage(monitor);
            InputStream inputStream = storage.getContents();
View Full Code Here


    IWorkbench workbench = ReviewPlugin.getInstance().getWorkbench();
    IWorkbenchWindow activeWindow = workbench.getWorkbenchWindows()[0];

    final InputStream contents = listener.getContents();

    final ICVSRemoteFile file = (ICVSRemoteFile) CVSWorkspaceRoot.getRemoteResourceFor(cvsResource);
    IEditorRegistry registry = CVSUIPlugin.getPlugin().getWorkbench().getEditorRegistry();
    log.debug("file name: " + file.getName());
    IEditorDescriptor descriptor = registry.getDefaultEditor(file.getName());
    final String id;
    if (descriptor != null) {
      log.debug("descriptor is not null");
      id = descriptor.getId();
    }
View Full Code Here

TOP

Related Classes of org.eclipse.team.internal.ccvs.core.ICVSRemoteFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.