@ -6,13 +6,36 @@ package com.fr.design.mainframe.alphafine;
public enum CellType {
PLUGIN(0), DOCUMENT(1), FILE(2), ACTION(3), REUSE(4);
private int cellType;
CellType(int type) {
this.cellType = type;
}
public static CellType parse(int cellType) {
CellType type;
switch (cellType) {
case 0:
type = PLUGIN;
break;
case 1:
type = DOCUMENT;
case 2:
type = FILE;
case 3:
type = ACTION;
case 4:
type = REUSE;
default:
return type;
public int getCellType() {
return cellType;