public class TestCenterPlugin
extends jadex.base.gui.plugin.AbstractJCCPlugin
| Modifier and Type | Field and Description |
|---|---|
javax.swing.Action |
ADD_TESTCASE
Add testcase.
|
javax.swing.Action |
ADD_TESTCASES
Add testcases.
|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected jadex.base.gui.modeltree.ModelTreePanel |
mpanel
The panel showing the classpath models.
|
javax.swing.Action |
REMOVE_TESTCASE
Remove testcase.
|
javax.swing.Action |
REMOVE_TESTCASES
Remove testcases.
|
protected TestCenterPanel |
tcpanel
The test center panel.
|
| Constructor and Description |
|---|
TestCenterPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTestcases(jadex.base.gui.filetree.IFileNode node)
Add testcases for a file or directory recursively.
|
jadex.commons.future.IFuture<jadex.bridge.IResourceIdentifier> |
createResourceIdentifier(jadex.base.gui.filetree.IFileNode node)
Create a resource identifier.
|
javax.swing.JComponent[] |
createToolBar()
Create tool bar.
|
javax.swing.JComponent |
createView()
Create main panel.
|
java.lang.String |
getHelpID()
Return the id for the help system
|
protected jadex.commons.future.IFuture |
getLeafChildren(jadex.base.gui.filetree.IFileNode node)
Recursively get all leaf (sub)children of a node.
|
java.lang.String |
getName()
Return the unique name of this plugin.
|
jadex.commons.future.IFuture |
getProperties()
Save the properties.
|
javax.swing.Icon |
getToolIcon(boolean selected)
Return the icon representing this plugin.
|
jadex.commons.future.IFuture |
loadPlatformProperties()
Load and apply the platform properties.
|
jadex.commons.future.IFuture |
pushPlatformSettings()
Store settings if any in platform settings service.
|
protected void |
removeTestcases(jadex.base.gui.filetree.IFileNode node)
Remove testcases for a file or directory recusively.
|
jadex.commons.future.IFuture |
setProperties(jadex.commons.Properties props)
Load the properties.
|
protected static final javax.swing.UIDefaults icons
protected jadex.base.gui.modeltree.ModelTreePanel mpanel
protected TestCenterPanel tcpanel
public final javax.swing.Action ADD_TESTCASE
public final javax.swing.Action ADD_TESTCASES
public final javax.swing.Action REMOVE_TESTCASE
public final javax.swing.Action REMOVE_TESTCASES
public java.lang.String getName()
public javax.swing.Icon getToolIcon(boolean selected)
public java.lang.String getHelpID()
public javax.swing.JComponent[] createToolBar()
createToolBar in class jadex.base.gui.plugin.AbstractJCCPluginpublic javax.swing.JComponent createView()
createView in class jadex.base.gui.plugin.AbstractJCCPluginpublic jadex.commons.future.IFuture loadPlatformProperties()
public jadex.commons.future.IFuture pushPlatformSettings()
pushPlatformSettings in interface jadex.base.gui.plugin.IControlCenterPluginpushPlatformSettings in class jadex.base.gui.plugin.AbstractJCCPluginpublic jadex.commons.future.IFuture setProperties(jadex.commons.Properties props)
setProperties in interface jadex.commons.IPropertiesProvidersetProperties in class jadex.base.gui.plugin.AbstractJCCPluginprops - public jadex.commons.future.IFuture getProperties()
getProperties in interface jadex.commons.IPropertiesProvidergetProperties in class jadex.base.gui.plugin.AbstractJCCPluginprops - protected jadex.commons.future.IFuture getLeafChildren(jadex.base.gui.filetree.IFileNode node)
protected void addTestcases(jadex.base.gui.filetree.IFileNode node)
node - The file/dir node to start.protected void removeTestcases(jadex.base.gui.filetree.IFileNode node)
node - The file/dir node to start.public jadex.commons.future.IFuture<jadex.bridge.IResourceIdentifier> createResourceIdentifier(jadex.base.gui.filetree.IFileNode node)