Browse Source

REPORT-9958 参考附件截图,点填报属性的时候,添加内置sql右边是空白的

research/10.0
kerry 6 years ago
parent
commit
ff271147c1
  1. 17
      designer-base/src/main/java/com/fr/design/gui/frpane/LoadingBasicPane.java
  2. 12
      designer-realize/src/main/java/com/fr/design/webattr/ReportWriteAttrPane.java

17
designer-base/src/main/java/com/fr/design/gui/frpane/LoadingBasicPane.java

@ -7,10 +7,14 @@ import com.fr.design.dialog.BasicPane;
import com.fr.design.gui.ilable.UILabel;
import com.fr.design.layout.FRGUIPaneFactory;
import com.fr.design.utils.gui.LayoutUtils;
import com.fr.general.Inter;
import com.fr.locale.InterProviderFactory;
import javax.swing.*;
import java.awt.*;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.swing.SwingConstants;
import javax.swing.SwingWorker;
import java.awt.BorderLayout;
import java.awt.CardLayout;
/**
* @author richer
@ -23,6 +27,10 @@ public abstract class LoadingBasicPane extends BasicPane {
private JProgressBar progressBar;
public LoadingBasicPane() {
initCards();
initPane();
}
protected void initPane(){
new SwingWorker<Integer, Void>() {
@Override
@ -42,13 +50,14 @@ public abstract class LoadingBasicPane extends BasicPane {
}
private void initCards() {
card = new CardLayout();
setLayout(card);
JPanel loadingDisPane = FRGUIPaneFactory.createBorderLayout_S_Pane();
String[] message = {"Loading","Please-Wait"};
String[] operator = {",","..."};
UILabel loadingPane = new UILabel(Inter.getLocText(message,operator) , SwingConstants.CENTER);
UILabel loadingPane = new UILabel(InterProviderFactory.getProvider().getLocText(message,operator) , SwingConstants.CENTER);
loadingDisPane.add(loadingPane, BorderLayout.CENTER);
progressBar = new JProgressBar();
progressBar.setIndeterminate(true);

12
designer-realize/src/main/java/com/fr/design/webattr/ReportWriteAttrPane.java

@ -11,8 +11,11 @@ import com.fr.general.Inter;
import com.fr.report.worksheet.WorkSheet;
import com.fr.report.write.ReportWriteAttr;
import javax.swing.*;
import java.awt.*;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.SwingConstants;
import java.awt.BorderLayout;
public class ReportWriteAttrPane extends LoadingBasicPane {
private SubmitVisitorListPane submiterListPane;
@ -25,6 +28,11 @@ public class ReportWriteAttrPane extends LoadingBasicPane {
}
public ReportWriteAttrPane(ElementCasePane ePane){
this.ePane = ePane;
super.initPane();
}
protected void initPane(){
}
@Override

Loading…
Cancel
Save