some javadoc

This commit is contained in:
Dmitry Jemerov
2014-12-22 15:19:07 +01:00
parent ca03441fcb
commit 95b8fcd2e6
2 changed files with 12 additions and 1 deletions
@@ -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<V extends FrameworkVersion> implements FrameworkOrGroup {
@@ -26,6 +30,10 @@ public abstract class FrameworkGroup<V extends FrameworkVersion> 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<V> getGroupVersions() {
return Collections.emptyList();
@@ -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