промежуточный. загрузка адресатов для багов без наличия их в бд.
This commit is contained in:
@@ -16,6 +16,7 @@ public class AdministrationForm implements FormWithSplitters, AdministrationWind
|
||||
public AdministrationForm(){
|
||||
LoadSplitters();
|
||||
Global.componentsServer.credentials_db.userAccounts.mountUI(userAccountsPanel);
|
||||
Global.componentsServer.credentials_db.workspaces.mountUI(workspacesPanel);
|
||||
}
|
||||
@Override
|
||||
public void ShowAll() {
|
||||
|
||||
@@ -418,7 +418,7 @@
|
||||
</properties>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<grid id="bd1dc" binding="subscribersPanel" layout-manager="BorderLayout" hgap="0" vgap="0">
|
||||
<grid id="bd1dc" binding="recipientsPanel" layout-manager="BorderLayout" hgap="0" vgap="0">
|
||||
<constraints border-constraint="Center"/>
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
|
||||
@@ -101,7 +101,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
private JPanel accountPanel;
|
||||
private JPanel bugReportsPanel;
|
||||
private JPanel filterFormPanel;
|
||||
private JPanel subscribersPanel;
|
||||
private JPanel recipientsPanel;
|
||||
private JTabbedPane currentBugReportTabs;
|
||||
private JScrollPane bugSettingsScroll;
|
||||
private JCheckBox BugReportsMyOnlyFilter;
|
||||
@@ -153,8 +153,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
SwitchScreen(Global.normalProperties.SmallScreen);
|
||||
//-
|
||||
Global.componentsServer.db.bugReports.mountUI(bugReportsPanel);
|
||||
Global.componentsServer.db.subscribers.mountUI(subscribersPanel);
|
||||
// Global.componentsServer.db.workspaces.mountUI(workspacesPanel);
|
||||
Global.componentsServer.db.recipients.mountUI(recipientsPanel);
|
||||
//-
|
||||
if (!Global.mainModule.getPass(PassCode.CheckAccount).isDone()) {
|
||||
accountTools.add(Global.mainModule.getPass(PassCode.CheckAccount).createButton());
|
||||
@@ -457,19 +456,12 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
@Override
|
||||
public void ShowBugReports() {
|
||||
Global.componentsServer.db.bugReports.ShowUI();
|
||||
Global.componentsServer.db.recipients.ShowUI();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoBugReports() {
|
||||
Global.componentsServer.db.bugReports.ClearUI();
|
||||
}
|
||||
@Override
|
||||
public void ShowSubscribers() {
|
||||
Global.componentsServer.db.subscribers.ShowUI();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoSubscribers() {
|
||||
Global.componentsServer.db.subscribers.ClearUI();
|
||||
}
|
||||
private void ShowDraft() {
|
||||
Global.mainModule.setPassesControlsVisible(true,
|
||||
PassCode.PublishBugReport,
|
||||
@@ -545,8 +537,8 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
SwitchListeners(false);
|
||||
// currentBugReportTabs.setSelectedIndex(0);
|
||||
BugReport target = Global.componentsServer.db.bugReports.getUI().getCurrent();
|
||||
target.CheckSubscribers();
|
||||
Global.componentsServer.db.subscribers.ShowUI();
|
||||
// target.CheckSubscribers();
|
||||
// Global.componentsServer.db.subscribers.ShowUI();
|
||||
//-
|
||||
BugReportDescription.setText(target.description);
|
||||
BugReportDescription.ShowBegin();
|
||||
@@ -582,7 +574,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
@Override
|
||||
public void ShowNoCurrentBugReport() {
|
||||
SwitchListeners(false);
|
||||
Global.componentsServer.db.subscribers.ShowUI();
|
||||
// Global.componentsServer.db.subscribers.ShowUI();
|
||||
//-
|
||||
BugReportDescription.setText("");
|
||||
BugReportComment.setText("");
|
||||
|
||||
Reference in New Issue
Block a user