// use this entry to create new Image widget
WidgetInfo newImage;
{
toolEntry.initialize(null, frame);
CreationTool creationTool = (CreationTool) toolEntry.createTool();
ICreationFactory creationFactory = creationTool.getFactory();
creationFactory.activate();
newImage = (WidgetInfo) creationFactory.getNewObject();
}
//
frame.command_CREATE2(newImage, null);
assertEditor(
"public class Test implements EntryPoint {",