Class BreakpointPanel

    • Field Detail

      • m_TableBreakpoints

        protected BaseTableWithButtons m_TableBreakpoints
        the table with all the breakpoints.
      • m_ButtonBreakpointsToggle

        protected BaseButton m_ButtonBreakpointsToggle
        the disable/enable button for breakpoints.
      • m_ButtonBreakpointsAdd

        protected BaseButton m_ButtonBreakpointsAdd
        the add button for breakpoints.
      • m_ButtonBreakpointsEdit

        protected BaseButton m_ButtonBreakpointsEdit
        the edit button for breakpoints.
      • m_ButtonBreakpointsRemove

        protected BaseButton m_ButtonBreakpointsRemove
        the remove button for breakpoints.
      • m_ButtonBreakpointsRemoveAll

        protected BaseButton m_ButtonBreakpointsRemoveAll
        the remove all button for breakpoints.
      • m_IgnoreUpdates

        protected boolean m_IgnoreUpdates
        whether to ignore updates.
    • Constructor Detail

      • BreakpointPanel

        public BreakpointPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class BasePanel
      • setOwner

        public void setOwner​(ControlPanel value)
        Sets the owner.
        Parameters:
        value - the owner
      • getOwner

        public ControlPanel getOwner()
        Returns the current owner.
        Returns:
        the owner, null if none set
      • toggleBreakpoints

        protected void toggleBreakpoints()
        Toggles the enabled state of the currently selected breakpoints.
      • getDefaultBreakpoint

        protected AbstractBreakpoint getDefaultBreakpoint()
        Returns the default breakpoint to use.
        Returns:
        the default
      • getGOEDialog

        protected GenericObjectEditorDialog getGOEDialog()
        Returns the GOE dialog to use for adding/editing breakpoints. Gets instantiated if necessary.
        Returns:
        the dialog
      • addBreakpoint

        protected void addBreakpoint()
        Allows the user to add another breakpoint.
      • editBreakpoint

        protected void editBreakpoint​(int row)
        Allows the user to edit a breakpoint.
        Parameters:
        row - the breakpoint to edit
      • removeAllBreakpoints

        public void removeAllBreakpoints()
        Removes all breakpoints.
      • removeBreakpoints

        protected void removeBreakpoints​(int[] indices)
        Removes breakpoints.
        Parameters:
        indices - the indices of the breakpoints to remove, all if null
      • refresh

        public void refresh()
        Triggers an update.
      • cleanUp

        public void cleanUp()
        Cleans up data structures, frees up memory.
        Specified by:
        cleanUp in interface CleanUpHandler
      • setStepModeEnabled

        public void setStepModeEnabled​(boolean enabled)
        Enables/disables step mode.
        Parameters:
        enabled - if true step mode is enabled
      • isStepModeEnabled

        public boolean isStepModeEnabled()
        Returns whether step mode is enabled.
        Returns:
        true if step mode is enabled
      • setIgnoreUpdates

        public void setIgnoreUpdates​(boolean value)
        Sets whether to ignore updates, ie not queue an update.
        Parameters:
        value - true if to ignore
      • getIgnoreUpdates

        public boolean getIgnoreUpdates()
        Returns whether updates are currently ignored.
        Returns:
        true if ignored