cz.cuni.pogamut.shed.widget.editor
Class EnumStructureFactory
java.lang.Object
cz.cuni.pogamut.shed.widget.editor.EnumStructureFactory
public class EnumStructureFactory
- extends Object
We need to get all values of an enum in the NB editor and that is what this
factory is for.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isEnum
public static boolean isEnum(String enumFQN)
getValues
public static List<String> getValues(String enumFQN)
- Get all values of the enum.
- Parameters:
enumFQN - FQN name of the enum.
- Returns:
- All values of the enum. Null if not able to find the enum.
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.