Class DecompilerCodeComparisonPanel<T extends DualDecompilerFieldPanelCoordinator>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JPanel

        javax.swing.JPanel.AccessibleJPanel
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addDualDecompileResultsListener​(DualDecompileResultsListener listener)
      Adds the indicated listener to be notified when the decompile results have completed.
      protected void createActions()
      Creates the actions provided by this panel.
      protected abstract DualDecompilerFieldPanelCoordinator createFieldPanelCoordinator()
      Creates a new FieldPanelCoordinator used to synchronize scrolling between the left and right view for this CodeComparisonPanel.
      void dispose()
      Cleans up resources when this panel is no longer needed
      void focusGained​(java.awt.event.FocusEvent e)  
      ActionContext getActionContext​(ComponentProvider provider, java.awt.event.MouseEvent event)
      Returns the context object which corresponds to the area of focus within this provider's component.
      DockingAction[] getActions()
      Returns the actions for this panel
      javax.swing.JComponent getComponent()
      The GUI component for this CodeComparisonPanel
      CDisplayPanel getFocusedDecompilerPanel()
      Gets the display panel from the left or right side that has or last had focus.
      AddressSetView getLeftAddresses()
      Gets the addresses loaded in the left side of this panel.
      DecompilerPanel getLeftDecompilerPanel()
      Gets the left side's decompiler panel.
      FieldPanel getLeftFieldPanel()
      Gets the left field panel for this CodeComparisonPanel.
      CDisplayPanel getLeftPanel()
      Gets the left side's C display panel.
      abstract java.lang.Class<? extends DecompilerCodeComparisonPanel<? extends FieldPanelCoordinator>> getPanelThisSupersedes()
      Determines if this panel is intended to take the place of another and if so it returns the class of the panel to be superseded.
      AddressSetView getRightAddresses()
      Gets the addresses loaded in the right side of this panel.
      DecompilerPanel getRightDecompilerPanel()
      Gets the right side's decompiler panel.
      FieldPanel getRightFieldPanel()
      Gets the right field panel for this CodeComparisonPanel.
      CDisplayPanel getRightPanel()
      Gets the right side's C display panel.
      java.lang.String getTitle()
      The title for this code comparison panel
      boolean isMatchingConstantsExactly()  
      protected void leftDecompileDataSet​(DecompileData decompileData)  
      boolean leftPanelHasFocus()
      Determines if the left code panel currently has focus.
      void loadAddresses​(Program leftProgram, Program rightProgram, AddressSetView leftAddresses, AddressSetView rightAddresses)
      Displays program information for a particular set of addresses in the two programs being compared
      void loadData​(Data leftData, Data rightData)
      Displays a comparison of two program's data items
      void loadFunctions​(Function leftFunction, Function rightFunction)
      Displays a comparison of two program's functions
      void programRestored​(Program program)
      Called when the indicated program has been restored because of an Undo/Redo.
      void refreshLeftPanel()
      Refreshes the left side of this panel.
      void refreshRightPanel()
      Refreshes the right side of this panel.
      boolean removeDualDecompileResultsListener​(DualDecompileResultsListener listener)
      Removes the indicated listener from being notified about decompile results.
      protected void rightDecompileDataSet​(DecompileData decompileData)  
      void setBottomComponent​(javax.swing.JComponent comp)
      Sets the component displayed in the bottom of this panel.
      void setFieldPanelCoordinator​(DualDecompilerFieldPanelCoordinator fieldPanelCoordinator)
      Sets the coordinator for the two decompiler panels within this code comparison panel.
      void setHighlightControllers​(ClangHighlightController leftHighlightController, ClangHighlightController rightHighlightController)
      Sets the highlight controllers for both decompiler panels.
      void setLeftTitle​(java.lang.String leftTitle)
      Sets the title for the left side's decompiler.
      void setMouseNavigationEnabled​(boolean enabled)
      Disable mouse navigation from within this dual decompiler panel.
      protected void setPrograms​(Program leftProgram, Program rightProgram)
      Specifies the two programs to be compared by this panel
      void setRightTitle​(java.lang.String rightTitle)
      Sets the title for the right side's decompiler.
      void setTitlePrefixes​(java.lang.String leftTitlePrefix, java.lang.String rightTitlePrefix)
      A CodeComparisonPanel should provide a title based on what the code comparison panel is displaying.
      void setTopComponent​(javax.swing.JComponent comp)
      Sets the component displayed in the top of this panel.
      void setVisible​(boolean aFlag)  
      void updateActionEnablement()
      Updates the enablement for any actions created by this code comparison panel.
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait