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