no message
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Global;
|
||||
@@ -163,7 +163,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
BugReportCommentAddition.setWrapStyleWord(true);
|
||||
//----------------------------------------------
|
||||
//тут развилка на то вкладки или поля.
|
||||
SwitchScreen(((GlobalDatabase)CommonUtils.db).settings.get(SettingName.SmallScreen).toBoolean());
|
||||
SwitchScreen(((GlobalDatabase) Utils_.db).settings.get(SettingName.SmallScreen).toBoolean());
|
||||
//-
|
||||
Global.componentsServer.db.bugReports.mountUI(bugReportsPanel);
|
||||
Global.componentsServer.db.subscribers.mountUI(subscribersPanel);
|
||||
@@ -287,7 +287,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
CommentFields commentFields = new CommentFields();
|
||||
@Override
|
||||
public void SwitchScreen(boolean small) {
|
||||
CommonUI.Clear(descriptionPanel);
|
||||
UI_.Clear(descriptionPanel);
|
||||
//------------------------------------------------------------------
|
||||
descriptionInterface = small ? descriptionTabs : descriptionFields;
|
||||
descriptionInterface.setEditorScroll(bugDescriptionScroll);
|
||||
@@ -297,7 +297,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
descriptionPanel.revalidate();
|
||||
descriptionPanel.repaint();
|
||||
//---------
|
||||
CommonUI.Clear(commentPanel);
|
||||
UI_.Clear(commentPanel);
|
||||
//------------------------------------------------------------------
|
||||
commentInterface = small ? commentTabs : commentFields;
|
||||
commentInterface.setEditorScroll(bugCommentScroll);
|
||||
@@ -367,7 +367,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
settingsTools = new VisualiserMenuBar();
|
||||
}
|
||||
public void EnableBugreports() {
|
||||
CommonUI.Clear(accountPanel);
|
||||
UI_.Clear(accountPanel);
|
||||
accountPanel.add(SC10);
|
||||
UI.getMainWindow().SwitchTestingTabs(true);
|
||||
}
|
||||
@@ -436,9 +436,9 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
}
|
||||
@Override
|
||||
public void ShowAccount() {
|
||||
lAccountName.setText(CommonUtils.Brackets(Current.getAccount().name));
|
||||
lAccountMail.setText(CommonUtils.Brackets(Current.getAccount().email));
|
||||
lAccountRole.setText(CommonUtils.Brackets(Current.getAccount().role.getDescription()));
|
||||
lAccountName.setText(Utils_.Brackets(Current.getAccount().name));
|
||||
lAccountMail.setText(Utils_.Brackets(Current.getAccount().email));
|
||||
lAccountRole.setText(Utils_.Brackets(Current.getAccount().role.getDescription()));
|
||||
switch (Current.getAccount().role) {
|
||||
case Undefined:
|
||||
/// UI.Clear(accountPanel);
|
||||
|
||||
Reference in New Issue
Block a user