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