рефакторинг хранения окон
This commit is contained in:
@@ -52,7 +52,7 @@ public class SPF_GetGraphFunctionPositions extends SilentSapforPass {
|
||||
}
|
||||
@Override
|
||||
protected void showPreparation() {
|
||||
UI.getMainWindow().getProjectWindow().ShowNoFunctions();
|
||||
Global.mainModule.getUI().getMainWindow().getProjectWindow().ShowNoFunctions();
|
||||
}
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
@@ -125,7 +125,7 @@ public class SPF_GetGraphFunctionPositions extends SilentSapforPass {
|
||||
return res;
|
||||
}
|
||||
public String packFgSettings() {
|
||||
Pair<Integer, Integer> screenDims = UI.getMainWindow().getProjectWindow().getFunctionsWindow().getFunctionsGraphPanelSizes();
|
||||
Pair<Integer, Integer> screenDims = Global.mainModule.getUI().getMainWindow().getProjectWindow().getFunctionsWindow().getFunctionsGraphPanelSizes();
|
||||
int x = (int) (screenDims.getKey() * target.fgScreen);
|
||||
int y = (int) (screenDims.getValue() * target.fgScreen);
|
||||
Vector<String> visibleFuncNames = new Vector<>();
|
||||
@@ -269,6 +269,6 @@ public class SPF_GetGraphFunctionPositions extends SilentSapforPass {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
UI.getMainWindow().getProjectWindow().ShowFunctions();
|
||||
Global.mainModule.getUI().getMainWindow().getProjectWindow().ShowFunctions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user