20 package net.sf.gridarta.plugin.parameter;
30 import nu.xom.Element;
31 import org.jetbrains.annotations.NotNull;
85 codec.
fromXML(parameter, parameterNode);
118 codec.
fromXML(p, parameterNode);
A PluginParameter that holds a MapControl value.
static final String PARAMETER_TYPE
The string representation of this parameter type.
This class contains methods for converting relative map paths to absolute map paths and vice versa...
A MapManager manages all opened maps.
final MapManager< G, A, R > mapManager
Reading and writing of maps, handling of paths.
Factory for Plugin Parameters.
XML related utility functions.
Settings that apply to a project.
static final String PARAMETER_TYPE
The string representation of this parameter type.
A PluginParameter that holds an integer value and a range of valid values.
Base package of all Gridarta classes.
A PluginParameter that holds a boolean value.
Reflects a game object (object on a map).
final PathManager pathManager
The PathManager instance for converting files into path names.
PluginParameter< G, A, R, ?> createStringParameter(@NotNull final Element parameterNode)
Creates a new StringParameter from XML representation.
PluginParameterFactory(@NotNull final ArchetypeSet< G, A, R > archetypeSet, @NotNull final MapManager< G, A, R > mapManager, @NotNull final ProjectSettings projectSettings, @NotNull final PathManager pathManager)
GameObjects are the objects based on Archetypes found on maps.
static final String PARAMETER_TYPE
The string representation of this parameter type.
A PluginParameter that holds an Archetype value.
final PluginParameterCodec< G, A, R > codec
The PluginParameterCodec for converting PluginParameters to or from XML representation.
A PluginParameter that holds a double value.
Thrown if a parameter does not exist.
PluginParameter< G, A, R, ?> createParameter(@NotNull final String type)
static Element getChild(@NotNull final Element parentElement, @NotNull final String childName)
Returns a child Element of a parent element.
final ArchetypeSet< G, A, R > archetypeSet
Interface that captures similarities between different ArchetypeSet implementations.
static String [] getTypes()
Returns all available plugin parameter type names.
static final String PARAMETER_TYPE
The string representation of this parameter type.
static final String PARAMETER_TYPE
The string representation of this parameter type.
final ProjectSettings projectSettings
PluginParameter< G, A, R, ?> createParameter(@NotNull final String type, @NotNull final Element parameterNode)
A PluginParameter that holds a path with in the maps directory.
static final String PARAMETER_TYPE
The string representation of this parameter type.
A PluginParameter that holds a string value.
Interface for MapArchObjects.
static final String PARAMETER_TYPE
The string representation of this parameter type.
final PluginParameterVisitor< G, A, R, PluginParameter< G, A, R, ?> > fromXML
A PluginParameterVisitor that restores a PluginParameter from XML representation. ...
PluginParameter< G, A, R, ?> createParameter(@NotNull final Element parameterNode)