| org.osbl.agent.gui.OperationPanel
All known Subclasses: org.osbl.agent.gui.ConditionPanel, org.osbl.agent.gui.ActionPanel,
OperationPanel | abstract public class OperationPanel extends SPanel (Code) | | Represents a line (slot) in the
RuleEditorPanel with controls to visually manipulate
Conditions or Actions.
author: Sebastian Nozzi. |
Method Summary | |
abstract protected List<OperationController> | getControllers() Gets the all the OperationControllers supported by this OperationPanel in this Context. | public void | setEnabled(boolean enabled) Enables or disables this panel, effectively allowing or preventing edition. | public void | updateParameters() Update parameters, to reflect the selected OperationController. |
controllerCombo | protected SComboBox controllerCombo(Code) | | The first field, the combo with all OperationControllers.
|
OperationPanel | public OperationPanel(RuleEditorPanel ruleEditorPanel)(Code) | | Instantiates a new OperationPanel for the given editor.
Parameters: ruleEditorPanel - the Rule Editor object. |
OperationPanel | public OperationPanel(RuleEditorPanel ruleEditorPanel, OperationController candidateController)(Code) | | Instantiates a new OperationPanel, with a pre-existing OperationController as a candidate.
This candidate controller will be shown as the selected element. Eventually this means
that one of the existing controllers in the combo will get replaced with the candidate
controller. For this, the replacement mechanism of OperationController is used.
Parameters: ruleEditorPanel - the rule controller Parameters: candidateController - the candidate controller See Also: OperationController.canBeReplacedBy(OperationController) |
getControllers | abstract protected List<OperationController> getControllers()(Code) | | Gets the all the OperationControllers supported by this OperationPanel in this Context.
the OperationControllers for this panel in this context. |
setEnabled | public void setEnabled(boolean enabled)(Code) | | Enables or disables this panel, effectively allowing or preventing edition.
See Also: org.wings.SComponent.setEnabled(boolean) |
updateParameters | public void updateParameters()(Code) | | Update parameters, to reflect the selected OperationController.
|
|
|