Commit 54d7a75c authored by Sebastian Pretscher's avatar Sebastian Pretscher
Browse files

Removed old tooltip

parent f4551f2b
...@@ -801,18 +801,18 @@ public class CupConflictGraphView extends CupGraphBase implements ...@@ -801,18 +801,18 @@ public class CupConflictGraphView extends CupGraphBase implements
@Override @Override
public IFigure getTooltip(Object entity) { public IFigure getTooltip(Object entity) {
return null;
/*
org.eclipse.draw2d.Label description = null; org.eclipse.draw2d.Label description = null;
/*
if (entity instanceof ParserConflictNode) { if (entity instanceof ParserConflictNode) {
ParserConflictNode n = (ParserConflictNode) entity; ParserConflictNode n = (ParserConflictNode) entity;
description = new org.eclipse.draw2d.Label(n.getDescription()); description = new org.eclipse.draw2d.Label(n.getDescription());
description.setText(n.getDescription()); description.setText(n.getDescription());
return description; return description;
} }
*/
description = new org.eclipse.draw2d.Label(""); description = new org.eclipse.draw2d.Label("");
return description; return description;
*/
} }
@Override @Override
......
...@@ -720,11 +720,6 @@ public class CupReduceGraphView extends CupGraphBase ...@@ -720,11 +720,6 @@ public class CupReduceGraphView extends CupGraphBase
@Override @Override
public IFigure getTooltip(Object entity) { public IFigure getTooltip(Object entity) {
Label description = null; Label description = null;
if (entity instanceof ParserReduceNode) {
ParserReduceNode n = (ParserReduceNode) entity;
description = new Label(n.getDescription());
return description;
}
description = new Label(""); description = new Label("");
return description; return description;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment