From 6e6e6a1677c704eda9e46d4004f6b2b8570db426 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 5 Apr 2012 18:58:10 +0200 Subject: [PATCH] @NotNull --- .../openapi/fileTypes/INativeFileType.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/platform/core-api/src/com/intellij/openapi/fileTypes/INativeFileType.java b/platform/core-api/src/com/intellij/openapi/fileTypes/INativeFileType.java index 3bc6bf4f8ff4..7d33e65a63f6 100644 --- a/platform/core-api/src/com/intellij/openapi/fileTypes/INativeFileType.java +++ b/platform/core-api/src/com/intellij/openapi/fileTypes/INativeFileType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2000-2012 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.intellij.openapi.fileTypes; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; +import org.jetbrains.annotations.NotNull; public interface INativeFileType extends FileType { - boolean openFileInAssociatedApplication(Project project, VirtualFile file); + boolean openFileInAssociatedApplication(Project project, @NotNull VirtualFile file); + boolean useNativeIcon(); }