core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/extension/IActionBar.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 package com.nokia.carbide.internal.discovery.ui.extension; |
|
18 |
|
19 import org.eclipse.jface.action.IAction; |
|
20 |
|
21 /** |
|
22 * Interface to an action/navigation bar for the portal portal page layer |
|
23 */ |
|
24 public interface IActionBar { |
|
25 |
|
26 /** |
|
27 * Required title for the action bar |
|
28 * @return String |
|
29 */ |
|
30 String getTitle(); |
|
31 |
|
32 /** |
|
33 * Actions shown in the action bar: |
|
34 * Required: text and run() methods |
|
35 * Optional: tool tip text |
|
36 * Unused: image/check |
|
37 * @return IAction |
|
38 */ |
|
39 IAction[] getActions(); |
|
40 |
|
41 /** |
|
42 * Action ids for actions that should be emphasized in the action bar (e.g., bold font) |
|
43 * @return String[] or null |
|
44 */ |
|
45 String[] getHighlightedActionIds(); |
|
46 |
|
47 } |