]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/INode.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / modelBrowser / model / INode.java
index f05b0ae2e286a060b44766fd950dc0b1b360498d..0dd834ea050efd29d888b9ad262eb42007187ed2 100644 (file)
@@ -1,53 +1,53 @@
-/*******************************************************************************\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.modeling.ui.modelBrowser.model;\r
-\r
-import java.util.Collection;\r
-\r
-import org.eclipse.core.runtime.IAdaptable;\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.jface.viewers.ISelection;\r
-import org.simantics.browsing.ui.common.node.IDeletable;\r
-import org.simantics.browsing.ui.common.node.IModifiable;\r
-import org.simantics.browsing.ui.common.node.IRefreshable;\r
-import org.simantics.browsing.ui.content.Labeler.Modifier;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Session;\r
-import org.simantics.db.WriteGraph;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-/**\r
- * INode represents a node in the graph based object model.\r
- * \r
- * @see IDeletable\r
- * @see IModifiable\r
- * @see IRefreshable\r
- * @see IOpenable\r
- * \r
- * @deprecated <a href="https://www.simantics.org/wiki/index.php/Org.simantics.browsing.ui_Manual">See tutorial for new features</a>\r
- */\r
-@Deprecated\r
-public interface INode extends IAdaptable {\r
-    String getLabel(ReadGraph graph) throws DatabaseException;\r
-    int getCategory(ReadGraph graph) throws DatabaseException;\r
-    Collection<?> getChildren(ReadGraph graph) throws DatabaseException;\r
-    boolean hasChildren(ReadGraph graph) throws DatabaseException;\r
-    ImageDescriptor getImage(ReadGraph graph) throws DatabaseException;\r
-    void handleDrop(Session session, ISelection selection);\r
-    Modifier getModifier(Session session, String columnId);\r
-\r
-    /**\r
-     * Delete node in the background system. The node is considered deletable\r
-     * only if it implements {@link IDeletable}.\r
-     */\r
-    void handleDelete(WriteGraph graph) throws DatabaseException;\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.modeling.ui.modelBrowser.model;
+
+import java.util.Collection;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.ISelection;
+import org.simantics.browsing.ui.common.node.IDeletable;
+import org.simantics.browsing.ui.common.node.IModifiable;
+import org.simantics.browsing.ui.common.node.IRefreshable;
+import org.simantics.browsing.ui.content.Labeler.Modifier;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Session;
+import org.simantics.db.WriteGraph;
+import org.simantics.db.exception.DatabaseException;
+
+/**
+ * INode represents a node in the graph based object model.
+ * 
+ * @see IDeletable
+ * @see IModifiable
+ * @see IRefreshable
+ * @see IOpenable
+ * 
+ * @deprecated <a href="https://www.simantics.org/wiki/index.php/Org.simantics.browsing.ui_Manual">See tutorial for new features</a>
+ */
+@Deprecated
+public interface INode extends IAdaptable {
+    String getLabel(ReadGraph graph) throws DatabaseException;
+    int getCategory(ReadGraph graph) throws DatabaseException;
+    Collection<?> getChildren(ReadGraph graph) throws DatabaseException;
+    boolean hasChildren(ReadGraph graph) throws DatabaseException;
+    ImageDescriptor getImage(ReadGraph graph) throws DatabaseException;
+    void handleDrop(Session session, ISelection selection);
+    Modifier getModifier(Session session, String columnId);
+
+    /**
+     * Delete node in the background system. The node is considered deletable
+     * only if it implements {@link IDeletable}.
+     */
+    void handleDelete(WriteGraph graph) throws DatabaseException;
+}