package _VisualDVM.ProjectData.SapforData.Arrays.Templates;
import _VisualDVM.Global;
public enum TemplateDimensionState {
    multiplied, //0
    distributed; //1
    public String getMaskDescription() {
        switch (this) {
            case distributed:
                if (Global.mainModule.getProject().f_distributed()) {
                    return "BLOCK";
                } else {
                    if (Global.mainModule.getProject().f_multiplied())
                        return "  X  ";
                    else return "BLOCK";
                }
            case multiplied:
                if (Global.mainModule.getProject().f_multiplied()) {
                    return "  *  ";
                } else {
                    if (Global.mainModule.getProject().f_distributed())
                        return "  X  ";
                    else return "  *  ";
                }
        }
        return "?";
    }
    public String getDescription() {
        switch (this) {
            case distributed:
                return "BLOCK";
            case multiplied:
                return "  *  ";
        }
        return "??";
    }
}
