Package foundry.veil.api.resource.editor
Interface ResourceFileEditor.Factory<T extends VeilResource<?>>
- Type Parameters:
T
- The type of resource to create an editor for
- Enclosing interface:
ResourceFileEditor<T extends VeilResource<?>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory for creating a new resource file editor.
-
Method Summary
Modifier and TypeMethodDescription@Nullable ResourceFileEditor
<T> open
(VeilEditorEnvironment environment, T resource) Opens the specified resource in the environment.
-
Method Details
-
open
Opens the specified resource in the environment.- Parameters:
environment
- The environment to open the resource inresource
- The resource to open
-