1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.ui.workbench;
14 public interface IPerspectiveBarsExtension {
16 String getPerspectiveId();
20 Boolean getStatusLine();
21 Boolean getPerspectiveBar();
22 Boolean getFastViewBar();
23 Boolean getProgressIndicator();
25 class Stub implements IPerspectiveBarsExtension {
30 Boolean perspectiveBar;
32 Boolean progressIndicator;
34 Stub(String perspectiveId, Boolean menuBar, Boolean coolBar, Boolean statusLine, Boolean perspectiveBar, Boolean fastViewBar, Boolean progressIndicator) {
35 this.perspectiveId = perspectiveId;
36 this.menuBar = menuBar;
37 this.coolBar = coolBar;
38 this.statusLine = statusLine;
39 this.perspectiveBar = perspectiveBar;
40 this.fastViewBar = fastViewBar;
41 this.progressIndicator = progressIndicator;
45 public String getPerspectiveId() {
50 public Boolean getCoolBar() {
55 public Boolean getFastViewBar() {
60 public Boolean getMenuBar() {
65 public Boolean getPerspectiveBar() {
66 return perspectiveBar;
70 public Boolean getProgressIndicator() {
71 return progressIndicator;
75 public Boolean getStatusLine() {