Package jadex.tools.debugger.micro
Class MicroDebuggerPanel
- java.lang.Object
-
- jadex.tools.debugger.micro.MicroDebuggerPanel
-
- All Implemented Interfaces:
IDebuggerPanel
public class MicroDebuggerPanel extends java.lang.Object implements IDebuggerPanel
A generic debugger panel that can display arbitrary java objects.
-
-
Field Summary
Fields Modifier and Type Field Description protected static javax.swing.UIDefaults
icons
The image icons.protected MicroAgentViewPanel
micropanel
The gui component.
-
Constructor Summary
Constructors Constructor Description MicroDebuggerPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Dispose the component.javax.swing.JComponent
getComponent()
The component to be shown in the gui.javax.swing.Icon
getIcon()
The icon of the panel.java.lang.String
getStepInfo()
Get the step info.java.lang.String
getTitle()
The title of the panel (name of the tab).java.lang.String
getTooltipText()
The tooltip text of the panel, if any.void
init(IControlCenter jcc, IBreakpointPanel bpp, IComponentIdentifier name, IExternalAccess access)
Called to initialize the panel.
-
-
-
Field Detail
-
icons
protected static final javax.swing.UIDefaults icons
The image icons.
-
micropanel
protected MicroAgentViewPanel micropanel
The gui component.
-
-
Method Detail
-
init
public void init(IControlCenter jcc, IBreakpointPanel bpp, IComponentIdentifier name, IExternalAccess access)
Called to initialize the panel. Called on the swing thread.- Specified by:
init
in interfaceIDebuggerPanel
- Parameters:
jcc
- The jcc.bpp
- The breakpoint panel.id
- The component identifier.access
- The external access of the component.
-
getTitle
public java.lang.String getTitle()
The title of the panel (name of the tab).- Specified by:
getTitle
in interfaceIDebuggerPanel
- Returns:
- The tab title.
-
getIcon
public javax.swing.Icon getIcon()
The icon of the panel.- Specified by:
getIcon
in interfaceIDebuggerPanel
- Returns:
- The icon (or null, if none).
-
getComponent
public javax.swing.JComponent getComponent()
The component to be shown in the gui.- Specified by:
getComponent
in interfaceIDebuggerPanel
- Returns:
- The component to be displayed.
-
getTooltipText
public java.lang.String getTooltipText()
The tooltip text of the panel, if any.- Specified by:
getTooltipText
in interfaceIDebuggerPanel
- Returns:
- The tooltip text, or null.
-
getStepInfo
public java.lang.String getStepInfo()
Get the step info. Help to decide which component step to perform next.- Specified by:
getStepInfo
in interfaceIDebuggerPanel
- Returns:
- Step info for debugging.
-
dispose
public void dispose()
Dispose the component.- Specified by:
dispose
in interfaceIDebuggerPanel
-
-