рефакторинг хранения окон
This commit is contained in:
@@ -49,7 +49,7 @@ public class ProjectFilesMenu extends GraphMenu {
|
||||
{
|
||||
addActionListener(e -> {
|
||||
if (Global.mainModule.HasProject()) {
|
||||
UI.getVersionsWindow().getVersionsForm().getTree().SelectNode(Global.mainModule.getProject().node);
|
||||
Global.mainModule.getUI().getVersionsWindow().getVersionsForm().getTree().SelectNode(Global.mainModule.getProject().node);
|
||||
Global.mainModule.getPass(PassCode.DeleteVersion).Do();
|
||||
}
|
||||
});
|
||||
@@ -62,7 +62,7 @@ public class ProjectFilesMenu extends GraphMenu {
|
||||
Global.files_multiselection = !Global.files_multiselection;
|
||||
m_multiselection.setIcon(Utils_.getIcon(Global.files_multiselection ? "/icons/Pick.png" : "/icons/NotPick.png"));
|
||||
Global.mainModule.getProject().SelectAllFiles(false);
|
||||
UI.getMainWindow().getProjectWindow().RefreshProjectFiles();
|
||||
Global.mainModule.getUI().getMainWindow().getProjectWindow().RefreshProjectFiles();
|
||||
//-
|
||||
});
|
||||
add(m_multiselection);
|
||||
|
||||
Reference in New Issue
Block a user