mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
some javadoc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user