viewFactory = new GlobalViewFactory() {
@Override
public Enumeration<ViewSpecification> availableViews(final ViewRequirement viewRequirement) {
throw new UnexpectedCallException();
}
@Override
public View createDialog(final Content content) {
throw new UnexpectedCallException();
}
@Override
public DragEvent createDragContentOutline(final View view, final Location location) {
throw new UnexpectedCallException();
}
@Override
public View createDragViewOutline(final View view) {
throw new UnexpectedCallException();
}
@Override
public View createMinimizedView(final View view) {
throw new UnexpectedCallException();
}
@Override
public View createView(final ViewRequirement requirement) {
return new DummyView();
}
@Override
public void debugData(final DebugBuilder debug) {
}
@Override
public String debugTitle() {
throw new UnexpectedCallException();
}
@Override
public void addSpecification(final ViewSpecification spec) {
}