]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.ui/src/org/simantics/ui/workbench/IPerspectiveBarsExtension.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / workbench / IPerspectiveBarsExtension.java
1 /*******************************************************************************\r
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
3  * in Industry THTH ry.\r
4  * All rights reserved. This program and the accompanying materials\r
5  * are made available under the terms of the Eclipse Public License v1.0\r
6  * which accompanies this distribution, and is available at\r
7  * http://www.eclipse.org/legal/epl-v10.html\r
8  *\r
9  * Contributors:\r
10  *     VTT Technical Research Centre of Finland - initial API and implementation\r
11  *******************************************************************************/\r
12 package org.simantics.ui.workbench;\r
13 \r
14 public interface IPerspectiveBarsExtension {\r
15 \r
16     String getPerspectiveId();\r
17 \r
18     Boolean getMenuBar();\r
19     Boolean getCoolBar();\r
20     Boolean getStatusLine();\r
21     Boolean getPerspectiveBar();\r
22     Boolean getFastViewBar();\r
23     Boolean getProgressIndicator();\r
24 \r
25     class Stub implements IPerspectiveBarsExtension {\r
26         String   perspectiveId;\r
27         Boolean menuBar;\r
28         Boolean coolBar;\r
29         Boolean statusLine;\r
30         Boolean perspectiveBar;\r
31         Boolean fastViewBar;\r
32         Boolean progressIndicator;\r
33 \r
34         Stub(String perspectiveId, Boolean menuBar, Boolean coolBar, Boolean statusLine, Boolean perspectiveBar, Boolean fastViewBar, Boolean progressIndicator) {\r
35             this.perspectiveId = perspectiveId;\r
36             this.menuBar = menuBar;\r
37             this.coolBar = coolBar;\r
38             this.statusLine = statusLine;\r
39             this.perspectiveBar = perspectiveBar;\r
40             this.fastViewBar = fastViewBar;\r
41             this.progressIndicator = progressIndicator;\r
42         }\r
43 \r
44         @Override\r
45         public String getPerspectiveId() {\r
46             return perspectiveId;\r
47         }\r
48         \r
49         @Override\r
50         public Boolean getCoolBar() {\r
51                 return coolBar;\r
52         }\r
53         \r
54         @Override\r
55         public Boolean getFastViewBar() {\r
56                 return fastViewBar;\r
57         }\r
58         \r
59         @Override\r
60         public Boolean getMenuBar() {\r
61                 return menuBar;\r
62         }\r
63         \r
64         @Override\r
65         public Boolean getPerspectiveBar() {\r
66                 return perspectiveBar;\r
67         }\r
68         \r
69         @Override\r
70         public Boolean getProgressIndicator() {\r
71                 return progressIndicator;\r
72         }\r
73         \r
74         @Override\r
75         public Boolean getStatusLine() {\r
76                 return statusLine;\r
77         }\r
78     }\r
79 }\r