X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.common%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fcommon%2Flabelers%2FLabelerStub.java;h=468df9ae885a10376cd5758e87880d915cfba93d;hp=122c9ed5115636bcf2680c2ce45da91b61b41da6;hb=96bb7ef9cbe42d82eb58306d8f9b62392cc29ba8;hpb=ae5bb63c5c88f6569518fed2a24df86fbd0570ff diff --git a/bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/labelers/LabelerStub.java b/bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/labelers/LabelerStub.java index 122c9ed51..468df9ae8 100644 --- a/bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/labelers/LabelerStub.java +++ b/bundles/org.simantics.browsing.ui.common/src/org/simantics/browsing/ui/common/labelers/LabelerStub.java @@ -13,7 +13,10 @@ package org.simantics.browsing.ui.common.labelers; import java.util.Map; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Event; import org.simantics.browsing.ui.GraphExplorer.ModificationContext; +import org.simantics.browsing.ui.NodeContext; import org.simantics.browsing.ui.content.Labeler; /** @@ -21,6 +24,10 @@ import org.simantics.browsing.ui.content.Labeler; * * @author Tuukka Lehtonen */ +/** + * @author Jani Simomaa + * + */ public class LabelerStub implements Labeler { protected LabelerContent content = LabelerContent.NO_CONTENT; @@ -64,4 +71,23 @@ public class LabelerStub implements Labeler { public void setListener(LabelerListener listener) { } + /** + * @param event + * @param parent + * @param nodeContext + * @return + */ + public Composite createToolTipContentArea(Event event, Composite parent, NodeContext nodeContext) { + return null; + } + + /** + * @param event + * @param nodeContext + * @return + */ + public boolean shouldCreateToolTip(Event event, NodeContext nodeContext) { + return false; + } + }