no message
This commit is contained in:
@@ -172,27 +172,27 @@ public class Global {
|
||||
public static boolean ValidateComponentsStates() {
|
||||
bad_state = need_update = need_publish = 0;
|
||||
for (Component component : Components.Data.values()) {
|
||||
// if (component.isVisible()) {
|
||||
switch (component.getState()) {
|
||||
case Not_found:
|
||||
case Unknown_version:
|
||||
case Old_version:
|
||||
if (component.isNecessary())
|
||||
bad_state++;
|
||||
component.Select(true);
|
||||
break;
|
||||
case Needs_update:
|
||||
need_update++;
|
||||
component.Select(true);
|
||||
break;
|
||||
case Needs_publish:
|
||||
need_publish++;
|
||||
break;
|
||||
default:
|
||||
component.Select(false);
|
||||
break;
|
||||
}
|
||||
// }
|
||||
// if (component.isVisible()) {
|
||||
switch (component.getState()) {
|
||||
case Not_found:
|
||||
case Unknown_version:
|
||||
case Old_version:
|
||||
if (component.isNecessary())
|
||||
bad_state++;
|
||||
component.Select(true);
|
||||
break;
|
||||
case Needs_update:
|
||||
need_update++;
|
||||
component.Select(true);
|
||||
break;
|
||||
case Needs_publish:
|
||||
need_publish++;
|
||||
break;
|
||||
default:
|
||||
component.Select(false);
|
||||
break;
|
||||
}
|
||||
// }
|
||||
}
|
||||
return (bad_state == 0);
|
||||
}
|
||||
@@ -242,8 +242,8 @@ public class Global {
|
||||
Components.put(ComponentType.Instruction, new Instruction());
|
||||
//-
|
||||
for (Component component : Components.Data.values())
|
||||
// if (component.isVisible())
|
||||
component.InitialVersionCheck();
|
||||
// if (component.isVisible())
|
||||
component.InitialVersionCheck();
|
||||
//-
|
||||
AbstractTokenMakerFactory atmf = (AbstractTokenMakerFactory) TokenMakerFactory.getDefaultInstance();
|
||||
atmf.putMapping("text/FortranSPF", "_VisualDVM.Visual.Syntax.FortranSPFTokenMaker");
|
||||
|
||||
Reference in New Issue
Block a user