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
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.ui.workbench;
\r
14 public interface IPerspectiveBarsExtension {
\r
16 String getPerspectiveId();
\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
25 class Stub implements IPerspectiveBarsExtension {
\r
26 String perspectiveId;
\r
30 Boolean perspectiveBar;
\r
31 Boolean fastViewBar;
\r
32 Boolean progressIndicator;
\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
45 public String getPerspectiveId() {
\r
46 return perspectiveId;
\r
50 public Boolean getCoolBar() {
\r
55 public Boolean getFastViewBar() {
\r
60 public Boolean getMenuBar() {
\r
65 public Boolean getPerspectiveBar() {
\r
66 return perspectiveBar;
\r
70 public Boolean getProgressIndicator() {
\r
71 return progressIndicator;
\r
75 public Boolean getStatusLine() {
\r