mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-163863 Devkit: mark deprecated attributes in DOM
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 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.
|
||||
@@ -37,9 +37,14 @@ public interface Extensions extends DomElement {
|
||||
@Stubbed
|
||||
GenericAttributeValue<IdeaPlugin> getDefaultExtensionNs();
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #getDefaultExtensionNs()}
|
||||
*/
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
@NotNull
|
||||
@Convert(value = ExtensionNsConverter.class, soft = true)
|
||||
@Stubbed
|
||||
@Deprecated
|
||||
GenericAttributeValue<IdeaPlugin> getXmlns();
|
||||
|
||||
List<Extension> getExtensions();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 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.
|
||||
@@ -41,8 +41,13 @@ public interface IdeaPlugin extends DomElement {
|
||||
@Stubbed
|
||||
GenericDomValue<String> getId();
|
||||
|
||||
/**
|
||||
* @deprecated Unused.
|
||||
*/
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
@NotNull
|
||||
@Attribute("version")
|
||||
@Deprecated
|
||||
GenericAttributeValue<Integer> getIdeaPluginVersion();
|
||||
|
||||
@NotNull
|
||||
@@ -88,6 +93,7 @@ public interface IdeaPlugin extends DomElement {
|
||||
@Stubbed
|
||||
@SubTagList("depends")
|
||||
List<Dependency> getDependencies();
|
||||
|
||||
@SubTagList("depends")
|
||||
Dependency addDependency();
|
||||
|
||||
@@ -100,12 +106,14 @@ public interface IdeaPlugin extends DomElement {
|
||||
@SubTagList("extensions")
|
||||
@Stubbed
|
||||
List<Extensions> getExtensions();
|
||||
|
||||
Extensions addExtensions();
|
||||
|
||||
@NotNull
|
||||
@Stubbed
|
||||
@SubTagList("extensionPoints")
|
||||
List<ExtensionPoints> getExtensionPoints();
|
||||
|
||||
ExtensionPoints addExtensionPoints();
|
||||
|
||||
|
||||
@@ -132,6 +140,7 @@ public interface IdeaPlugin extends DomElement {
|
||||
@SubTagList("actions")
|
||||
@Stubbed
|
||||
List<Actions> getActions();
|
||||
|
||||
Actions addActions();
|
||||
|
||||
|
||||
|
||||
@@ -25,7 +25,12 @@ import com.intellij.util.xml.Required;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface IdeaVersion extends DomElement {
|
||||
/**
|
||||
* @deprecated Use {@link #getUntilBuild()}
|
||||
*/
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
@NotNull
|
||||
@Deprecated
|
||||
GenericAttributeValue<String> getMax();
|
||||
|
||||
@NotNull
|
||||
@@ -36,6 +41,11 @@ public interface IdeaVersion extends DomElement {
|
||||
GenericAttributeValue<String> getUntilBuild();
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #getSinceBuild()}
|
||||
*/
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
@NotNull
|
||||
@Deprecated
|
||||
GenericAttributeValue<String> getMin();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 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.
|
||||
@@ -24,14 +24,6 @@ import com.intellij.util.xml.DomElement;
|
||||
import com.intellij.util.xml.GenericAttributeValue;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* plugin.dtd:vendor interface.
|
||||
* Type vendor documentation
|
||||
* <pre>
|
||||
* <vendor> tag now could have 'url', 'email' and 'logo' attributes;
|
||||
* 'logo' should contain path to a 16 x 16 icon that will appear near the plugin name in the IDEA Welcome Screen
|
||||
* </pre>
|
||||
*/
|
||||
public interface Vendor extends DomElement {
|
||||
|
||||
/**
|
||||
@@ -69,12 +61,12 @@ public interface Vendor extends DomElement {
|
||||
|
||||
|
||||
/**
|
||||
* Returns the value of the logo child.
|
||||
* Attribute logo
|
||||
* @return the value of the logo child.
|
||||
* @deprecated not used anymore
|
||||
*/
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
@NotNull
|
||||
@NoSpellchecking
|
||||
@Deprecated
|
||||
GenericAttributeValue<String> getLogo();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user