1 /*
2 WSMO Studio - a Semantic Web Service Editor
3 Copyright (c) 2004-2006, Ontotext Lab. / SIRMA Group
4
5 This library is free software; you can redistribute it and/or modify it under
6 the terms of the GNU Lesser General Public License as published by the Free
7 Software Foundation; either version 2.1 of the License, or (at your option)
8 any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 details.
13 You should have received a copy of the GNU Lesser General Public License along
14 with this library; if not, write to the Free Software Foundation, Inc.,
15 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */
17
18 /***
19 * <p>Title: WSMO Studio</p>
20 * <p>Description: Semantic Web Service Editor</p>
21 * <p>Copyright: Copyright (c) 2004-2006</p>
22 * <p>Company: Ontotext Lab. / SIRMA </p>
23 */
24
25 package org.wsmostudio.grounding.sawsdl.perspective;
26
27 import org.eclipse.ui.*;
28 import org.wsmostudio.grounding.sawsdl.ui.OntologyViewer;
29
30 /***
31 *
32 * @author not attributable
33 * @version $Revision: 841 $ $Date: 2006-07-07 16:02:44 +0300 $
34 */
35
36 public class SAWSDLPerspecitveFactory implements IPerspectiveFactory {
37
38 public void createInitialLayout(IPageLayout layout) {
39 String edName = layout.getEditorArea();
40 IFolderLayout naviFolder = layout.createFolder("naviFolder", IPageLayout.LEFT, 0.35f, edName);
41 naviFolder.addView(IPageLayout.ID_RES_NAV);
42
43 IFolderLayout outlineFolder = layout.createFolder("outlineFolder", IPageLayout.BOTTOM, 0.3f, "naviFolder");
44 outlineFolder.addView(OntologyViewer.VIEW_ID);
45 }
46
47 public boolean isFixed(){
48 return false;
49 }
50 }
51
52 /*
53 * $Log$
54 * Revision 1.3 2006/07/07 13:02:44 alex_simov
55 * commented code removed
56 *
57 * Revision 1.2 2006/07/06 15:04:37 alex_simov
58 * no message
59 *
60 * Revision 1.1 2006/07/05 15:37:28 alex_simov
61 * no message
62 *
63 *
64 */