@Override public Component getUiComponent() { return txtInput.getComponent(); }
@Override public Component getUiComponent() { return txtInput.getComponent(); }
@Override public Component getUiComponent() { return editor.getComponent(); }
@Override public Component getUiComponent() { return txtInput.getComponent(); }
public Component getComponent() { return this.textEditor.getComponent(); }
public InputTab(IMessageEditorController controller, boolean editable) { this.editable = editable; guiContainer = new JTabbedPane(); // create an instance of Burp's text editor, to display our deserialized data burpEditor = callbacks.createTextEditor(); burpEditor.setEditable(editable); // create a source code viewer sourceViewer = new UISourceViewer(callbacks); guiContainer.addTab("JSON Viewer", sourceViewer); guiContainer.addTab("Raw", burpEditor.getComponent()); }
private void initComponents() { rawEditor.setViewportView(burpEditor.getComponent());
public InputTab(IMessageEditorController controller, boolean editable) { this.editable = editable; editor = new JTabbedPane(); // create an instance of Burp's text editor, to display our deserialized data txtInput = callbacks.createTextEditor(); txtInput.setEditable(editable); // create a source code viewer sourceViewerHeader = new UISourceViewer(callbacks); sourceViewerPayload = new UISourceViewer(callbacks); sourceViewerSignature = new UISourceViewer(callbacks); editor.addTab("Header", sourceViewerHeader); editor.addTab("Payload", sourceViewerPayload); editor.addTab("Base64(Signature)", sourceViewerSignature); editor.addTab("Raw", txtInput.getComponent()); }
add(tabbedPane); addRightClickActions(textEditor.getComponent()); tabbedPane.addTab("Raw", null, new JScrollPane(textEditor.getComponent()), null);