Package foundry.veil.api.resource.editor
Class TextFileEditor
java.lang.Object
foundry.veil.api.resource.editor.TextFileEditor
- All Implemented Interfaces:
ResourceFileEditor<VeilTextResource<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
open
(VeilEditorEnvironment environment, VeilTextResource<?> resource) Opens the specified resource in the environment.void
render()
Renders this editor to the screen.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.resource.editor.ResourceFileEditor
save
-
Constructor Details
-
TextFileEditor
public TextFileEditor()
-
-
Method Details
-
render
public void render()Description copied from interface:ResourceFileEditor
Renders this editor to the screen.- Specified by:
render
in interfaceResourceFileEditor<VeilTextResource<?>>
-
open
Description copied from interface:ResourceFileEditor
Opens the specified resource in the environment.- Specified by:
open
in interfaceResourceFileEditor<VeilTextResource<?>>
- Parameters:
environment
- The environment to open the resource inresource
- The resource to open
-