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