我有一个应用程序需要绘制以下内容:
申请表A:
describe('Login Component', () => {
let comp: LoginComponent;
let fixture: ComponentFixture<LoginComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [LoginComponent],
providers: [
FormBuilder
]
}).compileComponents()
.then(() => {
fixture = TestBed.createComponent(LoginComponent);
comp = fixture.componentInstance;
});
}));
it('user should update from form changes', fakeAsync(() => {
const testUser = {
email: 'test@test.com',
password: '12345'
};
comp.loginForm.controls['email'].setValue(testUser.email);
comp.loginForm.controls['password'].setValue(testUser.password);
expect(comp.user).toEqual(testUser);
}));
});
目前,窗口如下所示:
申请表B:
== MENU ==============================================
======================= BANNER =======================
======================================================
| LEFT VIEW | TOP VIEW |
| | |
| | |
| | |
| | |
| | |
| | |
| |========================================|
| | BOTTOM VIEW |
| | |
| | |
======================= BANNER =======================
======================================================
我们需要获取视图并在横幅之间绘制它们,如应用程序A所示。视图是通过IFolderLayout接口创建的。横幅是通过复合材料绘制的。有没有办法可以将视图的绘制转移到位于应用程序B中两个横幅之间的复合体中?我们正在使用Eclipse RCP 4框架。