com.intellij.openapi.vcs.FileStatusFactory Java Examples
The following examples show how to use
com.intellij.openapi.vcs.FileStatusFactory.
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: FileStatusColorsPageFactory.java From consulo with Apache License 2.0 | 5 votes |
private static Collection<String> collectFileTypes() { ArrayList<String> result = new ArrayList<String>(); FileStatus[] statuses = FileStatusFactory.getInstance().getAllFileStatuses(); for (FileStatus status : statuses) { result.add(status.getText()); } return result; }
Example #2
Source File: ColorAndFontOptions.java From consulo with Apache License 2.0 | 3 votes |
private static void initFileStatusDescriptors(@Nonnull List<EditorSchemeAttributeDescriptor> descriptions, MyColorScheme scheme) { FileStatus[] statuses = FileStatusFactory.getInstance().getAllFileStatuses(); for (FileStatus fileStatus : statuses) { addEditorSettingDescription(descriptions, fileStatus.getText(), FILE_STATUS_GROUP, null, fileStatus.getColorKey(), scheme); } }