Browse Source

sonarqube

master
hzzz 7 years ago
parent
commit
4e945a1658
  1. 12
      designer_base/src/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

12
designer_base/src/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

@ -68,6 +68,8 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
private DBTableData dbTableData;
private void init() {
this.setLayout(new BorderLayout(4, 4));
sqlTextPane = new SQLEditPane();
sqlTextPane.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_SQL);
@ -115,10 +117,8 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
});
}
public DBTableDataPane() {
init();
this.setLayout(new BorderLayout(4, 4));
private void initMainSplitPane() {
Box box = new Box(BoxLayout.Y_AXIS);
@ -155,6 +155,12 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
this.add(mainSplitPane, BorderLayout.CENTER);
}
public DBTableDataPane() {
init();
initMainSplitPane();
}
private boolean isPreviewOrRefreshButton (FocusEvent e) {
if (e.getOppositeComponent() != null) {

Loading…
Cancel
Save