no message
This commit is contained in:
@@ -205,9 +205,7 @@ public class Global {
|
||||
components.put(ComponentType.PerformanceAnalyzer, performanceAnalyzer = new PerformanceAnalyzer());
|
||||
components.put(ComponentType.Instruction, new Instruction());
|
||||
//-
|
||||
for (Component component : components.Data.values())
|
||||
// if (component.isVisible())
|
||||
component.InitialVersionCheck();
|
||||
components.initialVersionsCheck();
|
||||
//-
|
||||
AbstractTokenMakerFactory atmf = (AbstractTokenMakerFactory) TokenMakerFactory.getDefaultInstance();
|
||||
atmf.putMapping("text/FortranSPF", "_VisualDVM.Visual.Syntax.FortranSPFTokenMaker");
|
||||
|
||||
@@ -48,6 +48,6 @@ public class InstallComponentFromFolder extends CurrentComponentPass {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
Global.components.RefreshUpdatesStatus();
|
||||
Global.components.refreshUpdatesStatus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ public class PublishComponent extends ComponentsRepositoryPass<Component> {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
Global.components.RefreshUpdatesStatus();
|
||||
Global.components.refreshUpdatesStatus();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,6 @@ public class ResurrectComponent extends CurrentComponentPass {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
Global.components.RefreshUpdatesStatus();
|
||||
Global.components.refreshUpdatesStatus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,6 +116,6 @@ public class ResurrectComponentFromServer extends CurrentComponentPass {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
Global.components.RefreshUpdatesStatus();
|
||||
Global.components.refreshUpdatesStatus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,6 +43,6 @@ public class UpdateComponent extends Pass<Component> {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
Global.components.RefreshUpdatesStatus();
|
||||
Global.components.refreshUpdatesStatus();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ public class ComponentsSet extends DataSet<ComponentType, Component> {
|
||||
return new ComponentsForm(this, mountPanel);
|
||||
}
|
||||
//--
|
||||
public void RefreshUpdatesStatus() {
|
||||
public void refreshUpdatesStatus() {
|
||||
if (getUI() != null)
|
||||
getUI().Refresh();
|
||||
validateStates();
|
||||
@@ -65,4 +65,8 @@ public class ComponentsSet extends DataSet<ComponentType, Component> {
|
||||
}
|
||||
return !bad_state;
|
||||
}
|
||||
public void initialVersionsCheck(){
|
||||
for (Component component : Data.values())
|
||||
component.InitialVersionCheck();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ public class MainMenuBar extends VisualiserMenuBar {
|
||||
UI.Info("Перед работой с компонентами закройте анализатор производительности!");
|
||||
} else {
|
||||
Global.mainModule.getPass(PassCode.GetComponentsActualVersions).Do();
|
||||
Global.components.RefreshUpdatesStatus();
|
||||
Global.components.refreshUpdatesStatus();
|
||||
Global.mainModule.getUI().getComponentsWindow().ShowDialog("");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user