no message
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common.Current_;
|
||||
import Common.Utils.CommonUtils;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.ProjectData.Project.db_project_info;
|
||||
import Visual_DVM_2021.Passes.Pass_2021;
|
||||
public class CloseProject extends Pass_2021<db_project_info> {
|
||||
import Visual_DVM_2021.Passes.Pass;
|
||||
public class CloseProject extends Pass<db_project_info> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
return (target = Current.getProject()) != null;
|
||||
@@ -17,7 +17,7 @@ public class CloseProject extends Pass_2021<db_project_info> {
|
||||
protected void performDone() throws Exception {
|
||||
Current.getSapfor().ResetAllAnalyses();
|
||||
Current.getSapfor().cd(CommonUtils.getHomeDirectory());
|
||||
CurrentAnchestor.set(Current.Project, null);
|
||||
Current_.set(Current.Project, null);
|
||||
//-
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user