рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -1,23 +1,24 @@
|
||||
package _VisualDVM.ProjectData.SapforData.Arrays.Templates;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
public enum TemplateDimensionState {
|
||||
multiplied, //0
|
||||
distributed; //1
|
||||
public String getMaskDescription() {
|
||||
switch (this) {
|
||||
case distributed:
|
||||
if (Current.getProject().f_distributed()) {
|
||||
if (Global.mainModule.getProject().f_distributed()) {
|
||||
return "BLOCK";
|
||||
} else {
|
||||
if (Current.getProject().f_multiplied())
|
||||
if (Global.mainModule.getProject().f_multiplied())
|
||||
return " X ";
|
||||
else return "BLOCK";
|
||||
}
|
||||
case multiplied:
|
||||
if (Current.getProject().f_multiplied()) {
|
||||
if (Global.mainModule.getProject().f_multiplied()) {
|
||||
return " * ";
|
||||
} else {
|
||||
if (Current.getProject().f_distributed())
|
||||
if (Global.mainModule.getProject().f_distributed())
|
||||
return " X ";
|
||||
else return " * ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user