문제

I m testing a eclipse plugin using swt bot.but I cant find a way to check the icon of a file in the tree in project explorer.How can this be done

please help

도움이 되었습니까?

해결책

What about using this ?

 tree.display.asyncExec(new Runnable() {

        @Override
        public void run() {
            Image i = treeItem.widget.getImage();   
        }
    });
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top