mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Mark base interfaces of components as deprecated
GitOrigin-RevId: bc15653becdd051dbe44fcea02f9587958eb3bfa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f941beaca
commit
c3e494e7a6
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2019 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.
|
||||
// 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.openapi.components;
|
||||
|
||||
/**
|
||||
@@ -12,7 +12,11 @@ package com.intellij.openapi.components;
|
||||
* {@link #initComponent()} and {@link #projectOpened()} methods will be called for each project even if user doesn't use any feature of your
|
||||
* plugin. So consider using specific extensions instead to ensure that the plugin will not impact IDE performance until user calls its
|
||||
* actions explicitly.</strong>
|
||||
*
|
||||
* @deprecated Components are deprecated; please see http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_components.html for
|
||||
* guidelines on migrating to other APIs.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface ProjectComponent extends BaseComponent {
|
||||
/**
|
||||
* Invoked when the project corresponding to this component instance is opened.<p>
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
// Copyright 2000-2019 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.
|
||||
// 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.openapi.components;
|
||||
|
||||
/**
|
||||
* The base interface class for all components.
|
||||
*
|
||||
* @deprecated Components are deprecated; please see http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_components.html for
|
||||
* guidelines on migrating to other APIs.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface BaseComponent extends NamedComponent {
|
||||
/**
|
||||
* @deprecated Use {@link com.intellij.openapi.components.PersistentStateComponent#initializeComponent()} or perform initialization in constructor for non-persistence component.
|
||||
|
||||
Reference in New Issue
Block a user