X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FmodelBrowser%2Fmodel%2FINode.java;h=0dd834ea050efd29d888b9ad262eb42007187ed2;hb=89509fcdedf40fcfca0144158c28802dea4ab18f;hp=f05b0ae2e286a060b44766fd950dc0b1b360498d;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/INode.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/INode.java
index f05b0ae2e..0dd834ea0 100644
--- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/INode.java
+++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/INode.java
@@ -1,53 +1,53 @@
-/*******************************************************************************
- * 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 See tutorial for new features
- */
-@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;
-}
+/*******************************************************************************
+ * 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 See tutorial for new features
+ */
+@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;
+}