VCS: Ctrl+D for Version Control | Updated Files. not completed, does not work from...
[fedora-idea.git] / vcs-api / src / com / intellij / openapi / vcs / VcsDataKeys.java
blobb346606d38393495863930bfeef5c14f6025b45a
1 /*
2 * Copyright 2000-2007 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.
18 * Created by IntelliJ IDEA.
19 * User: yole
20 * Date: 23.10.2006
21 * Time: 18:13:58
23 package com.intellij.openapi.vcs;
25 import com.intellij.openapi.actionSystem.DataConstants;
26 import com.intellij.openapi.actionSystem.DataKey;
27 import com.intellij.openapi.vcs.changes.Change;
28 import com.intellij.openapi.vcs.changes.ChangeList;
29 import com.intellij.openapi.vcs.changes.ChangeRequestChain;
30 import com.intellij.openapi.vcs.history.VcsFileRevision;
31 import com.intellij.openapi.vfs.VirtualFile;
32 import com.intellij.openapi.vfs.pointers.VirtualFilePointer;
33 import org.jetbrains.annotations.NonNls;
35 import java.io.File;
36 import java.util.List;
38 public interface VcsDataKeys {
39 DataKey<File[]> IO_FILE_ARRAY = DataKey.create(VcsDataConstants.IO_FILE_ARRAY);
40 DataKey<File> IO_FILE = DataKey.create(VcsDataConstants.IO_FILE);
41 DataKey<VcsFileRevision> VCS_FILE_REVISION = DataKey.create(VcsDataConstants.VCS_FILE_REVISION);
42 DataKey<VcsFileRevision[]> VCS_FILE_REVISIONS = DataKey.create(VcsDataConstants.VCS_FILE_REVISIONS);
43 DataKey<VirtualFile> VCS_VIRTUAL_FILE = DataKey.create(VcsDataConstants.VCS_VIRTUAL_FILE);
44 DataKey<FilePath> FILE_PATH = DataKey.create(VcsDataConstants.FILE_PATH);
45 DataKey<FilePath[]> FILE_PATH_ARRAY = DataKey.create(VcsDataConstants.FILE_PATH_ARRAY);
46 DataKey<ChangeList[]> CHANGE_LISTS = DataKey.create(DataConstants.CHANGE_LISTS);
47 DataKey<Change[]> CHANGES = DataKey.create(DataConstants.CHANGES);
48 DataKey<Change[]> CHANGES_WITH_MOVED_CHILDREN = DataKey.create("ChangeListView.ChangesWithDetails");
49 @NonNls DataKey<List<Change>> CHANGES_IN_LIST_KEY = DataKey.create("ChangeListView.ChangesInList");
50 @NonNls DataKey<List<VirtualFile>> MODIFIED_WITHOUT_EDITING_DATA_KEY = DataKey.create("ChangeListView.ModifiedWithoutEditing");
51 DataKey<Change[]> SELECTED_CHANGES = DataKey.create("ChangeListView.SelectedChange");
52 DataKey<Change[]> CHANGE_LEAD_SELECTION = DataKey.create("ChangeListView.ChangeLeadSelection");
53 DataKey<ChangeRequestChain> DIFF_REQUEST_CHAIN = DataKey.create("diffRequestChain");
54 DataKey<String> UPDATE_VIEW_SELECTED_PATH = DataKey.create("AbstractCommonUpdateAction.UpdateViewSelectedPath");
55 DataKey<Iterable<VirtualFilePointer>> UPDATE_VIEW_FILES_ITERABLE = DataKey.create("AbstractCommonUpdateAction.UpdatedFilesIterable");
56 DataKey<Object> CHECKPOINT_BEFORE = DataKey.create("CHECKPOINT_BEFORE");
57 DataKey<Object> CHECKPOINT_AFTER = DataKey.create("CHECKPOINT_AFTER");