Class FileResourceEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FileResourceEditor extends ResourceEditor<FileResourceEditor.State>
Editor for a file resource. Two tabs:
  • Content — text editor (RSyntaxTextArea) for text content types, or a binary placeholder showing file size + content type for unknown / binary types.
  • HTTP Settings — controls the FileResourceConfig stored in the resource's "http" attribute.

The data file written by this editor is keyed by the resource leaf name (so a resource named notes.md stores its bytes under data key notes.md).

See Also: