2024-10-14 12:14:01 +03:00
|
|
|
package _VisualDVM.Passes.All;
|
2024-10-14 12:02:42 +03:00
|
|
|
import Common.Database.Objects.PassStats.PassStats;
|
2024-10-14 15:19:13 +03:00
|
|
|
import Common.MainModule_;
|
2024-10-10 23:57:36 +03:00
|
|
|
import Common.Passes.Pass;
|
2024-10-14 15:19:13 +03:00
|
|
|
import _VisualDVM.Global;
|
2024-10-09 23:37:58 +03:00
|
|
|
public class DropFastAccess extends Pass {
|
2023-09-17 22:13:42 +03:00
|
|
|
@Override
|
|
|
|
|
public String getButtonText() {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
protected void body() throws Exception {
|
2024-10-14 01:16:31 +03:00
|
|
|
Global.mainModule.getDb().DeleteAll(PassStats.class);
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
protected void showDone() throws Exception {
|
2024-10-14 15:30:52 +03:00
|
|
|
MainModule_.instance.fastAccessMenuBar.Drop();
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
|
|
|
|
}
|