Class CollectedConfigSource
- java.lang.Object
-
- net.sf.gridarta.model.configsource.AbstractConfigSource
-
- net.sf.gridarta.var.crossfire.model.settings.CollectedConfigSource
-
- All Implemented Interfaces:
ConfigSource
public class CollectedConfigSource extends AbstractConfigSource
AnAbstractConfigSourcethat reads collected files for Crossfire.
-
-
Constructor Summary
Constructors Constructor Description CollectedConfigSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringgetName()Returns the internal name.booleanisArchDirectoryInputFieldEnabled()Whether the "archetype directory" input field in the settings dialog should be enabled.<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
voidread(@NotNull ProjectSettings projectSettings, @NotNull AbstractResources<G,A,R> resources, @NotNull ErrorView errorView)Reads config files.-
Methods inherited from class net.sf.gridarta.model.configsource.AbstractConfigSource
getFile, toString
-
-
-
-
Method Detail
-
getName
@NotNull public @NotNull java.lang.String getName()
Description copied from interface:ConfigSourceReturns the internal name.- Returns:
- the internal name
-
read
public <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> void read(@NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull AbstractResources<G,A,R> resources, @NotNull @NotNull ErrorView errorView)
Description copied from interface:ConfigSourceReads config files.- Parameters:
projectSettings- the project settings to useresources- the resources to updateerrorView- the error view for reporting errors
-
isArchDirectoryInputFieldEnabled
public boolean isArchDirectoryInputFieldEnabled()
Description copied from interface:ConfigSourceWhether the "archetype directory" input field in the settings dialog should be enabled.- Returns:
- whether the input field should be enabled
-
-