Package jadex.tools.debugger
Class DebuggerPlugin
- java.lang.Object
-
- jadex.base.gui.plugin.AbstractJCCPlugin
-
- jadex.tools.debugger.DebuggerPlugin
-
- All Implemented Interfaces:
IControlCenterPlugin
,IPropertiesProvider
public class DebuggerPlugin extends AbstractJCCPlugin
The debugger provides generic support for stepping and breakpointing components. Kernel-specific panels can be added through configuration options.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
AbstractJCCPlugin.ShowRemoteControlCenterHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectCardLayout
cards
The detail layout.protected ComponentTreePanel
comptree
The component tree table.protected javax.swing.JPanel
detail
The detail panel.protected static javax.swing.UIDefaults
icons
The image icons.protected javax.swing.JSplitPane
split
The split panel.-
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
jcc
-
-
Constructor Summary
Constructors Constructor Description DebuggerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JMenu[]
createMenuBar()
Create menu bar.javax.swing.JComponent[]
createToolBar()
Create tool bar.javax.swing.JComponent
createView()
Create main panel.java.lang.String
getName()
Return the unique name of this plugin.IFuture<Properties>
getProperties()
Get plugin properties to be saved in a project.javax.swing.Icon
getToolIcon(boolean selected)
Return the icon representing this plugin.IFuture<java.lang.Void>
setProperties(Properties props)
Set plugin properties loaded from a project.IFuture<java.lang.Void>
shutdown()
Shutdown the plugin.-
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugin
getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy, pushPlatformSettings
-
-
-
-
Field Detail
-
icons
protected static final javax.swing.UIDefaults icons
The image icons.
-
split
protected javax.swing.JSplitPane split
The split panel.
-
comptree
protected ComponentTreePanel comptree
The component tree table.
-
detail
protected javax.swing.JPanel detail
The detail panel.
-
cards
protected ObjectCardLayout cards
The detail layout.
-
-
Method Detail
-
getProperties
public IFuture<Properties> getProperties()
Get plugin properties to be saved in a project.- Specified by:
getProperties
in interfaceIPropertiesProvider
- Overrides:
getProperties
in classAbstractJCCPlugin
-
setProperties
public IFuture<java.lang.Void> setProperties(Properties props)
Set plugin properties loaded from a project.- Specified by:
setProperties
in interfaceIPropertiesProvider
- Overrides:
setProperties
in classAbstractJCCPlugin
-
getName
public java.lang.String getName()
Return the unique name of this plugin. This method may be called before init(). Used e.g. to store properties of each plugin.
-
getToolIcon
public javax.swing.Icon getToolIcon(boolean selected)
Return the icon representing this plugin. This method may be called before init().
-
createToolBar
public javax.swing.JComponent[] createToolBar()
Create tool bar.- Overrides:
createToolBar
in classAbstractJCCPlugin
- Returns:
- The tool bar.
-
createMenuBar
public javax.swing.JMenu[] createMenuBar()
Create menu bar.- Overrides:
createMenuBar
in classAbstractJCCPlugin
- Returns:
- The menu bar.
-
createView
public javax.swing.JComponent createView()
Create main panel.- Overrides:
createView
in classAbstractJCCPlugin
- Returns:
- The main panel.
-
shutdown
public IFuture<java.lang.Void> shutdown()
Shutdown the plugin.- Specified by:
shutdown
in interfaceIControlCenterPlugin
- Overrides:
shutdown
in classAbstractJCCPlugin
-
-