Interface ITextOperationTargetExtension

All Known Implementing Classes:
ProjectionViewer, SourceViewer, TextConsoleViewer, TextViewer

public interface ITextOperationTargetExtension
Extension interface for ITextOperationTarget.

Allows a client to control the enable state of operations provided by this target.

Since:
2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enableOperation(int operation, boolean enable)
    Enables/disabled the given text operation.
  • Method Details

    • enableOperation

      void enableOperation(int operation, boolean enable)
      Enables/disabled the given text operation.
      Parameters:
      operation - the operation to enable/disable
      enable - true to enable the operation otherwise false