// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij; import com.intellij.openapi.project.ModuleListener; import com.intellij.openapi.roots.ModuleRootListener; import com.intellij.util.messages.Topic; public final class ProjectTopics { /** * Project root changes. */ @Topic.ProjectLevel public static final Topic PROJECT_ROOTS = new Topic<>(ModuleRootListener.class); /** * Modules added or removed from project. */ @Topic.ProjectLevel public static final Topic MODULES = new Topic<>(ModuleListener.class, Topic.BroadcastDirection.NONE); private ProjectTopics() { } }