New features for CustomNodeType and CustomNodeAttribute
Added support for Dropdown/ComboBox on CustomNodeAttribute.
Added readOnly option to CustomNodeAttribute constructor.
Added default attributes override option to CustomNodeType.
Reminder to everyone: It's still a quick approach to fulfill our project needs, surely has a lot of things to improve and everyone is welcome to help to it +1.
Usage
Following the previous Pull Request description, the new constructors signatures to use are the following:
isComboBox and readOnly both default to false when not used on constructor.
Suggested next steps
Create CustomNodeAttribute inheritances for each attribute type, using the different xyzCellEditor types from AUI to render the fields.
Make attribute options compatible with Vaadin DataProvider and asynchronous loading.
Somehow allow to nest attributes from a node, maybe starting by dropdonws (for example, an attribute called Country is set, then another attribute called State is populated)
New features for
CustomNodeType
andCustomNodeAttribute
CustomNodeAttribute
.CustomNodeAttribute
constructor.CustomNodeType
.Reminder to everyone: It's still a quick approach to fulfill our project needs, surely has a lot of things to improve and everyone is welcome to help to it +1.
Usage
Following the previous Pull Request description, the new constructors signatures to use are the following:
For custom node type:
usesDefaultAttributes
defaults totrue
For simple text attribute:
For Dropdown/ComboBox attribute:
isComboBox
andreadOnly
both default tofalse
when not used on constructor.Suggested next steps
CustomNodeAttribute
inheritances for each attribute type, using the differentxyzCellEditor
types from AUI to render the fields.DataProvider
and asynchronous loading.