Gridarta Editor
net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory Class Reference

An EditorFactory that creates Crossfire objects. More...

+ Inheritance diagram for net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory:
+ Collaboration diagram for net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory:

Public Member Functions

PreferencesGroup createPreferencesGroup (@NotNull final ProjectSettings projectSettings, @NotNull final EditorSettings editorSettings, @NotNull final DelegatingMapValidator< GameObject, MapArchObject, Archetype > validators, @NotNull final AppPreferencesModel appPreferencesModel, @NotNull final ExitConnectorModel exitConnectorModel, @NotNull final ConfigSourceFactory configSourceFactory)
 
CacheFiles getCacheFiles ()
 Returns the cache files for icon and preview images. More...
 
String getCompassIconName ()
 Returns the icon name to display in the selected square view. More...
 
Direction[] getDirectionMap ()
 Returns a map of relative direction to map window direction. More...
 
int getDoubleFaceOffset ()
 Returns the offset for drawing double faces. More...
 
String getGridartaJarFilename ()
 Returns the filename of the editor's .jar file. More...
 
boolean getIncludeFaceNumbers ()
 Returns whether the face file contains face numbers. More...
 
int[] getLockedItemsTypeNumbers ()
 Returns the type numbers of game objects being locked items. More...
 
FileFilter getMapFileFilter ()
 Returns the file filter for map files. More...
 
String getScriptExtension ()
 Returns the extension for script files. More...
 
FileFilter getScriptFileFilter ()
 Returns the FileFilter for script files. More...
 
String getScriptName ()
 Returns the display name for script files. More...
 
String getScriptsDir ()
 Returns the default directory for editor scripts. More...
 
String getSpellFile ()
 Returns the spell file name to load. More...
 
int getSpellType ()
 Returns the archetype type for game object spells. More...
 
int getUndefinedSpellIndex ()
 Returns the index for "no spell". More...
 
boolean isAllowRandomMapParameters ()
 Returns whether exit paths may point to random map parameters. More...
 
boolean isAutoValidatorDefault ()
 Returns whether the auto validator is enabled by default. More...
 
boolean isCreateDirectionPane ()
 Returns whether the direction panel should be created. More...
 
AttributeRangeChecker< GameObject, MapArchObject, ArchetypeloadAttributeRangeChecker (@NotNull final ErrorViewCollector errorViewCollector, @NotNull final GameObjectMatchers gameObjectMatchers, @NotNull final ValidatorPreferences validatorPreferences)
 Loads the attribute range checker for map validation. More...
 
ArchetypeFactory< GameObject, MapArchObject, ArchetypenewArchetypeFactory (@NotNull final FaceObjectProviders faceObjectProviders, @NotNull final AnimationObjects animationObjects)
 Creates a new ArchetypeFactory instance. More...
 
ArchetypeParser newArchetypeParser (@NotNull final ErrorView errorView, final GameObjectParser< GameObject, MapArchObject, Archetype > gameObjectParser, final AnimationObjects animationObjects, final ArchetypeSet< GameObject, MapArchObject, Archetype > archetypeSet, @NotNull final GameObjectFactory< GameObject, MapArchObject, Archetype > gameObjectFactory, @NotNull final ProjectSettings projectSettings, @NotNull final SmoothFaces smoothFaces)
 
ArchetypeSet< GameObject, MapArchObject, ArchetypenewArchetypeSet (@NotNull final ProjectSettings projectSettings, @NotNull final ArchetypeFactory< GameObject, MapArchObject, Archetype > archetypeFactory)
 
GameObjectFactory< GameObject, MapArchObject, ArchetypenewGameObjectFactory (@NotNull final FaceObjectProviders faceObjectProviders, @NotNull final AnimationObjects animationObjects, @NotNull final ArchetypeTypeSet archetypeTypeSet)
 Creates a new GameObjectFactory instance. More...
 
GameObjectParserFactory< GameObject, MapArchObject, ArchetypenewGameObjectParserFactory (@NotNull final GameObjectFactory< GameObject, MapArchObject, Archetype > gameObjectFactory, @NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype > archetypeSet, @NotNull final ArchetypeTypeSet archetypeTypeSet)
 
MapArchObjectFactory< MapArchObjectnewMapArchObjectFactory (@NotNull final ProjectSettings projectSettings)
 Creates a new MapArchObjectFactory instance. More...
 
DefaultMapArchObjectParserFactory newMapArchObjectParserFactory ()
 Creates a new MapArchObjectParserFactory instance. More...
 
MapControlFactory< GameObject, MapArchObject, ArchetypenewMapControlFactory (@NotNull final MapWriter< GameObject, MapArchObject, Archetype > mapWriter, @NotNull final ProjectSettings projectSettings, @NotNull final MapModelFactory< GameObject, MapArchObject, Archetype > mapModelFactory)
 
MapPropertiesDialogFactory< GameObject, MapArchObject, ArchetypenewMapPropertiesDialogFactory (@NotNull final ProjectSettings projectSettings, @NotNull final MapManager< GameObject, MapArchObject, Archetype > mapManager)
 
MapViewFactory< GameObject, MapArchObject, ArchetypenewMapViewFactory (@NotNull final RendererFactory< GameObject, MapArchObject, Archetype > rendererFactory, @NotNull final PathManager pathManager)
 
NewMapDialogFactory< GameObject, MapArchObject, ArchetypenewNewMapDialogFactory (@NotNull final MapViewsManager< GameObject, MapArchObject, Archetype > mapViewsManager, @NotNull final MapArchObjectFactory< MapArchObject > mapArchObjectFactory, @NotNull final PickmapChooserView< GameObject, MapArchObject, Archetype > pickmapChooserView, @NotNull final Component parent)
 
ProjectSettings newProjectSettings (@NotNull final EditorSettings editorSettings)
 Creates a new ProjectSettings instance. More...
 
RendererFactory< GameObject, MapArchObject, ArchetypenewRendererFactory (@NotNull final MapViewSettings mapViewSettings, @NotNull final FilterControl< GameObject, MapArchObject, Archetype > filterControl, @NotNull final GameObjectParser< GameObject, MapArchObject, Archetype > gameObjectParser, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final ResourceIcons resourceIcons, @NotNull final SmoothFaces smoothFaces)
 
AbstractResources< GameObject, MapArchObject, ArchetypenewResources (@NotNull final GameObjectParser< GameObject, MapArchObject, Archetype > gameObjectParser, @NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype > archetypeSet, @NotNull final AbstractArchetypeParser< GameObject, MapArchObject, Archetype, ?> archetypeParser, @NotNull final FaceObjects faceObjects, @NotNull final AnimationObjects animationObjects, @NotNull final ArchFaceProvider archFaceProvider, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final SmoothFaces smoothFaces)
 
ScriptArchData< GameObject, MapArchObject, ArchetypenewScriptArchData ()
 Creates a new ScriptArchData instance. More...
 
ScriptArchDataUtils< GameObject, MapArchObject, ArchetypenewScriptArchDataUtils (@NotNull final ScriptArchUtils scriptArchUtils, @NotNull final ScriptedEventFactory< GameObject, MapArchObject, Archetype > scriptedEventFactory, @NotNull final ScriptedEventEditor< GameObject, MapArchObject, Archetype > scriptedEventEditor)
 
DefaultScriptArchUtils newScriptArchUtils (@NotNull final ArchetypeTypeList eventTypes)
 Creates a new ScriptArchUtils instance. More...
 
ScriptedEventFactory< GameObject, MapArchObject, ArchetypenewScriptedEventFactory (@NotNull final ScriptArchUtils scriptArchUtils, @NotNull final GameObjectFactory< GameObject, MapArchObject, Archetype > gameObjectFactory, @NotNull final ScriptedEventEditor< GameObject, MapArchObject, Archetype > scriptedEventEditor, @NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype > archetypeSet)
 
EditorAction newServerActions (@NotNull final FileControl< GameObject, MapArchObject, Archetype > fileControl)
 
- Public Member Functions inherited from net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >
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. More...
 
MapPropertiesDialogFactory< G, A, R > newMapPropertiesDialogFactory (@NotNull ProjectSettings projectSettings, @NotNull MapManager< G, A, R > mapManager)
 Creates a new MapPropertiesDialogFactory instance. More...
 
MapViewFactory< G, A, R > newMapViewFactory (@NotNull RendererFactory< G, A, R > rendererFactory, @NotNull PathManager pathManager)
 Creates a new MapViewFactory instance. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
EditorAction newServerActions (@NotNull FileControl< G, A, R > fileControl)
 Creates the "open in client" action. More...
 
- Public Member Functions inherited from net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >
AbstractArchetypeParser< G, A, R, ?> newArchetypeParser (@NotNull ErrorView errorView, GameObjectParser< G, A, R > gameObjectParser, AnimationObjects animationObjects, ArchetypeSet< G, A, R > archetypeSet, @NotNull GameObjectFactory< G, A, R > gameObjectFactory, @NotNull ProjectSettings projectSettings, @NotNull SmoothFaces smoothFaces)
 Creates a new AbstractArchetypeParser instance. More...
 
ArchetypeSet< G, A, R > newArchetypeSet (@NotNull ProjectSettings projectSettings, @NotNull ArchetypeFactory< G, A, R > archetypeFactory)
 Creates a new ArchetypeSet instance. More...
 
GameObjectParserFactory< G, A, R > newGameObjectParserFactory (@NotNull GameObjectFactory< G, A, R > gameObjectFactory, @NotNull ArchetypeSet< G, A, R > archetypeSet, @NotNull ArchetypeTypeSet archetypeTypeSet)
 Creates a new GameObjectParserFactory instance. More...
 
MapControlFactory< G, A, R > newMapControlFactory (@NotNull MapWriter< G, A, R > mapWriter, @NotNull ProjectSettings projectSettings, @NotNull MapModelFactory< G, A, R > mapModelFactory)
 Creates a new MapControlFactory instance. More...
 
AbstractResources< G, A, R > newResources (@NotNull GameObjectParser< G, A, R > gameObjectParser, @NotNull ArchetypeSet< G, A, R > archetypeSet, @NotNull AbstractArchetypeParser< G, A, R, ?> archetypeParser, @NotNull FaceObjects faceObjects, @NotNull AnimationObjects animationObjects, @NotNull ArchFaceProvider archFaceProvider, @NotNull FaceObjectProviders faceObjectProviders, @NotNull SmoothFaces smoothFaces)
 Creates a new AbstractResources instance. More...
 

Static Private Attributes

static final Category LOG = Logger.getLogger(DefaultEditorFactory.class)
 The Logger for printing log messages. More...
 
static final boolean PREFERENCES_VALIDATOR_AUTO_DEFAULT = true
 Preferences default for auto validation. More...
 

Detailed Description

An EditorFactory that creates Crossfire objects.

Author
Andreas Kirschbaum

Definition at line 119 of file DefaultEditorFactory.java.

Member Function Documentation

◆ createPreferencesGroup()

PreferencesGroup net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.createPreferencesGroup ( @NotNull final ProjectSettings  projectSettings,
@NotNull final EditorSettings  editorSettings,
@NotNull final DelegatingMapValidator< GameObject, MapArchObject, Archetype validators,
@NotNull final AppPreferencesModel  appPreferencesModel,
@NotNull final ExitConnectorModel  exitConnectorModel,
@NotNull final ConfigSourceFactory  configSourceFactory 
)

◆ getCacheFiles()

CacheFiles net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getCacheFiles ( )

Returns the cache files for icon and preview images.

Returns
the cache files

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 324 of file DefaultEditorFactory.java.

References net.sf.gridarta.utils.ConfigFileUtils.getHomeFile().

+ Here is the call graph for this function:

◆ getCompassIconName()

String net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getCompassIconName ( )

Returns the icon name to display in the selected square view.

Returns
the icon name or
null
to display no icon

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 341 of file DefaultEditorFactory.java.

◆ getDirectionMap()

◆ getDoubleFaceOffset()

int net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getDoubleFaceOffset ( )

Returns the offset for drawing double faces.

Returns
the offset

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 132 of file DefaultEditorFactory.java.

◆ getGridartaJarFilename()

String net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getGridartaJarFilename ( )

Returns the filename of the editor's .jar file.

Returns
the filename

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 347 of file DefaultEditorFactory.java.

◆ getIncludeFaceNumbers()

boolean net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getIncludeFaceNumbers ( )

Returns whether the face file contains face numbers.

Returns
whether the face file contains face numbers

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 186 of file DefaultEditorFactory.java.

◆ getLockedItemsTypeNumbers()

◆ getMapFileFilter()

FileFilter net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getMapFileFilter ( )

◆ getScriptExtension()

String net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getScriptExtension ( )

◆ getScriptFileFilter()

FileFilter net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getScriptFileFilter ( )

◆ getScriptName()

String net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getScriptName ( )

Returns the display name for script files.

Returns
the display name

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 308 of file DefaultEditorFactory.java.

◆ getScriptsDir()

String net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getScriptsDir ( )

◆ getSpellFile()

String net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getSpellFile ( )

Returns the spell file name to load.

Returns
the spell file name or
null
to not load numbered spells

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 285 of file DefaultEditorFactory.java.

◆ getSpellType()

int net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getSpellType ( )

Returns the archetype type for game object spells.

Returns
the archetype type or
0
to not load game object spells

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 290 of file DefaultEditorFactory.java.

References net.sf.gridarta.var.crossfire.model.archetype.Archetype.TYPE_SPELL.

◆ getUndefinedSpellIndex()

int net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.getUndefinedSpellIndex ( )

◆ isAllowRandomMapParameters()

boolean net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.isAllowRandomMapParameters ( )

Returns whether exit paths may point to random map parameters.

Returns
whether exit paths may point to random map parameters

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 335 of file DefaultEditorFactory.java.

◆ isAutoValidatorDefault()

boolean net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.isAutoValidatorDefault ( )

◆ isCreateDirectionPane()

boolean net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.isCreateDirectionPane ( )

Returns whether the direction panel should be created.

Returns
whether the direction panel should be created

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 313 of file DefaultEditorFactory.java.

◆ loadAttributeRangeChecker()

AttributeRangeChecker<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.loadAttributeRangeChecker ( @NotNull final ErrorViewCollector  errorViewCollector,
@NotNull final GameObjectMatchers  gameObjectMatchers,
@NotNull final ValidatorPreferences  validatorPreferences 
)

Loads the attribute range checker for map validation.

Parameters
errorViewCollectorthe error view collector to use
gameObjectMatchersthe defined game object matchers
validatorPreferencesthe validator preferences to use
Returns
the loaded attribute range checker

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 192 of file DefaultEditorFactory.java.

References net.sf.gridarta.model.validation.checks.AttributeRangeChecker< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.add(), and net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.LOG.

+ Here is the call graph for this function:

◆ newArchetypeFactory()

ArchetypeFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newArchetypeFactory ( @NotNull final FaceObjectProviders  faceObjectProviders,
@NotNull final AnimationObjects  animationObjects 
)

Creates a new ArchetypeFactory instance.

Parameters
faceObjectProvidersthe face object providers for looking up faces
animationObjectsthe animation objects for looking up animations
Returns
the new instance

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 168 of file DefaultEditorFactory.java.

◆ newArchetypeParser()

ArchetypeParser net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newArchetypeParser ( @NotNull final ErrorView  errorView,
final GameObjectParser< GameObject, MapArchObject, Archetype gameObjectParser,
final AnimationObjects  animationObjects,
final ArchetypeSet< GameObject, MapArchObject, Archetype archetypeSet,
@NotNull final GameObjectFactory< GameObject, MapArchObject, Archetype gameObjectFactory,
@NotNull final ProjectSettings  projectSettings,
@NotNull final SmoothFaces  smoothFaces 
)

Definition at line 206 of file DefaultEditorFactory.java.

◆ newArchetypeSet()

ArchetypeSet<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newArchetypeSet ( @NotNull final ProjectSettings  projectSettings,
@NotNull final ArchetypeFactory< GameObject, MapArchObject, Archetype archetypeFactory 
)

Definition at line 174 of file DefaultEditorFactory.java.

◆ newGameObjectFactory()

GameObjectFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newGameObjectFactory ( @NotNull final FaceObjectProviders  faceObjectProviders,
@NotNull final AnimationObjects  animationObjects,
@NotNull final ArchetypeTypeSet  archetypeTypeSet 
)

Creates a new GameObjectFactory instance.

Parameters
faceObjectProvidersthe face object providers to use
animationObjectsthe animation objects for looking up animations
archetypeTypeSetthe archetype type set for looking up archetype types
Returns
the new instance

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 150 of file DefaultEditorFactory.java.

◆ newGameObjectParserFactory()

GameObjectParserFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newGameObjectParserFactory ( @NotNull final GameObjectFactory< GameObject, MapArchObject, Archetype gameObjectFactory,
@NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype archetypeSet,
@NotNull final ArchetypeTypeSet  archetypeTypeSet 
)

Definition at line 156 of file DefaultEditorFactory.java.

◆ newMapArchObjectFactory()

MapArchObjectFactory<MapArchObject> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newMapArchObjectFactory ( @NotNull final ProjectSettings  projectSettings)

Creates a new MapArchObjectFactory instance.

Parameters
projectSettingsthe project settings to use
Returns
the new instance

Implements net.sf.gridarta.project.ProjectFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 138 of file DefaultEditorFactory.java.

◆ newMapArchObjectParserFactory()

DefaultMapArchObjectParserFactory net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newMapArchObjectParserFactory ( )

◆ newMapControlFactory()

MapControlFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newMapControlFactory ( @NotNull final MapWriter< GameObject, MapArchObject, Archetype mapWriter,
@NotNull final ProjectSettings  projectSettings,
@NotNull final MapModelFactory< GameObject, MapArchObject, Archetype mapModelFactory 
)

Definition at line 181 of file DefaultEditorFactory.java.

◆ newMapPropertiesDialogFactory()

MapPropertiesDialogFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newMapPropertiesDialogFactory ( @NotNull final ProjectSettings  projectSettings,
@NotNull final MapManager< GameObject, MapArchObject, Archetype mapManager 
)

Definition at line 249 of file DefaultEditorFactory.java.

◆ newMapViewFactory()

MapViewFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newMapViewFactory ( @NotNull final RendererFactory< GameObject, MapArchObject, Archetype rendererFactory,
@NotNull final PathManager  pathManager 
)

◆ newNewMapDialogFactory()

NewMapDialogFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newNewMapDialogFactory ( @NotNull final MapViewsManager< GameObject, MapArchObject, Archetype mapViewsManager,
@NotNull final MapArchObjectFactory< MapArchObject mapArchObjectFactory,
@NotNull final PickmapChooserView< GameObject, MapArchObject, Archetype pickmapChooserView,
@NotNull final Component  parent 
)

◆ newProjectSettings()

ProjectSettings net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newProjectSettings ( @NotNull final EditorSettings  editorSettings)

Creates a new ProjectSettings instance.

Parameters
editorSettingsthe editor settings instance for default values
Returns
the new instance

Implements net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.

Definition at line 162 of file DefaultEditorFactory.java.

◆ newRendererFactory()

RendererFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newRendererFactory ( @NotNull final MapViewSettings  mapViewSettings,
@NotNull final FilterControl< GameObject, MapArchObject, Archetype filterControl,
@NotNull final GameObjectParser< GameObject, MapArchObject, Archetype gameObjectParser,
@NotNull final FaceObjectProviders  faceObjectProviders,
@NotNull final ResourceIcons  resourceIcons,
@NotNull final SmoothFaces  smoothFaces 
)

Definition at line 236 of file DefaultEditorFactory.java.

◆ newResources()

AbstractResources<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newResources ( @NotNull final GameObjectParser< GameObject, MapArchObject, Archetype gameObjectParser,
@NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype archetypeSet,
@NotNull final AbstractArchetypeParser< GameObject, MapArchObject, Archetype, ?>  archetypeParser,
@NotNull final FaceObjects  faceObjects,
@NotNull final AnimationObjects  animationObjects,
@NotNull final ArchFaceProvider  archFaceProvider,
@NotNull final FaceObjectProviders  faceObjectProviders,
@NotNull final SmoothFaces  smoothFaces 
)

Definition at line 267 of file DefaultEditorFactory.java.

◆ newScriptArchData()

ScriptArchData<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newScriptArchData ( )

◆ newScriptArchDataUtils()

ScriptArchDataUtils<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newScriptArchDataUtils ( @NotNull final ScriptArchUtils  scriptArchUtils,
@NotNull final ScriptedEventFactory< GameObject, MapArchObject, Archetype scriptedEventFactory,
@NotNull final ScriptedEventEditor< GameObject, MapArchObject, Archetype scriptedEventEditor 
)

◆ newScriptArchUtils()

DefaultScriptArchUtils net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newScriptArchUtils ( @NotNull final ArchetypeTypeList  eventTypes)

◆ newScriptedEventFactory()

ScriptedEventFactory<GameObject, MapArchObject, Archetype> net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newScriptedEventFactory ( @NotNull final ScriptArchUtils  scriptArchUtils,
@NotNull final GameObjectFactory< GameObject, MapArchObject, Archetype gameObjectFactory,
@NotNull final ScriptedEventEditor< GameObject, MapArchObject, Archetype scriptedEventEditor,
@NotNull final ArchetypeSet< GameObject, MapArchObject, Archetype archetypeSet 
)

Definition at line 218 of file DefaultEditorFactory.java.

◆ newServerActions()

EditorAction net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.newServerActions ( @NotNull final FileControl< GameObject, MapArchObject, Archetype fileControl)

Definition at line 273 of file DefaultEditorFactory.java.

Member Data Documentation

◆ LOG

final Category net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.LOG = Logger.getLogger(DefaultEditorFactory.class)
staticprivate

◆ PREFERENCES_VALIDATOR_AUTO_DEFAULT

final boolean net.sf.gridarta.var.crossfire.maincontrol.DefaultEditorFactory.PREFERENCES_VALIDATOR_AUTO_DEFAULT = true
staticprivate

The documentation for this class was generated from the following file: