no message
This commit is contained in:
@@ -89,9 +89,6 @@ public class MainModule extends MainModule_<GlobalDatabase> {
|
||||
public boolean HasRunTask() {
|
||||
return get(Current.RunTask) != null;
|
||||
}
|
||||
public boolean HasPassForm() {
|
||||
return get(Current.PassForm) != null;
|
||||
}
|
||||
public boolean HasProjectView() {
|
||||
return get(Current.ProjectView) != null;
|
||||
}
|
||||
@@ -210,9 +207,6 @@ public class MainModule extends MainModule_<GlobalDatabase> {
|
||||
public boolean HasBugReport() {
|
||||
return get(Current.BugReport) != null;
|
||||
}
|
||||
public PassForm getPassForm() {
|
||||
return (PassForm) get(Current.PassForm);
|
||||
}
|
||||
public ParallelRegion getParallelRegion() {
|
||||
return (ParallelRegion) get(Current.ParallelRegion);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package _VisualDVM.Repository.Component.Sapfor;
|
||||
import Common.MainModule_;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
@@ -29,8 +30,8 @@ public class MessagesServer {
|
||||
InputStreamReader(client.getInputStream()));
|
||||
String line;
|
||||
while ((line = in.readLine()) != null) {
|
||||
if (Global.mainModule.HasPassForm())
|
||||
Global.mainModule.getPassForm().Result.ShowSapforMessage(line);
|
||||
if (MainModule_.object.HasPassForm())
|
||||
MainModule_.object.getPassForm().Result.ShowSapforMessage(line);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
// UI.Print(DebugPrintLevel.MessagesServer, "соединение сброшено!");
|
||||
|
||||
Reference in New Issue
Block a user