Open-Block / OpenBlock

A free open source Block based development template
0 stars 0 forks source link

Assigned value edit #3

Closed mosemister closed 4 years ago

mosemister commented 4 years ago

In the code there is a AbstractValue class which does accept changing of values already, however this is not represent within the GUI.

Using BlockEvent (that issue needs to be completed first) assign a click event to allow the user to edit the value inside. When the user has edited the value, check to make sure it can be parsed into the assigned value type and then apply the value if its ok. If it cant, then give a user friendly response on why its not accepted.

A standard editor should really be applied here with some defaults already applied. Such as a drop down menu for a list of entries that can only be chosen from? A white text box goes over the block to accept user input and prevent none accepted characters?