75
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2005 IBM Corporation and others.
|
|
3 * All rights reserved. This program and the accompanying materials
|
|
4 * are made available under the terms of the Eclipse Public License v1.0
|
|
5 * which accompanies this distribution, and is available at
|
|
6 * http://www.eclipse.org/legal/epl-v10.html
|
|
7 *
|
|
8 * Contributors:
|
|
9 * IBM Corporation - initial API and implementation
|
|
10 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13 module dwtx.ui.forms.IDetailsPage;
|
|
14
|
|
15 import dwtx.ui.forms.IFormPart;
|
|
16 import dwtx.ui.forms.IPartSelectionListener;
|
|
17
|
|
18 import dwt.widgets.Composite;
|
|
19
|
|
20 /**
|
|
21 * This interface should be implemented by clients providing
|
|
22 * pages to handle object types in DetailsPart. Most of the
|
|
23 * life cycle is the same as for the IFormPart. The page is
|
|
24 * a part selection listener since selections in the master
|
|
25 * part will be passed to the currently visible page.
|
|
26 *
|
|
27 * @see DetailsPart
|
|
28 * @see MasterDetailsBlock
|
|
29 * @since 3.0
|
|
30 */
|
|
31 public interface IDetailsPage : IFormPart, IPartSelectionListener {
|
|
32 /**
|
|
33 * Creates the contents of the page in the provided parent.
|
|
34 * @param parent the parent to create the page in
|
|
35 */
|
|
36 void createContents(Composite parent);
|
|
37 }
|