Package mekhq.gui.scenarioTemplateEditor
package mekhq.gui.scenarioTemplateEditor
-
ClassDescriptionTranslates between the "Destination Zone" combo box index shown in
ScenarioTemplateEditorDialogand the destination-zone value stored on aScenarioForceTemplate.Editor panel for a singleScenarioForceTemplate- the "Participating Forces" editor.Commits an added or edited force into the scenario template's force roster (a map keyed by force ID).Outcome of a commit attempt.Table model backing the "Participating Forces" list inScenarioTemplateEditorDialog.Validation and parsing for the four free-text map-dimension inputs inScenarioTemplateEditorDialog(base width/height and the width/height scaling increments).Editor panel for a scenario template'sScenarioMapParameters: base and scaled dimensions, additional map sheets, rotation and AtB sizing, the map-location choice, and the allowed terrain types.Helpers for the scenario template editor's role-choices control.Editor panel for a scenario template's fixed scenario modifiers: a picker of the available modifier keys plus the accumulated list, with add/remove.UI for creating or editing a single scenario objectiveEditor panel for a scenario template's objectives: the objective list plus add/edit (viaObjectiveEditPanel) and remove.Editor for a force's role choices.Handles editing, saving and loading of scenario template definitions.Editor panel for the top-level properties of aScenarioTemplate: name, briefings, scenario type, battlefield control, and the facility and ambush/patrol suitability flags.