diff options
Diffstat (limited to 'NET/worlds/scape/LibEntContentPropertyEditor.java')
| -rw-r--r-- | NET/worlds/scape/LibEntContentPropertyEditor.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/NET/worlds/scape/LibEntContentPropertyEditor.java b/NET/worlds/scape/LibEntContentPropertyEditor.java new file mode 100644 index 0000000..b7890fa --- /dev/null +++ b/NET/worlds/scape/LibEntContentPropertyEditor.java @@ -0,0 +1,18 @@ +package NET.worlds.scape; + +import NET.worlds.console.PolledDialog; + +public class LibEntContentPropertyEditor extends PropEditor { + private LibEntContentPropertyEditor(Property property) { + super(property); + } + + @Override + public PolledDialog edit(EditTile parent, String title) { + return new LibEntContentEditorDialog(parent, title, this.property); + } + + public static Property make(Property property) { + return property.setEditor(new LibEntContentPropertyEditor(property)); + } +} |