2024-10-14 12:14:01 +03:00
|
|
|
package _VisualDVM.Passes.All;
|
2024-10-09 22:01:19 +03:00
|
|
|
import _VisualDVM.Current;
|
2024-10-07 00:58:29 +03:00
|
|
|
import _VisualDVM.Global;
|
2024-10-08 23:45:06 +03:00
|
|
|
import _VisualDVM.ServerObjectsCache.SapforConfigurationCache;
|
|
|
|
|
import _VisualDVM.ServerObjectsCache.VisualCaches;
|
2024-10-09 22:21:57 +03:00
|
|
|
import _VisualDVM.TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration;
|
|
|
|
|
import _VisualDVM.TestingSystem.SAPFOR.SapforSettings.SapforSettings;
|
2024-10-14 12:14:01 +03:00
|
|
|
import _VisualDVM.Passes.Testing.ShowCurrentConfigurationTests;
|
2024-09-28 21:47:17 +03:00
|
|
|
|
|
|
|
|
import java.util.Vector;
|
|
|
|
|
public class ShowCurrentSAPFORConfigurationTests extends ShowCurrentConfigurationTests<SapforConfiguration> {
|
2024-09-18 22:58:38 +03:00
|
|
|
@Override
|
|
|
|
|
public Current currentName() {
|
|
|
|
|
return Current.SapforConfiguration;
|
|
|
|
|
}
|
2024-09-28 21:47:17 +03:00
|
|
|
@Override
|
|
|
|
|
protected void showDone() throws Exception {
|
|
|
|
|
super.showDone();
|
|
|
|
|
SapforConfigurationCache cache = (SapforConfigurationCache) VisualCaches.GetCache(target);
|
|
|
|
|
Vector<SapforSettings> settings = cache.getSettings();
|
|
|
|
|
for (SapforSettings s: settings)
|
|
|
|
|
s.Select(true);
|
|
|
|
|
//--
|
|
|
|
|
if (!settings.isEmpty()){
|
|
|
|
|
Global.testingServer.db.sapforSettings.ShowUI(settings.lastElement().id);
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-18 22:58:38 +03:00
|
|
|
}
|