Class LineContentCodeMining

java.lang.Object
org.eclipse.jface.text.codemining.AbstractCodeMining
org.eclipse.jface.text.codemining.LineContentCodeMining
All Implemented Interfaces:
ICodeMining
Direct Known Subclasses:
LineEndCodeMining

public abstract class LineContentCodeMining extends AbstractCodeMining
Abstract class for line content code mining.
Since:
3.13
  • Constructor Details

    • LineContentCodeMining

      public LineContentCodeMining(Position position, ICodeMiningProvider provider)
      CodeMining constructor to locate the code mining in a given position.
      Parameters:
      position - the position where the mining must be drawn.
      provider - the owner codemining provider which creates this mining.
    • LineContentCodeMining

      public LineContentCodeMining(Position position, ICodeMiningProvider provider, Consumer<MouseEvent> action)
      CodeMining constructor to locate the code mining in a given position.
      Parameters:
      position - the position where the mining must be drawn.
      provider - the owner codemining provider which creates this mining.
      action - the action to execute when mining is clicked and null otherwise.