v++
fix визуального бага с деревом. Для корректной перерисовки узла нужно перерисовать его персонально.
This commit is contained in:
@@ -141,5 +141,10 @@ public class SPF_GetGraphFunctions extends SapforAnalysis {
|
||||
if (Global.mainModule.HasFile())
|
||||
Global.mainModule.getFile().form.ShowFunctions();
|
||||
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 org.apache.commons.io.FileUtils;
|
||||
|
||||
import javax.swing.tree.DefaultMutableTreeNode;
|
||||
import javax.swing.tree.TreeNode;
|
||||
import java.util.Vector;
|
||||
public class SPF_ParseFilesWithOrder extends SapforAnalysis {
|
||||
public static boolean silent = false;
|
||||
|
||||
@@ -1539,4 +1539,11 @@ public class db_project_info extends DBObject {
|
||||
}
|
||||
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
|
||||
@Override
|
||||
public void GetVersionInfo() {
|
||||
version = 1139;
|
||||
version = 1140;
|
||||
String pattern = "MMM dd yyyy HH:mm:ss";
|
||||
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
||||
date_text = df.format(getClassBuildTime());
|
||||
|
||||
Reference in New Issue
Block a user