Class PasteCommandTester

java.lang.Object
org.eclipse.core.expressions.PropertyTester
com._1c.g5.v8.dt.md.ui.commands.PasteCommandTester
All Implemented Interfaces:
org.eclipse.core.expressions.IPropertyTester

public class PasteCommandTester extends org.eclipse.core.expressions.PropertyTester
Property tester for 'Paste' command. Supports following tests:
  • enabled – returns true if command can be enabled, false otherwise.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isEnabled(Object selectedObject)
    Checks if command 'Paste' can be enabled
    boolean
    test(Object receiver, String property, Object[] args, Object expectedValue)
     

    Methods inherited from class org.eclipse.core.expressions.PropertyTester

    handles, instantiate, internalCreateDescriptor, internalInitialize, isDeclaringPluginActive, isInstantiated

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PasteCommandTester

      public PasteCommandTester()
  • Method Details

    • isEnabled

      public static boolean isEnabled(Object selectedObject)
      Checks if command 'Paste' can be enabled
      Parameters:
      selectedObject - - context object in selection
      Returns:
      true if command 'Paste' can be enabled, false otherwise
    • test

      public boolean test(Object receiver, String property, Object[] args, Object expectedValue)