문제

how to find the title and tooltip text of SWTBotEclipseEditor.getText() method gives the text inside SWTBotEclipseEditor.

enter image description here

SWTBotEclipseEditor editor = bot.editorByTitle("testFoo.txt").toTextEditor();
String title =  editor.???   //I want title which is testFoo.txt
String toolTip = editor.getToolTipText();  //not giving 'tooltip text'

please help

도움이 되었습니까?

해결책

As a workaround,I used editor.getReference().getTitle() or editor.getReference().getTitleToolTip().

http://www.eclipse.org/forums/index.php/t/373784/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top