рефакторинг хранения окон
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Visual.UI;
|
||||
public class AppendBugReportDescription extends AppendBugReportField {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
return super.canStart("description",
|
||||
UI.getMainWindow().getCallbackWindow().getBugReportDescriptionAdditionText());
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().getBugReportDescriptionAdditionText());
|
||||
}
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
super.performDone();
|
||||
UI.getMainWindow().getCallbackWindow().ClearBugReportDescriptionAdditionText();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ClearBugReportDescriptionAdditionText();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user