перенос настроек сравнения в проперти
This commit is contained in:
@@ -96,6 +96,19 @@ public class GlobalProperties {
|
||||
public int lastUserId = CommonConstants.Nan;
|
||||
@Expose
|
||||
public int lastCompilerId = CommonConstants.Nan;
|
||||
//--
|
||||
@Expose
|
||||
public boolean RegisterOn=false;
|
||||
@Expose
|
||||
public boolean SpacesOn=false;
|
||||
@Expose
|
||||
public boolean EmptyLinesOn=false;
|
||||
@Expose
|
||||
public boolean FortranWrapsOn=false;
|
||||
@Expose
|
||||
public boolean ExtensionsOn=false;
|
||||
@Expose
|
||||
public boolean ComparsionDiffMergeOn=false;
|
||||
public GlobalProperties(GlobalProperties p) {
|
||||
super();
|
||||
Mode = p.Mode;
|
||||
@@ -147,6 +160,18 @@ public class GlobalProperties {
|
||||
//-----------------
|
||||
public String getFieldDescription(String fieldName) {
|
||||
switch (fieldName) {
|
||||
case "ExtensionsOn":
|
||||
return "Учитывать расширения файлов";
|
||||
case "FortranWrapsOn":
|
||||
return "Учитывать переносы";
|
||||
case "EmptyLinesOn":
|
||||
return "Учитывать пустые строки";
|
||||
case "SpacesOn":
|
||||
return "Учитывать пробелы и табуляции";
|
||||
case "RegisterOn":
|
||||
return "Учитывать регистр";
|
||||
case "ComparsionDiffMergeOn":
|
||||
return "Автоматическое сравнение";
|
||||
case "AutoBugReportsLoad":
|
||||
return "Автоматическая синхронизация отчётов об ошибках";
|
||||
case "AutoTestsLoad":
|
||||
|
||||
Reference in New Issue
Block a user