]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/labelers/LabelerStub.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.browsing.ui.common / src / org / simantics / browsing / ui / common / labelers / LabelerStub.java
index 122c9ed5115636bcf2680c2ce45da91b61b41da6..468df9ae885a10376cd5758e87880d915cfba93d 100644 (file)
@@ -13,7 +13,10 @@ package org.simantics.browsing.ui.common.labelers;
 \r
 import java.util.Map;\r
 \r
+import org.eclipse.swt.widgets.Composite;\r
+import org.eclipse.swt.widgets.Event;\r
 import org.simantics.browsing.ui.GraphExplorer.ModificationContext;\r
+import org.simantics.browsing.ui.NodeContext;\r
 import org.simantics.browsing.ui.content.Labeler;\r
 \r
 /**\r
@@ -21,6 +24,10 @@ import org.simantics.browsing.ui.content.Labeler;
  * \r
  * @author Tuukka Lehtonen\r
  */\r
+/**\r
+ * @author Jani Simomaa\r
+ *\r
+ */\r
 public class LabelerStub implements Labeler {\r
 \r
     protected LabelerContent content = LabelerContent.NO_CONTENT;\r
@@ -64,4 +71,23 @@ public class LabelerStub implements Labeler {
     public void setListener(LabelerListener listener) {\r
     }\r
 \r
+    /**\r
+     * @param event\r
+     * @param parent\r
+     * @param nodeContext\r
+     * @return\r
+     */\r
+    public Composite createToolTipContentArea(Event event, Composite parent, NodeContext nodeContext) {\r
+        return null;\r
+    }\r
+\r
+    /**\r
+     * @param event\r
+     * @param nodeContext\r
+     * @return\r
+     */\r
+    public boolean shouldCreateToolTip(Event event, NodeContext nodeContext) {\r
+        return false;\r
+    }\r
+    \r
 }\r