20 package net.sf.gridarta.plugin.parameter;
29 import org.jetbrains.annotations.NotNull;
30 import org.jetbrains.annotations.Nullable;
77 return visitor.visit(
this);
String getPath()
Returns the map path information.
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...
void setFile(@NotNull final File file)
Sets the value from a File instance.
Reading and writing of maps, handling of paths.
Settings that apply to a project.
Abstract base class for PluginParameter implementations for which the value is calculated from the st...
AbsoluteMapPath getMapPath()
Returns the map path within getMapsDir().
MapFile getMapFile(@NotNull final AbsoluteMapPath mapPath)
Returns a MapFile instance from an AbsoluteMapPath.
final ProjectSettings projectSettings
The ProjectSettings instance.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
MapPathParameter(@NotNull final PathManager pathManager, @NotNull final ProjectSettings projectSettings)
Creates a new instance.
GameObjects are the objects based on Archetypes found on maps.
Interface for visitors of PluginParameter instances.
File getMapsDir()
Returns the base directory this map file is part of.
An exception that is thrown if the string representation of value in a PluginParameter cannot be conv...
File getMapsDirectory()
Returns the default maps directory.
boolean setStringValue( @NotNull final String stringValue)
Updates the parameter value.
String getParameterType()
A PluginParameter that holds a path with in the maps directory.
final PathManager pathManager
The PathManager instance for converting Files into path names.
The location of a map file with a map directory.
Interface for MapArchObjects.