From 95b8fcd2e645678b9716ff3f1adf96001d9b4afd Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 22 Dec 2014 15:17:20 +0100 Subject: [PATCH] some javadoc --- .../src/com/intellij/framework/FrameworkGroup.java | 8 ++++++++ .../src/com/intellij/framework/FrameworkOrGroup.java | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/java/idea-ui/src/com/intellij/framework/FrameworkGroup.java b/java/idea-ui/src/com/intellij/framework/FrameworkGroup.java index a3705c263cbd..ac8d6b63c475 100644 --- a/java/idea-ui/src/com/intellij/framework/FrameworkGroup.java +++ b/java/idea-ui/src/com/intellij/framework/FrameworkGroup.java @@ -8,6 +8,10 @@ import java.util.Collections; import java.util.List; /** + * Represents a group of frameworks. in the frameworks tree ("Additional Libraries and Frameworks" + * in the New Project dialog or the tree displayed in the "Add Framework Support" dialog). + * Frameworks in a group can have a common version number. + * * @author nik */ public abstract class FrameworkGroup implements FrameworkOrGroup { @@ -26,6 +30,10 @@ public abstract class FrameworkGroup implements Fram @NotNull public abstract Icon getIcon(); + /** + * Returns the list of known versions of the framework group. The list is shown to the user + * and allows them to choose the version used in their project. + */ @NotNull public List getGroupVersions() { return Collections.emptyList(); diff --git a/java/idea-ui/src/com/intellij/framework/FrameworkOrGroup.java b/java/idea-ui/src/com/intellij/framework/FrameworkOrGroup.java index 8265b71d4658..9b491f602a84 100644 --- a/java/idea-ui/src/com/intellij/framework/FrameworkOrGroup.java +++ b/java/idea-ui/src/com/intellij/framework/FrameworkOrGroup.java @@ -20,8 +20,11 @@ import org.jetbrains.annotations.NotNull; import javax.swing.*; /** + * Represents a single node (framework or group) in the frameworks tree ("Additional Libraries and Frameworks" + * in the New Project dialog or the tree displayed in the "Add Framework Support" dialog). + * * @author Dmitry Avdeev - * Date: 09.10.13 + * @since 09.10.13 */ public interface FrameworkOrGroup { @NotNull