Class 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 Detail

      • PasteCommandTester

        public PasteCommandTester()
    • Method Detail

      • 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