]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.selectionview/src/org/simantics/selectionview/PropertyTabContributor.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.selectionview / src / org / simantics / selectionview / PropertyTabContributor.java
index d618aa42185922f00ae2b2af55c2a9c04fd14398..41ba5a89cf469d1a9ac816311a762775b3e2f882 100644 (file)
@@ -1,55 +1,55 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.selectionview;\r
-\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.ui.IWorkbenchSite;\r
-import org.eclipse.ui.part.IPageSite;\r
-import org.eclipse.ui.part.PageBook;\r
-import org.simantics.db.management.ISessionContext;\r
-import org.simantics.selectionview.ComparableTabContributor;\r
-import org.simantics.selectionview.SelectionProcessor;\r
-\r
-/**\r
- * A {@link PropertyTabContributor} is used to encapsulate initialization of the\r
- * controls of a single tab control within a tabbed property page.\r
- * PropertyTabContributors are created internally by {@link SelectionProcessor}\r
- * implementations.\r
- * \r
- * <p>\r
- * {@link ComparableTabContributor} is used for ordering a set of\r
- * {@link PropertyTabContributor}s according to their designated priority. This\r
- * is necessary to make the tabbed UI presentation order deterministic.\r
- * \r
- * @author Tuukka Lehtonen\r
- * \r
- * @see ComparableTabContributor\r
- */\r
-public interface PropertyTabContributor {\r
-\r
-    /**\r
-     * Creates and initializes a property tab (see {@link IPropertyTab}).\r
-     * \r
-     * @param parent the parent composite for the property tab to create\r
-     * @param site site of the {@link PageBook} page this TabbedPropertyTable\r
-     *        contributes to (see {@link IPageSite})\r
-     * @param context the current database session context\r
-     * @param input processed input provided internally by\r
-     *        {@link SelectionProcessor} implementations. Do not pass this on,\r
-     *        to get input for property tab, wait for invocations to\r
-     *        {@link IPropertyTab#setInput(ISessionContext, org.eclipse.jface.viewers.ISelection, boolean)}\r
-     *        instead\r
-     * @return the created property tab control\r
-     */\r
-    IPropertyTab create(Composite parent, IWorkbenchSite site, ISessionContext context, Object input);\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * 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:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.selectionview;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.IWorkbenchSite;
+import org.eclipse.ui.part.IPageSite;
+import org.eclipse.ui.part.PageBook;
+import org.simantics.db.management.ISessionContext;
+import org.simantics.selectionview.ComparableTabContributor;
+import org.simantics.selectionview.SelectionProcessor;
+
+/**
+ * A {@link PropertyTabContributor} is used to encapsulate initialization of the
+ * controls of a single tab control within a tabbed property page.
+ * PropertyTabContributors are created internally by {@link SelectionProcessor}
+ * implementations.
+ * 
+ * <p>
+ * {@link ComparableTabContributor} is used for ordering a set of
+ * {@link PropertyTabContributor}s according to their designated priority. This
+ * is necessary to make the tabbed UI presentation order deterministic.
+ * 
+ * @author Tuukka Lehtonen
+ * 
+ * @see ComparableTabContributor
+ */
+public interface PropertyTabContributor {
+
+    /**
+     * Creates and initializes a property tab (see {@link IPropertyTab}).
+     * 
+     * @param parent the parent composite for the property tab to create
+     * @param site site of the {@link PageBook} page this TabbedPropertyTable
+     *        contributes to (see {@link IPageSite})
+     * @param context the current database session context
+     * @param input processed input provided internally by
+     *        {@link SelectionProcessor} implementations. Do not pass this on,
+     *        to get input for property tab, wait for invocations to
+     *        {@link IPropertyTab#setInput(ISessionContext, org.eclipse.jface.viewers.ISelection, boolean)}
+     *        instead
+     * @return the created property tab control
+     */
+    IPropertyTab create(Composite parent, IWorkbenchSite site, ISessionContext context, Object input);
+
 }
\ No newline at end of file