рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -2,6 +2,7 @@ package _VisualDVM.ProjectData.Files;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Constants;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Utils;
|
||||
import _VisualDVM.ProjectData.GCOV.GCOV_info;
|
||||
import _VisualDVM.ProjectData.LanguageName;
|
||||
@@ -356,7 +357,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
for (FuncInfo fi : function_decls.values()) {
|
||||
for (FuncCall fc : fi.calls) {
|
||||
if ((fc.line == form.getEditor().getCurrentLine()) &&
|
||||
!Current.getSapfor().isIntrinsic(fc.funcName)
|
||||
!Global.mainModule.getSapfor().isIntrinsic(fc.funcName)
|
||||
) {
|
||||
return fc;
|
||||
}
|
||||
@@ -416,7 +417,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
break;
|
||||
}
|
||||
languageName = parent.languageName;
|
||||
if (sapforStyle) style = Current.getSapfor().getStyle();
|
||||
if (sapforStyle) style = Global.mainModule.getSapfor().getStyle();
|
||||
else style = parent.style;
|
||||
}
|
||||
public void importSourceCodeSettings(DBProjectFile parent, boolean sapforStyle) throws Exception {
|
||||
@@ -430,7 +431,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
break;
|
||||
}
|
||||
languageName = parent.languageName;
|
||||
if (sapforStyle) style = Current.getSapfor().getStyle();
|
||||
if (sapforStyle) style =Global.mainModule.getSapfor().getStyle();
|
||||
else style = parent.style;
|
||||
}
|
||||
//------------------
|
||||
|
||||
Reference in New Issue
Block a user