Enum SolutionKind
- java.lang.Object
 - 
- java.lang.Enum<SolutionKind>
 - 
- jetbrains.mps.project.structure.modules.SolutionKind
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparable<SolutionKind>
public enum SolutionKind extends Enum<SolutionKind>
It was a temporary way to mark solution as a plugin (at that time: 10/25/11) One can specify a solution kind in the properties dialog of MPS. The SolutionKind establishes the place of the solution in the MPS modules' hierarchy (Core - Editor - Workbench) TODO: review the usages again 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant Description NONEPLUGIN_COREPLUGIN_EDITORPLUGIN_OTHER 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static SolutionKindvalueOf(String name)Returns the enum constant of this type with the specified name.static SolutionKind[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
 - 
 
- 
- 
Enum Constant Detail
- 
NONE
public static final SolutionKind NONE
 
- 
PLUGIN_CORE
public static final SolutionKind PLUGIN_CORE
 
- 
PLUGIN_EDITOR
public static final SolutionKind PLUGIN_EDITOR
 
- 
PLUGIN_OTHER
public static final SolutionKind PLUGIN_OTHER
 
 - 
 
- 
Method Detail
- 
values
public static SolutionKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SolutionKind c : SolutionKind.values()) System.out.println(c);
- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 
- 
valueOf
public static SolutionKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
 name- the name of the enum constant to be returned.- Returns:
 - the enum constant with the specified name
 - Throws:
 IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
 
- 
toString
public String toString()
- Overrides:
 toStringin classEnum<SolutionKind>
 
 - 
 
 -