fix
This commit is contained in:
27
src/Visual_DVM_2021/Passes/All/ShowSapforTaskPackage.java
Normal file
27
src/Visual_DVM_2021/Passes/All/ShowSapforTaskPackage.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Current;
|
||||
import Common.UI.UI;
|
||||
import SapforTestingSystem.SapforTasksPackage.SapforTasksPackage;
|
||||
import Visual_DVM_2021.Passes.Pass_2021;
|
||||
public class ShowSapforTaskPackage extends Pass_2021<SapforTasksPackage> {
|
||||
@Override
|
||||
public String getIconPath() {
|
||||
return "/icons/VariantsCoverage.png";
|
||||
}
|
||||
@Override
|
||||
public String getButtonText() {
|
||||
return "";
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Current.Check(Log, Current.SapforTasksPackage)){
|
||||
target = Current.getSapforTasksPackage();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
UI.Info("+");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user