no message
This commit is contained in:
19
src/_VisualDVM/Passes/All/DropFastAccess.java
Normal file
19
src/_VisualDVM/Passes/All/DropFastAccess.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import Common.Database.Objects.PassStats.PassStats;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Visual.UI;
|
||||
import Common.Passes.Pass;
|
||||
public class DropFastAccess extends Pass {
|
||||
@Override
|
||||
public String getButtonText() {
|
||||
return "";
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
Global.mainModule.getDb().DeleteAll(PassStats.class);
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
UI.fastAccessMenuBar.Drop();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user