20 package net.sf.gridarta.maincontrol;
22 import java.awt.Component;
23 import javax.swing.filechooser.FileFilter;
61 import net.
sf.japi.swing.prefs.PreferencesGroup;
62 import org.jetbrains.annotations.NotNull;
63 import org.jetbrains.annotations.Nullable;
97 ScriptedEventFactory<G, A, R> newScriptedEventFactory(@NotNull
ScriptArchUtils scriptArchUtils, @NotNull
GameObjectFactory<G, A, R> gameObjectFactory, @NotNull
ScriptedEventEditor<G, A, R> scriptedEventEditor, @NotNull
ArchetypeSet<G, A, R> archetypeSet);
129 RendererFactory<G, A, R> newRendererFactory(@NotNull
MapViewSettings mapViewSettings, @NotNull
FilterControl<G, A, R> filterControl, @NotNull
GameObjectParser<G, A, R> gameObjectParser, @NotNull
FaceObjectProviders faceObjectProviders, @NotNull
ResourceIcons resourceIcons, @NotNull
SmoothFaces smoothFaces);
Dialog to edit events linked to item scripting.
Stores and manages information about scripted events.
Package with common types for event archetypes.
String getGridartaJarFilename()
Returns the filename of the editor's .jar file.
This class contains methods for converting relative map paths to absolute map paths and vice versa...
A MapManager manages all opened maps.
Graphical User Interface of Gridarta.
Reading and writing of maps, handling of paths.
Settings that apply to a project.
FileFilter getScriptFileFilter()
Returns the FileFilter for script files.
ScriptArchDataUtils< G, A, R > newScriptArchDataUtils(@NotNull ScriptArchUtils scriptArchUtils, @NotNull ScriptedEventFactory< G, A, R > scriptedEventFactory, @NotNull ScriptedEventEditor< G, A, R > scriptedEventEditor)
Creates a new ScriptArchDataUtils instance.
This package contains the framework for validating maps.
int [] getLockedItemsTypeNumbers()
Returns the type numbers of game objects being locked items.
ScriptArchUtils newScriptArchUtils(@NotNull ArchetypeTypeList eventTypes)
Creates a new ScriptArchUtils instance.
Factory for creating ScriptedEvent instances.
NewMapDialogFactory< G, A, R > newNewMapDialogFactory(@NotNull MapViewsManager< G, A, R > mapViewsManager, @NotNull MapArchObjectFactory< A > mapArchObjectFactory, @NotNull PickmapChooserView< G, A, R > pickmapChooserView, @NotNull Component parent)
Creates a new NewMapDialogFactory instance.
ProjectSettings newProjectSettings(@NotNull EditorSettings editorSettings)
Creates a new ProjectSettings instance.
Creates derived files for caching files.
String getScriptName()
Returns the display name for script files.
Factory for creating MapArchObject instances.
Interface for classes that read or write GameObject instances.
String getScriptExtension()
Returns the extension for script files.
Stores all existing MapViews.
Maintains the application preferences state.
PreferencesGroup createPreferencesGroup(@NotNull ProjectSettings projectSettings, @NotNull EditorSettings editorSettings, @NotNull DelegatingMapValidator< G, A, R > validators, @NotNull AppPreferencesModel appPreferencesModel, @NotNull ExitConnectorModel exitConnectorModel, @NotNull ConfigSourceFactory configSourceFactory)
Creates a new PreferencesGroup instance.
Base package of all Gridarta classes.
A View for choosing pickmaps.
Reflects a game object (object on a map).
FileFilter getMapFileFilter()
Returns the file filter for map files.
MapViewFactory< G, A, R > newMapViewFactory(@NotNull RendererFactory< G, A, R > rendererFactory, @NotNull PathManager pathManager)
Creates a new MapViewFactory instance.
Abstract factory for creating GameObject instances.
ScriptedEventFactory< G, A, R > newScriptedEventFactory(@NotNull ScriptArchUtils scriptArchUtils, @NotNull GameObjectFactory< G, A, R > gameObjectFactory, @NotNull ScriptedEventEditor< G, A, R > scriptedEventEditor, @NotNull ArchetypeSet< G, A, R > archetypeSet)
Creates a new ScriptedEventFactory instance.
String getCompassIconName()
Returns the icon name to display in the selected square view.
EditorAction newServerActions(@NotNull FileControl< G, A, R > fileControl)
Creates the "open in client" action.
A factory for creating ConfigSources.
This package contains the preferences ui modules.
Collection of all smoothing information.
Container for settings that affect the rendering of maps.
int getUndefinedSpellIndex()
Returns the index for "no spell".
GameObjects are the objects based on Archetypes found on maps.
The filter package contains the classes for Filters.
boolean isAllowRandomMapParameters()
Returns whether exit paths may point to random map parameters.
Base classes for rendering maps.
ScriptArchData< G, A, R > newScriptArchData()
Creates a new ScriptArchData instance.
Factory for creating MapRenderer instances.
Classes implementing the pickmap chooser.
net.sf.gridarta.model.scripts.ScriptArchData related functions.
Utility class to create NewMapDialog instances.
A Map Validator that delegates to other MapValidators.
Stores information needed by the exit connector.
Provider for faces of GameObjects and Archetypes.
The face is the appearance of an object.
Creates ImageIcon instances from resources.
Factory for creating map property dialog instances.
A factory to create editor-dependent objects.
Interface that captures similarities between different ArchetypeSet implementations.
RendererFactory< G, A, R > newRendererFactory(@NotNull MapViewSettings mapViewSettings, @NotNull FilterControl< G, A, R > filterControl, @NotNull GameObjectParser< G, A, R > gameObjectParser, @NotNull FaceObjectProviders faceObjectProviders, @NotNull ResourceIcons resourceIcons, @NotNull SmoothFaces smoothFaces)
Creates a new RendererFactory instance.
MapPropertiesDialogFactory< G, A, R > newMapPropertiesDialogFactory(@NotNull ProjectSettings projectSettings, @NotNull MapManager< G, A, R > mapManager)
Creates a new MapPropertiesDialogFactory instance.
Settings that apply to the editor.
Defines types of GameObjects with corresponding attributes.
A factory for creating MapView instances.
Interface for MapArchObjects.
A factory to create project-dependent objects.
boolean isAutoValidatorDefault()
Returns whether the auto validator is enabled by default.
Direction [] getDirectionMap()
Returns a map of relative direction to map window direction.
CacheFiles getCacheFiles()
Returns the cache files for icon and preview images.
boolean isCreateDirectionPane()
Returns whether the direction panel should be created.