diff org.eclipse.ui.forms/src/org/eclipse/ui/forms/IDetailsPage.d @ 12:bc29606a740c

Added dwt-addons in original directory structure of eclipse.org
author Frank Benoit <benoit@tionex.de>
date Sat, 14 Mar 2009 18:23:29 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/org.eclipse.ui.forms/src/org/eclipse/ui/forms/IDetailsPage.d	Sat Mar 14 18:23:29 2009 +0100
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ * Port to the D programming language:
+ *     Frank Benoit <benoit@tionex.de>
+ *******************************************************************************/
+module org.eclipse.ui.forms.IDetailsPage;
+
+import java.lang.all;
+
+import org.eclipse.ui.forms.IFormPart;
+import org.eclipse.ui.forms.IPartSelectionListener;
+
+import org.eclipse.swt.widgets.Composite;
+
+/**
+ * This interface should be implemented by clients providing
+ * pages to handle object types in DetailsPart. Most of the
+ * life cycle is the same as for the IFormPart. The page is
+ * a part selection listener since selections in the master
+ * part will be passed to the currently visible page.
+ *
+ * @see DetailsPart
+ * @see MasterDetailsBlock
+ * @since 3.0
+ */
+public interface IDetailsPage : IFormPart, IPartSelectionListener {
+    /**
+     * Creates the contents of the page in the provided parent.
+     * @param parent the parent to create the page in
+     */
+    void createContents(Composite parent);
+}