blob: 9b228a186ae86293ca9655a75d6d380ffddb7125 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
/*******************************************************************************
* Copyright (c) 2004, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.intro;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IKeyBindingService;
import org.eclipse.ui.IWorkbenchSite;
/**
* The primary interface between an intro part and the workbench.
* <p>
* The workbench exposes its implemention of intro part sites via this
* interface, which is not intended to be implemented or extended by clients.
* </p>
*
* @since 3.0
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IIntroSite extends IWorkbenchSite {
/**
* Returns the part registry extension id for this intro site's part.
* <p>
* The name comes from the <code>id</code> attribute in the configuration
* element.
* </p>
*
* @return the registry extension id
*/
String getId();
/**
* Returns the unique identifier of the plug-in that defines this intro site's
* part.
*
* @return the unique identifier of the declaring plug-in
* @see org.eclipse.core.runtime.IPluginDescriptor#getUniqueIdentifier()
*/
String getPluginId();
/**
* Returns the key binding service in use.
* <p>
* The part will access this service to register all of its actions, to set the
* active scope.
* </p>
*
* @return the key binding service in use
* @deprecated Use IServiceLocator#getService(*) to retrieve IContextService and
* IHandlerService instead.
*/
@Deprecated
IKeyBindingService getKeyBindingService();
/**
* Returns the action bars for this part site. The intro part has exclusive use
* of its site's action bars.
*
* @return the action bars
*/
IActionBars getActionBars();
}
|