 |
Gridarta Editor
|
Go to the documentation of this file.
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);
Defines types of GameObjects with corresponding attributes.
FileFilter getScriptFileFilter()
Returns the FileFilter for script files.
Factory for creating ScriptedEvent instances.
Maintains the application preferences state.
A View for choosing pickmaps.
Abstract factory for creating GameObject instances.
A MapManager manages all opened maps.
Classes implementing the pickmap chooser.
ScriptArchUtils newScriptArchUtils(@NotNull ArchetypeTypeList eventTypes)
Creates a new ScriptArchUtils instance.
Base package of all Gridarta classes.
boolean isCreateDirectionPane()
Returns whether the direction panel should be created.
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.
MapViewFactory< G, A, R > newMapViewFactory(@NotNull RendererFactory< G, A, R > rendererFactory, @NotNull PathManager pathManager)
Creates a new MapViewFactory instance.
ProjectSettings newProjectSettings(@NotNull EditorSettings editorSettings)
Creates a new ProjectSettings instance.
This class contains methods for converting relative map paths to absolute map paths and vice versa.
Common types for event archetypes.
MapPropertiesDialogFactory< G, A, R > newMapPropertiesDialogFactory(@NotNull ProjectSettings projectSettings, @NotNull MapManager< G, A, R > mapManager)
Creates a new MapPropertiesDialogFactory instance.
Provider for faces of GameObjects and Archetypes.
Reflects a game object (object on a map).
FileFilter getMapFileFilter()
Returns the file filter for map files.
Container for settings that affect the rendering of maps.
A factory to create project-dependent objects.
boolean isAutoValidatorDefault()
Returns whether the auto validator is enabled by default.
int getUndefinedSpellIndex()
Returns the index for "no spell".
Graphical User Interface of Gridarta.
Settings that apply to the editor.
GameObjects are the objects based on Archetypes found on maps.
Dialog to edit events linked to item scripting.
A factory to create editor-dependent objects.
int[] getLockedItemsTypeNumbers()
Returns the type numbers of game objects being locked items.
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.
Interface for MapArchObjects.
Utility class to create NewMapDialog instances.
Interface that captures similarities between different ArchetypeSet implementations.
This package contains the framework for validating maps.
String getScriptExtension()
Returns the extension for script files.
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.
Reading and writing of maps, handling of paths.
Settings that apply to a project.
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.
boolean isAllowRandomMapParameters()
Returns whether exit paths may point to random map parameters.
EditorAction newServerActions(@NotNull FileControl< G, A, R > fileControl)
Creates the "open in client" action.
Direction[] getDirectionMap()
Returns a map of relative direction to map window direction.
A factory for creating ConfigSources.
String getScriptName()
Returns the display name for script files.
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.
Collection of all smoothing information.
Factory for creating MapRenderer instances.
String getGridartaJarFilename()
Returns the filename of the editor's .jar file.
Base classes for rendering maps.
A factory for creating MapView instances.
ScriptArchData< G, A, R > newScriptArchData()
Creates a new ScriptArchData instance.
The face is the appearance of an object.
Creates ImageIcon instances from resources.
A Map Validator that delegates to other MapValidators.
Creates derived files for caching files.
CacheFiles getCacheFiles()
Returns the cache files for icon and preview images.
Interface for classes that read or write GameObject instances.
Stores information needed by the exit connector.
Stores all existing MapViews.
Factory for creating map property dialog instances.
net.sf.gridarta.model.scripts.ScriptArchData related functions.
Factory for creating MapArchObject instances.
Stores and manages information about scripted events.