Package org.eclipse.ui.internal
Class OpenPerspectivePropertyTester
java.lang.Object
org.eclipse.core.expressions.PropertyTester
org.eclipse.ui.internal.OpenPerspectivePropertyTester
- All Implemented Interfaces:
IPropertyTester
Tests if any Perspective is open or not.
- Since:
- 3.3
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.core.expressions.PropertyTester
handles, instantiate, internalCreateDescriptor, internalInitialize, isDeclaringPluginActive, isInstantiated
-
Constructor Details
-
OpenPerspectivePropertyTester
public OpenPerspectivePropertyTester()
-
-
Method Details
-
test
Description copied from interface:IPropertyTester
Executes the property test determined by the parameterproperty
.- Parameters:
receiver
- the receiver of the property testproperty
- the property to testargs
- additional arguments to evaluate the property. If no arguments are specified in thetest
expression an array of length 0 is passedexpectedValue
- the expected value of the property. The value is either of typejava.lang.String
or a boxed base type. If no value was specified in thetest
expressions thennull
is passed- Returns:
- returns
true
if the property is equal to the expected value; otherwisefalse
is returned
-