Print at Dec 19, 2025, 4:13:27 PM

Posted by jrmobile at Aug 16, 2020, 2:40:40 PM
Check if item is selected.
Good day everyone.
Spent hours in developers guide, trying to find out, how do check in plugin if PieceOfFurniture is selected.

Found only getSelectedItems() method, but maybe there is easier way to check it, intead of checking, if my items are in group?

If there is no easier way, would you be so kind to show me the exact code to check if items are in selected group. I'm not expert in java, so would really appreciate it.

Anyway thanks in advance.