no message
This commit is contained in:
@@ -1,23 +1,35 @@
|
||||
package _VisualDVM.Repository.Component;
|
||||
import Common.Database.Tables.DataSet;
|
||||
import Common.Visual.DataSetControlForm;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Repository.Component.PerformanceAnalyzer.PerformanceAnalyzer;
|
||||
import _VisualDVM.Repository.Component.Sapfor.Sapfor_F;
|
||||
import _VisualDVM.Repository.Component.UI.ComponentsForm;
|
||||
|
||||
import javax.swing.*;
|
||||
public class ComponentsSet extends DataSet<ComponentType, Component> {
|
||||
//------------------------------------------------------------------
|
||||
public static Visualiser visualiser = null;
|
||||
public static Visualizer_2 visualizer_2 = null;
|
||||
public static PerformanceAnalyzer performanceAnalyzer = null;
|
||||
public boolean bad_state = false;
|
||||
public boolean need_update = false;
|
||||
public boolean need_publish = false;
|
||||
public boolean needWindow() {
|
||||
public boolean needChanges() {
|
||||
return bad_state || need_update;
|
||||
}
|
||||
public String getButtonIconPath() {
|
||||
return needWindow() ? "/icons/ComponentsNeedUpdate.gif"
|
||||
return needChanges() ? "/icons/ComponentsNeedUpdate.gif"
|
||||
: (need_publish ? "/icons/ComponentsNeedPublish_2023.gif" : "/icons/ComponentsActual.png");
|
||||
}
|
||||
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.Visualizer_2, visualizer_2);
|
||||
put(ComponentType.PerformanceAnalyzer, performanceAnalyzer = new PerformanceAnalyzer());
|
||||
put(ComponentType.Instruction, new Instruction());
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
|
||||
Reference in New Issue
Block a user