Modifier and Type | Class and Description |
---|---|
class |
ConsoleErrorView
An
ErrorView that reports all errors to the console. |
class |
DefaultErrorView
A dialog displaying a tree of error messages.
|
Modifier and Type | Field and Description |
---|---|
private ErrorView |
Loader.errorView
The
ErrorView for reporting errors. |
Constructor and Description |
---|
Loader(ErrorView errorView,
MapFolderTree<G,A,R> mapFolderTree,
MapReaderFactory<G,A> mapReaderFactory,
MapManager<G,A,R> pickmapManager,
MapViewsManager<G,A,R> mapViewsManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
private static void |
GridartaEditor.checkForErrors(ErrorView errorView)
Checks whether a
ErrorView instance contains at least one error. |
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
DefaultMainControl.loadScriptArchUtils(ErrorView errorView,
EditorFactory<G,A,R> editorFactory,
ArchetypeTypeSet archetypeTypeSet) |
private int |
GridartaEditor.runNormal(Iterable<String> args,
EditorFactory<G,A,R> editorFactory,
ErrorView errorView,
ResourceIcons resourceIcons,
ConfigSourceFactory configSourceFactory,
ProjectModel<G,A,R> projectModel,
EditorSettings editorSettings)
Run in normal mode.
|
private int |
GridartaEditor.runPlugin(String plugin,
ErrorView errorView,
Iterable<String> args,
ProjectModel<G,A,R> projectModel)
Executes a plugin.
|
private static void |
GridartaEditor.waitDialog(ErrorView errorView)
Waits until the error dialog has been dismissed.
|
Constructor and Description |
---|
GUIMainControl(ProjectModel<G,A,R> projectModel,
EditorSettings editorSettings,
ErrorView errorView,
ResourceIcons resourceIcons,
EditorFactory<G,A,R> editorFactory,
ConfigSourceFactory configSourceFactory)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private ErrorView |
AnimationValidator.errorView
The
ErrorView for reporting errors. |
Constructor and Description |
---|
AnimationValidator(FaceObjects faceObjects,
ErrorView errorView)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private ErrorView |
ArchetypeValidator.errorView
The
ErrorView for reporting errors. |
Constructor and Description |
---|
ArchetypeValidator(AnimationObjects animationObjects,
FaceObjects faceObjects,
ErrorView errorView)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private ErrorView |
ArchetypeTypeSetParserTest.errorView
The
ErrorView used for parsing. |
Modifier and Type | Field and Description |
---|---|
private ErrorView |
ArtifactParser.errorView
The
ErrorView for reporting errors. |
Constructor and Description |
---|
ArtifactParser(ArchetypeSet<G,A,R> archetypeSet,
ErrorView errorView,
AbstractArchetypeParser<G,A,R,?> archetypeParser,
List<G> invObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
AutojoinListsParser.loadList(ErrorView errorView,
ArchetypeSet<G,A,R> archetypeSet,
File baseDir)
Loads all the autojoin lists from the data file.
|
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
AutojoinListsParser.loadList(ErrorView errorView,
ArchetypeSet<G,A,R> archetypeSet,
URL url,
BufferedReader bufferedReader)
Loads all the autojoin lists from the data file.
|
Modifier and Type | Method and Description |
---|---|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
ConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
Modifier and Type | Class and Description |
---|---|
class |
TestErrorView
An
ErrorView suitable for unit tests. |
Modifier and Type | Field and Description |
---|---|
private ErrorView |
ErrorViewCollector.errorView
The
ErrorView to add to. |
Constructor and Description |
---|
ErrorViewCollector(ErrorView errorView,
File file)
Creates a new instance.
|
ErrorViewCollector(ErrorView errorView,
URL url)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
FaceProvider |
TestFaceObjects.loadFacesCollection(ErrorView errorView,
File collectedDirectory)
Loads all faces from a png collection file.
|
FaceProvider |
DefaultFaceObjects.loadFacesCollection(ErrorView errorView,
File collectedDirectory) |
FaceProvider |
FaceObjects.loadFacesCollection(ErrorView errorView,
File collectedDirectory)
Loads all faces from a png collection file.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiPositionData.load(ErrorView errorView,
URL url)
Load the array-data from file.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractResourcesReader.addPNGFace(String filename,
String path,
String name,
ErrorView errorView,
ArchFaceProvider archFaceProvider)
Loads a png from the file, convert it to IconImage and attach it to the
face list.
|
protected void |
AbstractCollectedResourcesReader.loadAnimations(ErrorView errorView)
Loads all animations.
|
protected void |
AbstractResourcesReader.loadAnimationsFromCollect(ErrorView errorView,
Map<String,String> animations)
Loads all animations from the big collected animations file.
|
protected void |
AbstractCollectedResourcesReader.loadArchetypes(ErrorView errorView,
List<G> invObjects)
Loads all archetypes.
|
private void |
AbstractFilesResourcesReader.loadArchetypesFromFiles(ErrorViewCollector errorViewCollector,
AbstractArchetypeParser<G,A,R,?> archetypeParser,
String path,
File f,
int folderLevel,
String panelName,
String folderName,
List<G> invObjects,
ArchFaceProvider archFaceProvider,
ErrorView errorView,
Collection<Pair<String,File>> animFiles)
Loads all archetypes and faces by recursing through the
arch/ directory tree. |
protected FaceProvider |
AbstractCollectedResourcesReader.loadFacesCollection(ErrorView errorView)
Loads all faces.
|
private void |
AbstractFilesResourcesReader.parseDefFace(ErrorView errorView,
String path,
String filename)
Loads a .face file.
|
abstract FaceProvider |
AbstractResourcesReader.read(ErrorView errorView,
List<G> invObjects)
Reads the resources.
|
FaceProvider |
AbstractFilesResourcesReader.read(ErrorView errorView,
List<G> invObjects)
Reads the resources.
|
void |
AbstractResources.readCollected(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from a collection.
|
protected abstract List<G> |
AbstractResources.readCollectedInt(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from a collection.
|
void |
AbstractResources.readFiles(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from individual files.
|
protected abstract void |
AbstractResources.readFilesInt(ProjectSettings projectSettings,
ErrorView errorView,
List<G> invObjects)
Reads the resources from individual files.
|
Modifier and Type | Method and Description |
---|---|
static void |
SmoothFacesLoader.load(URL url,
SmoothFaces smoothFaces,
ErrorView errorView)
Loads a smooth file.
|
Modifier and Type | Method and Description |
---|---|
private static void |
TreasureLoader.loadTreasureDir(ErrorView errorView,
File dir,
List<TreasureTreeNode> tmpList,
List<TreasureTreeNode> needLink)
Recursively traverses a directory and parses all treasurelist files.
|
private static void |
TreasureLoader.loadTreasureList(ErrorView errorView,
File file,
Collection<TreasureTreeNode> tmpList,
List<TreasureTreeNode> needLink)
Parses one treasurelist file.
|
static TreasureTree |
TreasureLoader.parseTreasures(ErrorView errorView,
Map<String,TreasureTreeNode> specialTreasureLists,
ConfigSource configSource,
ProjectSettings projectSettings)
Parses a treasure file into a
TreasureTree instance. |
Modifier and Type | Method and Description |
---|---|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
PluginModelLoader.loadPlugins(PluginParameterFactory<G,A,R> pluginParameterFactory,
PluginModelParser<G,A,R> pluginModelParser,
ErrorView errorView,
File pluginsDir)
Load all files as plugins from the given directory.
|
Modifier and Type | Method and Description |
---|---|
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
ProjectModel.loadArchetypes(ErrorView errorView,
ProjectSettings projectSettings,
ArchetypeSet<G,A,R> archetypeSet,
ArchetypeChooserModel<G,A,R> archetypeChooserModel,
AbstractResources<G,A,R> resources,
ConfigSource configSource) |
private static ArchetypeTypeSet |
ProjectModel.loadArchetypeTypeSet(ErrorView errorView,
ProjectSettings projectSettings,
XmlHelper xmlHelper) |
static GameObjectMatchers |
ProjectModel.loadGameObjectMatchers(XmlHelper xmlHelper,
ErrorView errorView,
ProjectSettings projectSettings) |
static Map<String,TreasureTreeNode> |
ProjectModel.loadSpecialTreasureLists(ErrorView errorView,
DocumentBuilder documentBuilder,
ProjectSettings projectSettings) |
static Spells<NumberSpell> |
ProjectModel.loadSpellFile(String spellFile,
ErrorView errorView,
ProjectSettings projectSettings,
XmlHelper xmlHelper) |
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
ProjectModel.loadValidators(DelegatingMapValidator<G,A,R> validators,
ValidatorFactory<G,A,R> validatorFactory,
ErrorView errorView)
Creates map validators from preferences.
|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
ProjectModel.loadValidators(ErrorView errorView,
ProjectFactory<G,A,R> projectFactory,
ProjectSettings projectSettings,
GameObjectMatchers gameObjectMatchers,
ArchetypeTypeSet archetypeTypeSet,
ValidatorPreferences validatorPreferences,
MapWriter<G,A,R> mapWriter)
Loads map validators.
|
AbstractArchetypeParser<G,A,R,?> |
ProjectFactory.newArchetypeParser(ErrorView errorView,
GameObjectParser<G,A,R> gameObjectParser,
AnimationObjects animationObjects,
ArchetypeSet<G,A,R> archetypeSet,
GameObjectFactory<G,A,R> gameObjectFactory,
ProjectSettings projectSettings,
SmoothFaces smoothFaces)
Creates a new
AbstractArchetypeParser instance. |
Constructor and Description |
---|
ProjectModel(ErrorView errorView,
ProjectSettings projectSettings,
ProjectFactory<G,A,R> projectFactory,
ResourceIcons resourceIcons,
ConfigSource configSource) |
Modifier and Type | Method and Description |
---|---|
ArchetypeParser |
DefaultEditorFactory.newArchetypeParser(ErrorView errorView,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser,
AnimationObjects animationObjects,
ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory,
ProjectSettings projectSettings,
SmoothFaces smoothFaces)
Creates a new
AbstractArchetypeParser instance. |
Modifier and Type | Method and Description |
---|---|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
CollectedConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FilesConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
Modifier and Type | Method and Description |
---|---|
private void |
DefaultResources.loadArtifacts(ErrorView errorView,
List<GameObject> invObjects,
File collectedDirectory)
Loads all artifact definitions.
|
FaceProvider |
FilesResourcesReader.read(ErrorView errorView,
List<GameObject> invObjects)
Reads the resources.
|
FaceProvider |
CollectedResourcesReader.read(ErrorView errorView,
List<GameObject> invObjects)
Reads the resources.
|
protected List<GameObject> |
DefaultResources.readCollectedInt(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from a collection.
|
protected void |
DefaultResources.readFilesInt(ProjectSettings projectSettings,
ErrorView errorView,
List<GameObject> invObjects)
Reads the resources from individual files.
|
Modifier and Type | Method and Description |
---|---|
ArchetypeParser |
DefaultEditorFactory.newArchetypeParser(ErrorView errorView,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser,
AnimationObjects animationObjects,
ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory,
ProjectSettings projectSettings,
SmoothFaces smoothFaces)
Creates a new
AbstractArchetypeParser instance. |
Modifier and Type | Method and Description |
---|---|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
CollectedConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FilesConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
Modifier and Type | Method and Description |
---|---|
private void |
CollectedResourcesReader.loadSmoothFaces(ErrorView errorView)
Loads all smooth faces.
|
FaceProvider |
CollectedResourcesReader.read(ErrorView errorView,
List<GameObject> invObjects)
Reads the resources.
|
protected List<GameObject> |
DefaultResources.readCollectedInt(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from a collection.
|
protected void |
DefaultResources.readFilesInt(ProjectSettings projectSettings,
ErrorView errorView,
List<GameObject> invObjects)
Reads the resources from individual files.
|
Modifier and Type | Method and Description |
---|---|
ArchetypeParser |
DefaultEditorFactory.newArchetypeParser(ErrorView errorView,
GameObjectParser<GameObject,MapArchObject,Archetype> gameObjectParser,
AnimationObjects animationObjects,
ArchetypeSet<GameObject,MapArchObject,Archetype> archetypeSet,
GameObjectFactory<GameObject,MapArchObject,Archetype> gameObjectFactory,
ProjectSettings projectSettings,
SmoothFaces smoothFaces)
Creates a new
AbstractArchetypeParser instance. |
Modifier and Type | Method and Description |
---|---|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
CollectedConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FilesConfigSource.read(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
Modifier and Type | Method and Description |
---|---|
private void |
DefaultResources.loadArtifacts(ErrorView errorView,
List<GameObject> invObjects,
File collectedDirectory,
File mapsDirectory)
Loads all artifact definitions.
|
FaceProvider |
FilesResourcesReader.read(ErrorView errorView,
List<GameObject> invObjects)
Reads the resources.
|
FaceProvider |
CollectedResourcesReader.read(ErrorView errorView,
List<GameObject> invObjects)
Reads the resources.
|
protected List<GameObject> |
DefaultResources.readCollectedInt(ProjectSettings projectSettings,
ErrorView errorView)
Reads the resources from a collection.
|
protected void |
DefaultResources.readFilesInt(ProjectSettings projectSettings,
ErrorView errorView,
List<GameObject> invObjects)
Reads the resources from individual files.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.