-/*******************************************************************************\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.simantics.browsing.ui.NodeContext;\r
-import org.simantics.browsing.ui.common.node.DeleteException;\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
-\r
-/**\r
- * INode2 represents a node in the background system 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">tutorial for new features</a>\r
- */\r
-@Deprecated\r
-public interface INode2 extends IAdaptable {\r
- String getLabel(Runnable updater, NodeContext context);\r
- int getCategory(Runnable updater, NodeContext context);\r
- Collection<?> getChildren(Runnable updater, NodeContext context);\r
- boolean hasChildren(Runnable updater, NodeContext context);\r
- ImageDescriptor getImage(Runnable updater, NodeContext context);\r
- Modifier getModifier(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
- * @throws DeleteException if node could not be deleted\r
- */\r
- void handleDelete() throws DeleteException;\r
-\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.simantics.browsing.ui.NodeContext;
+import org.simantics.browsing.ui.common.node.DeleteException;
+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;
+
+/**
+ * INode2 represents a node in the background system 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">tutorial for new features</a>
+ */
+@Deprecated
+public interface INode2 extends IAdaptable {
+ String getLabel(Runnable updater, NodeContext context);
+ int getCategory(Runnable updater, NodeContext context);
+ Collection<?> getChildren(Runnable updater, NodeContext context);
+ boolean hasChildren(Runnable updater, NodeContext context);
+ ImageDescriptor getImage(Runnable updater, NodeContext context);
+ Modifier getModifier(String columnId);
+
+ /**
+ * Delete node in the background system. The node is considered deletable
+ * only if it implements {@link IDeletable}.
+ *
+ * @throws DeleteException if node could not be deleted
+ */
+ void handleDelete() throws DeleteException;
+
+}