Метод | Описание | |
---|---|---|
AddPolicyEntryWithUndo ( ) : void |
Add a single policy entry to this edit panel, registers the undo record
|
|
CopyPolicy ( ) : void |
Copies policy from this panel
|
|
PastePolicy ( ) : void |
Pastes policy to this panel
|
|
RemovePolicyEntry ( Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry entry, bool updatePolicy = true ) : void |
Remove the policy entry from this edit panel
|
|
RemovePolicyEntryWithUndo ( Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry entry ) : void |
Remove the policy entry from this edit panel, registers the undo record
|
|
Setup ( IControllable controllable, List initialPolicy ) : void |
Setups the policy edit panel according to the passed controllable and policy
|
|
SubmitChangedInputs ( ) : void |
Submits changed input field value
|
|
UpdatePolicy ( ) : void |
Updates the controllable policy basing on the inherited policy entries
|
Метод | Описание | |
---|---|---|
AddPolicyEntry ( Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry newEntry = null, bool updatePolicy = true ) : void |
Add a single policy entry to this edit panel
|
|
SetPolicy ( List policy ) : void |
Sets the policy to this panel and initialize editable entries
|
public RemovePolicyEntry ( Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry entry, bool updatePolicy = true ) : void | ||
entry | Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry | Policy entry to be removed |
updatePolicy | bool | Should the policy be updated |
Результат | void |
public RemovePolicyEntryWithUndo ( Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry entry ) : void | ||
entry | Simulator.ScenarioEditor.UI.EditElement.Controllables.PolicyEntry | Policy entry to be removed |
Результат | void |
public Setup ( IControllable controllable, List initialPolicy ) : void | ||
controllable | IControllable | Scenario controllable which policy will be edited |
initialPolicy | List | Policy that will be applied during the setup |
Результат | void |