私の他のメソッド (データ、テキストなど) では、setItem メソッドが正常に機能し、ツリー アイテムに加えられた変更を表示します。ただし、アイテムのアイコンを変更した後に setItem を呼び出しても効果はないようです。新しいアイコンが表示されるようにツリー項目を更新する最良の方法は何ですか?
ありがとう
public void modified()
{
FormTreeItem workingItem;
;
super();
//find the current item
workingItem = FormTreeControl.getItem(FormTreeControl.getSelection());
//update the value
workingItem.Image(1);
//update the item in the list
FormTreeControl.setItem(workingItem);
}