/* 
 * Copyright (c) 2008 Stiftung Deutsches Elektronen-Synchrotron, 
 * Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY.
 *
 * THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS. 
 * WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED 
 * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE AND 
 * NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 
 * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. SHOULD THE SOFTWARE PROVE DEFECTIVE 
 * IN ANY RESPECT, THE USER ASSUMES THE COST OF ANY NECESSARY SERVICING, REPAIR OR 
 * CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. 
 * NO USE OF ANY SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
 * DESY HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, 
 * OR MODIFICATIONS.
 * THE FULL LICENSE SPECIFYING FOR THE SOFTWARE THE REDISTRIBUTION, MODIFICATION, 
 * USAGE AND OTHER RIGHTS AND OBLIGATIONS IS INCLUDED WITH THE DISTRIBUTION OF THIS 
 * PROJECT IN THE FILE LICENSE.HTML. IF THE LICENSE IS NOT INCLUDED YOU MAY FIND A COPY 
 * AT HTTP://WWW.DESY.DE/LEGAL/LICENSE.HTM
 */
 package org.csstudio.sds.ui.internal.workbench;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

/**
 * Perspective for the <b>Synoptic Display Studio</b>.
 * 
 * @author Alexander Will
 * @version $Revision: 1.6 $
 * 
 */
public final class DisplayDevelopmentPerspective implements
		IPerspectiveFactory {
	/**
	 * The perspective's ID.
	 */
	public static final String ID = "org.csstudio.sds.ui.internal.workbench.DisplayDevelopmentPerspective"; //$NON-NLS-1$

	/**
	 * {@inheritDoc}
	 */
	public void createInitialLayout(final IPageLayout layout) {
		layout.setEditorAreaVisible(true);

		layout.addView("org.eclipse.ui.views.ResourceNavigator", IPageLayout.LEFT, 0.2f, //$NON-NLS-1$
				IPageLayout.ID_EDITOR_AREA);

//		layout.addView(PropertySheet.VIEW_ID, IPageLayout.RIGHT, 0.8f,
//				IPageLayout.ID_EDITOR_AREA);
		
		layout.addView("org.eclipse.ui.views.PropertySheet", IPageLayout.BOTTOM, 0.7f,
				IPageLayout.ID_EDITOR_AREA);
	}
}

@@ -1,11 +1,10 @@
 /*
- 
 %0A * Copy
@@ -60,17 +60,16 @@
 hrotron,
- 
 %0A * Memb
@@ -201,17 +201,16 @@
 %22 BASIS.
- 
 %0A * WITH
@@ -282,17 +282,16 @@
  LIMITED
- 
 %0A * TO T
@@ -358,17 +358,16 @@
 POSE AND
- 
 %0A * NON-
@@ -440,17 +440,16 @@
 E LIABLE
- 
 %0A * FOR 
@@ -520,17 +520,16 @@
 ONTRACT,
- 
 %0A * TORT
@@ -601,17 +601,16 @@
 TWARE OR
- 
 %0A * THE 
@@ -683,17 +683,16 @@
 EFECTIVE
- 
 %0A * IN A
@@ -766,17 +766,16 @@
 EPAIR OR
- 
 %0A * CORR
@@ -856,17 +856,16 @@
 LICENSE.
- 
 %0A * NO U
@@ -1018,17 +1018,16 @@
 CEMENTS,
- 
 %0A * OR M
@@ -1121,17 +1121,16 @@
 ICATION,
- 
 %0A * USAG
@@ -1205,17 +1205,16 @@
  OF THIS
- 
 %0A * PROJ
@@ -1293,17 +1293,16 @@
 D A COPY
- 
 %0A * AT H
@@ -1531,17 +1531,16 @@
 %3C/b%3E.%0A *
- 
 %0A * @aut
@@ -1589,17 +1589,16 @@
 1.6 $%0A *
- 
 %0A */%0Apub
@@ -1859,24 +1859,38 @@
 tDoc%7D%0A%09 */%0A%09
+@Override%0A    
 public void 
@@ -2106,20 +2106,24 @@
 AREA);%0A%0A
-//%09%09
+        
 layout.a
@@ -2129,16 +2129,38 @@
 addView(
+%22org.eclipse.ui.views.
 Property
@@ -2168,16 +2168,9 @@
 heet
-.VIEW_ID
+%22
 , IP
@@ -2183,27 +2183,45 @@
 out.
-RIGHT
+BOTTOM
 , 0.
-8f,%0A//%09%09%09%09
+7f,%0A                       
 IPag
@@ -2249,13 +2249,17 @@
 A);%0A
-%09%09%0A%09%09
+%0A        
 layo
@@ -2273,102 +2273,110 @@
 iew(
-%22org.eclipse.ui.views.PropertySheet%22, IPageLayout.BOTTOM, 0.7f,%0A%09%09%09%09IPageLayout.ID_EDITOR_AREA
+IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, 0.7f,%0A%09%09               %22org.eclipse.ui.views.PropertySheet%22
 );%0A%09

add outline view to sds perspective