Package foundry.veil.api.resource.editor
Class TextFileEditor
java.lang.Object
foundry.veil.api.resource.editor.TextFileEditor
- All Implemented Interfaces:
ResourceFileEditor<VeilTextResource<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidopen(VeilEditorEnvironment environment, VeilTextResource<?> resource) Opens the specified resource in the environment.voidrender()Renders this editor to the screen.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ResourceFileEditorRenders this editor to the screen.- Specified by:
renderin interfaceResourceFileEditor<VeilTextResource<?>>
-
open
Description copied from interface:ResourceFileEditorOpens the specified resource in the environment.- Specified by:
openin interfaceResourceFileEditor<VeilTextResource<?>>- Parameters:
environment- The environment to open the resource inresource- The resource to open
-