Skip to content

Package: Perspective

Perspective

nameinstructionbranchcomplexitylinemethod
Perspective()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
createInitialLayout(IPageLayout)
M: 15 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 4 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /**
2: * Copyright (c) 2011-2014 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * EclipseSource Munich - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.makeithappen.application.sample.rap;
15:
16: import org.eclipse.ui.IPageLayout;
17: import org.eclipse.ui.IPerspectiveFactory;
18:
19: /**
20: * Default Perspective.
21: *
22: */
23: public class Perspective implements IPerspectiveFactory {
24:
25:         @Override
26:         public void createInitialLayout(IPageLayout layout) {
27:                 layout.setEditorAreaVisible(false);
28:                 layout.setFixed(true);
29:                 layout.addStandaloneView(View.ID, false, IPageLayout.LEFT, 1.0f, layout.getEditorArea());
30:
31:         }
32:
33: }