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.PropertyTesterProperty tester for 'Paste' command. Supports following tests:- enabled – returns
trueif command can be enabled,falseotherwise.
-
-
Constructor Summary
Constructors Constructor Description PasteCommandTester()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisEnabled(Object selectedObject)Checks if command 'Paste' can be enabledbooleantest(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:
trueif command 'Paste' can be enabled,falseotherwise
-
-