update copyright
[fedora-idea.git] / plugins / cvs / cvs-plugin / src / com / intellij / cvsSupport2 / actions / cvsContext / CvsContextAdapter.java
blobc45a296c53100e3a254b80d2dc35ef2626422712
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.cvsSupport2.actions.cvsContext;
18 import com.intellij.cvsSupport2.connections.CvsEnvironment;
19 import com.intellij.cvsSupport2.cvsoperations.cvsAdd.AddedFileInfo;
20 import com.intellij.openapi.editor.Editor;
21 import com.intellij.openapi.project.Project;
22 import com.intellij.openapi.vcs.FilePath;
23 import com.intellij.openapi.vcs.changes.ChangeList;
24 import com.intellij.openapi.vcs.changes.Change;
25 import com.intellij.openapi.vcs.ui.Refreshable;
26 import com.intellij.openapi.vfs.VirtualFile;
27 import com.intellij.psi.PsiElement;
28 import org.jetbrains.annotations.Nullable;
30 import java.io.File;
31 import java.util.Collection;
33 /**
34 * author: lesya
36 public class CvsContextAdapter implements CvsContext{
37 public Project getProject() {
38 return null;
41 public boolean cvsIsActive() {
42 return false;
45 @Nullable
46 public VirtualFile getSelectedFile() {
47 return null;
50 public VirtualFile[] getSelectedFiles() {
51 return VirtualFile.EMPTY_ARRAY;
54 public Refreshable getRefreshableDialog() {
55 return null;
58 public Collection<String> getDeletedFileNames() {
59 return null;
62 public String getFileToRestore() {
63 return null;
66 public Editor getEditor() {
67 return null;
70 public Collection<VirtualFile> getSelectedFilesCollection() {
71 return null;
74 public File getSomeSelectedFile() {
75 return null;
78 public File[] getSelectedIOFiles() {
79 return new File[0];
82 public int getModifiers() {
83 return 0;
86 public CvsLightweightFile getCvsLightweightFile() {
87 return null;
90 public CvsEnvironment getEnvironment() {
91 return null;
94 public Collection<AddedFileInfo> getAllFilesToAdd() {
95 return null;
98 public CvsLightweightFile[] getSelectedLightweightFiles() {
99 return new CvsLightweightFile[0];
102 public String getPlace() {
103 return null;
106 public PsiElement getPsiElement() {
107 return null;
110 public File getSelectedIOFile() {
111 return null;
114 public FilePath[] getSelectedFilePaths() {
115 return null;
118 public FilePath getSelectedFilePath() {
119 return null;
122 @Nullable
123 public ChangeList[] getSelectedChangeLists() {
124 return null;
127 @Nullable
128 public Change[] getSelectedChanges() {
129 return null;