blob: 615ba257c5e3714567d62d3f75591e2ac185ac03 [file] [log] [blame]
/*
* Copyright 2000-2009 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.project;
/**
* A marker interface for the things that are allowed to run in dumb mode (when indices are in background update).
* Implementors must take care of handling and/or not calling non-DumbAware parts of system
*
* Known implementors are:
* <li> {@link com.intellij.openapi.actionSystem.AnAction}s
* <li> {@link com.intellij.openapi.fileEditor.FileEditorProvider}s
* <li> post-startup activities ({@link com.intellij.openapi.startup.StartupManager#registerPostStartupActivity(Runnable)})
* <li> Stacktrace {@link com.intellij.execution.filters.Filter}s
* <li> {@link com.intellij.ide.SelectInTarget}s
* <li> {@link com.intellij.ide.IconProvider}s
* <li> {@link com.intellij.codeInsight.completion.CompletionContributor}s
* <li> {@link com.intellij.lang.annotation.Annotator}s
* <li> {@link com.intellij.codeInsight.daemon.LineMarkerProvider}s
* <li> {@link com.intellij.codeHighlighting.TextEditorHighlightingPass}es
* <li> {@link com.intellij.codeInspection.LocalInspectionTool}s
* <li> {@link com.intellij.openapi.wm.ToolWindowFactory}s
* <li> {@link com.intellij.lang.injection.MultiHostInjector}s
*
* @see com.intellij.openapi.project.DumbService
* @see com.intellij.openapi.project.DumbAwareRunnable
* @see PossiblyDumbAware
* @author peter
*/
public interface DumbAware {
}