This short article has demonstrated the usage that is basic of watchers. Ideally, at this point you learn how to make use of the tree viewer and realize where in fact the tree audience fits in the bigger JFace framework.
There are certain subjects prepared for an â€œadvancedâ€ tree audience article, including drag and fall, automobile increase nodes inside the tree, in-place editing and making usage of domain item properties.
Listed here is a listing of usually expected questions regarding utilising the tree audience.
Just how do I include or remove a product through the tree?
Addition and elimination of things is actually the exact same.
To eliminate a product through the tree audience the domain should be removed by you item from your own model. Then ask the tree audience to recharge the moms and dad regarding the domain model. Once the up-date technique is known as from the tree viewer, it’s going to ask its content provider when it comes to young kids of this moms and dad associated with the domain model.