blob: 10ca8a130e68353084fbd87cca99134b63cd4d3a (
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
|
/*******************************************************************************
* Copyright (c) 2000, 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.part;
import org.eclipse.ui.PartInitException;
/**
* Interface for a page in a pagebook view.
* <p>
* Pages should implement this interface.
* </p>
* @see PageBookView
* @see Page
*/
public interface IPageBookViewPage extends IPage {
/**
* Returns the site for this page. May be <code>null</code>
* if no site has been set.
*
* @return the page site or <code>null</code>
*/
IPageSite getSite();
/**
* Initializes this page with the given page site.
* <p>
* This method is automatically called by the workbench shortly after page
* construction. It marks the start of the pages's lifecycle. Clients must
* not call this method.
* </p>
*
* @param site the page site
* @exception PartInitException if this page was not initialized successfully
*/
void init(IPageSite site) throws PartInitException;
}
|