[#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Suppressed some warnings
This commit is contained in:
parent
c263e21eb0
commit
8fbe50b8e5
@ -81,7 +81,7 @@ import org.jooq.debug.console.remote.ClientDebugger;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@SuppressWarnings({"serial", "hiding"})
|
||||
public class Console extends JFrame {
|
||||
|
||||
private Debugger debugger;
|
||||
|
||||
@ -91,7 +91,7 @@ import org.jooq.debug.console.misc.TreeDataTip;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@SuppressWarnings({"serial", "hiding"})
|
||||
public class DebuggerPane extends JPanel {
|
||||
|
||||
private final ImageIcon BREAKPOINT_ON_ICON = new ImageIcon(getClass().getResource("/org/jooq/debug/console/resources/BreakpointOn16.png"));
|
||||
|
||||
@ -117,7 +117,7 @@ import org.fife.ui.rtextarea.RTextScrollPane;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@SuppressWarnings({"serial", "hiding"})
|
||||
public class EditorPane extends JPanel {
|
||||
|
||||
private static final int MAX_ROW_COUNT = 10000;
|
||||
@ -353,6 +353,7 @@ public class EditorPane extends JPanel {
|
||||
}
|
||||
});
|
||||
table.setDefaultRenderer(Timestamp.class, new DefaultTableCellRenderer() {
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
|
||||
Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
|
||||
|
||||
@ -115,7 +115,7 @@ import org.fife.ui.rtextarea.RTextScrollPane;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@SuppressWarnings({"serial", "hiding"})
|
||||
public class LoggerPane extends JPanel {
|
||||
|
||||
private static final SimpleDateFormat TIMESTAMP_FORMAT = new SimpleDateFormat("HH:mm:ss.SSS");
|
||||
|
||||
@ -6,6 +6,7 @@ import javax.swing.tree.DefaultMutableTreeNode;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class CheckBoxNode extends DefaultMutableTreeNode {
|
||||
|
||||
private String text;
|
||||
|
||||
@ -16,6 +16,7 @@ import javax.swing.tree.TreePath;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings({"serial", "hiding"})
|
||||
public class CheckBoxNodeEditor extends AbstractCellEditor implements TreeCellEditor {
|
||||
|
||||
private CheckBoxNodeRenderer renderer;
|
||||
|
||||
@ -15,6 +15,7 @@ import javax.swing.tree.TreeCellRenderer;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class CheckBoxNodeRenderer implements TreeCellRenderer {
|
||||
|
||||
private JCheckBox checkBoxRenderer;
|
||||
|
||||
@ -58,6 +58,7 @@ import javax.swing.event.MouseInputListener;
|
||||
import javax.swing.tree.TreeCellRenderer;
|
||||
import javax.swing.tree.TreePath;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class TreeDataTip {
|
||||
|
||||
private TreeDataTip() {}
|
||||
@ -142,6 +143,7 @@ public class TreeDataTip {
|
||||
public boolean contains(int x, int y) {
|
||||
return isHeavyWeight;
|
||||
}
|
||||
@SuppressWarnings("hiding")
|
||||
@Override
|
||||
public void paintComponent(Graphics g) {
|
||||
// Leave the component's opacity settings as is, just paint the background myself.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user