]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.selectionview/src/org/simantics/selectionview/IPropertyTab2.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.selectionview / src / org / simantics / selectionview / IPropertyTab2.java
index b2ee9e311f0a8ff8e2f381d47de0c5bf8a8fd44c..5c199cfb26dc57a83b45ab382d35d8981e711e12 100644 (file)
@@ -1,39 +1,39 @@
-/*******************************************************************************\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 java.util.function.Consumer;\r
-\r
-import org.eclipse.jface.viewers.ISelection;\r
-\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- * \r
- * @see PropertyTabAdapter\r
- * @see PropertyTabContributorImpl\r
- */\r
-public interface IPropertyTab2 extends IPropertyTab {\r
-\r
-    /**\r
-     * @param updateCallback a callback that <em>can be</em> invoked by\r
-     *        getPartName if it wishes to change the part name. If the page does\r
-     *        not wish to change the part name, it does not have to invoke the\r
-     *        updateCallback. A <code>null</code> value indicates that the part\r
-     *        name should be returned to its default value. The method should\r
-     *        use the selection received by\r
-     *        {@link #setInput(org.simantics.db.management.ISessionContext, ISelection, boolean)}\r
-     *        as input for constructing the part title.\r
-     */\r
-    void updatePartName(Consumer<String> updateCallback);\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 java.util.function.Consumer;
+
+import org.eclipse.jface.viewers.ISelection;
+
+
+/**
+ * @author Tuukka Lehtonen
+ * 
+ * @see PropertyTabAdapter
+ * @see PropertyTabContributorImpl
+ */
+public interface IPropertyTab2 extends IPropertyTab {
+
+    /**
+     * @param updateCallback a callback that <em>can be</em> invoked by
+     *        getPartName if it wishes to change the part name. If the page does
+     *        not wish to change the part name, it does not have to invoke the
+     *        updateCallback. A <code>null</code> value indicates that the part
+     *        name should be returned to its default value. The method should
+     *        use the selection received by
+     *        {@link #setInput(org.simantics.db.management.ISessionContext, ISelection, boolean)}
+     *        as input for constructing the part title.
+     */
+    void updatePartName(Consumer<String> updateCallback);
+
 }
\ No newline at end of file