|GEF Editor within Section of FormPage [message #783310]
||Wed, 25 January 2012 08:31
| Matthias F
Registered: June 2011
Hi, I am very new to testing so I have question:|
I have a MultiPageEditorPart where one page is a FormPage with multiple sections.
In one section I use a GEF Editor ,manually initialized and drawn on the section's client composite. (I know this is not the normal way a Editor should be used but I guess it was the only way to get what I wanted.)
Now I would like to test some functions of this GEF editor, but I can't "find" the it within the testcase.
As a first try I thought about extending the getAdapter() method of the MultiPageEditorPart, but then I would need to pass the GraphicalViewer from the section to the page and from there to the editor, which I think is not the cleanest way, because I have to change classes which have noting to do with the test.
I appreciate any idea which could help.
Powered by FUDForum
. Page generated in 0.02019 seconds