Class OpenPerspectivePropertyTester

java.lang.Object
org.eclipse.core.expressions.PropertyTester
org.eclipse.ui.internal.OpenPerspectivePropertyTester
All Implemented Interfaces:
IPropertyTester

public class OpenPerspectivePropertyTester extends PropertyTester
Tests if any Perspective is open or not.
Since:
3.3
  • Constructor Details

    • OpenPerspectivePropertyTester

      public OpenPerspectivePropertyTester()
  • Method Details

    • test

      public boolean test(Object receiver, String property, Object[] args, Object expectedValue)
      Description copied from interface: IPropertyTester
      Executes the property test determined by the parameter property.
      Parameters:
      receiver - the receiver of the property test
      property - the property to test
      args - additional arguments to evaluate the property. If no arguments are specified in the test expression an array of length 0 is passed
      expectedValue - the expected value of the property. The value is either of type java.lang.String or a boxed base type. If no value was specified in the test expressions then null is passed
      Returns:
      returns true if the property is equal to the expected value; otherwise false is returned