Hallo,
iam work with a tableviewer and a writablelist.
The writablelist contain the data for my viewer.
My Problem:
I work with swtbot and want access on the writablelist,
but i receive many exceptions :
"Getter called outside realm of ovservable .... WritableList"
I have solve this problem so:
UIThreadRunnable.syncExec(new VoidResult()
{
public void run()
{
assertEquals(bot.table().rowCount(), ModelProvider.getInstance().getInput().size());
}
});
Is this solution okay, or know some of you a better solution?
P.S. the ModelProvider is a Singleton which contain the WritableList. getInput() is the getter-Method for the WritableList
[Updated on: Tue, 08 December 2009 04:36] by Moderator