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