Package com._1c.g5.v8.dt.md.ui.commands
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 PasteCommandTester()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isEnabled(Object selectedObject)
Checks if command 'Paste' can be enabledboolean
test(Object receiver, String property, Object[] args, Object expectedValue)
-
-
-
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
-
-