постепенное выведение старой концепции текущих объектов, касаемо табличных лучше держать их в интерфейсе таблиц, чтобы не писать описание объекта дважды и не мучиться с типом. некоторые фиксы
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package _VisualDVM.Repository.Component;
|
||||
import Common.Database.Tables.DataSet;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.DataSetControlForm;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
@@ -26,7 +27,7 @@ public class ComponentsSet extends DataSet<ComponentType, Component> {
|
||||
public ComponentsSet() {
|
||||
super(ComponentType.class, Component.class);
|
||||
put(ComponentType.Visualiser, visualiser = new Visualiser());
|
||||
put(ComponentType.Sapfor_F, (Component) Global.mainModule.set(Current.Sapfor, new Sapfor_F()));
|
||||
put(ComponentType.Sapfor_F, (Component)MainModule_.instance.set(Current.Sapfor, new Sapfor_F()));
|
||||
put(ComponentType.Visualizer_2, visualizer_2);
|
||||
put(ComponentType.PerformanceAnalyzer, performanceAnalyzer = new PerformanceAnalyzer());
|
||||
put(ComponentType.Instruction, new Instruction());
|
||||
@@ -46,7 +47,7 @@ public class ComponentsSet extends DataSet<ComponentType, Component> {
|
||||
//--
|
||||
public void refreshUpdatesStatus() {
|
||||
if (getUI() != null)
|
||||
getUI().Refresh();
|
||||
getUI().RedrawControl();
|
||||
validateStates();
|
||||
if (Global.mainModule.getUI().hasMainWindow())
|
||||
Global.mainModule.getUI().getMainWindow().ShowUpdatesIcon();
|
||||
|
||||
Reference in New Issue
Block a user