v++
fix визуального бага с деревом. Для корректной перерисовки узла нужно перерисовать его персонально.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"Workspace": "E:\\Tests",
|
"Workspace": "E:\\Tests",
|
||||||
"ProjectsSearchDirectory": "E:\\BUG",
|
"ProjectsSearchDirectory": "C:\\Users\\misha\\Documents\\visual_sapfor_2023\\Downloads\\bugreport_1732787997\\reg_detect_titan\\v7",
|
||||||
"VisualiserPath": "C:\\Users\\misha\\Downloads",
|
"VisualiserPath": "C:\\Users\\misha\\Downloads",
|
||||||
"Sapfor_FPath": "E:\\_sapfor_x64\\Components\\Sapfor_F",
|
"Sapfor_FPath": "E:\\_sapfor_x64\\Components\\Sapfor_F",
|
||||||
"Visualizer_2Path": "C:\\Users\\misha\\Documents",
|
"Visualizer_2Path": "C:\\Users\\misha\\Documents",
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"AutoTestsLoad": true,
|
"AutoTestsLoad": true,
|
||||||
"ConfirmPassesStart": true,
|
"ConfirmPassesStart": true,
|
||||||
"ShowPassesDone": true,
|
"ShowPassesDone": true,
|
||||||
"FocusPassesResult": true,
|
"FocusPassesResult": false,
|
||||||
"collapseCredentials": false,
|
"collapseCredentials": false,
|
||||||
"collapseFileGraphs": false,
|
"collapseFileGraphs": false,
|
||||||
"collapseFileMessages": false,
|
"collapseFileMessages": false,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ public class TreeForm<C extends StyledTree> extends ControlForm<C> {
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
protected void redrawControl() {
|
protected void redrawControl() {
|
||||||
getTree().revalidate();
|
getTree().revalidate();
|
||||||
getTree().repaint();
|
getTree().repaint();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,5 +141,10 @@ public class SPF_GetGraphFunctions extends SapforAnalysis {
|
|||||||
if (Global.mainModule.HasFile())
|
if (Global.mainModule.HasFile())
|
||||||
Global.mainModule.getFile().form.ShowFunctions();
|
Global.mainModule.getFile().form.ShowFunctions();
|
||||||
Global.mainModule.getPass(PassCode.SPF_GetGraphFunctionPositions).Do();
|
Global.mainModule.getPass(PassCode.SPF_GetGraphFunctionPositions).Do();
|
||||||
|
//--
|
||||||
|
DBProjectFile main=target.getMainProgramUnit();
|
||||||
|
if (main!=null){
|
||||||
|
Global.mainModule.getUI().getMainWindow().getProjectWindow().getFilesTreeForm().getTree().RefreshNode(main.node);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,6 +11,8 @@ import _VisualDVM.Repository.Component.Sapfor.Sapfor;
|
|||||||
import _VisualDVM.Repository.Component.Sapfor.TransformationPermission;
|
import _VisualDVM.Repository.Component.Sapfor.TransformationPermission;
|
||||||
import org.apache.commons.io.FileUtils;
|
import org.apache.commons.io.FileUtils;
|
||||||
|
|
||||||
|
import javax.swing.tree.DefaultMutableTreeNode;
|
||||||
|
import javax.swing.tree.TreeNode;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||||
public static boolean silent = false;
|
public static boolean silent = false;
|
||||||
|
|||||||
@@ -1539,4 +1539,11 @@ public class db_project_info extends DBObject {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
public DBProjectFile getMainProgramUnit(){
|
||||||
|
for (DBProjectFile file: db.files.Data.values()){
|
||||||
|
if (file.isMain!=0)
|
||||||
|
return file;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class Visualiser extends Component {
|
|||||||
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
|
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
|
||||||
@Override
|
@Override
|
||||||
public void GetVersionInfo() {
|
public void GetVersionInfo() {
|
||||||
version = 1139;
|
version = 1140;
|
||||||
String pattern = "MMM dd yyyy HH:mm:ss";
|
String pattern = "MMM dd yyyy HH:mm:ss";
|
||||||
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
||||||
date_text = df.format(getClassBuildTime());
|
date_text = df.format(getClassBuildTime());
|
||||||
|
|||||||
Reference in New Issue
Block a user