Class MatcherProperties


  • public class MatcherProperties
    extends java.lang.Object
    • Method Detail

      • getPropertyNames

        public static java.lang.String[] getPropertyNames​(IQuerySpecification<?> query)
        Returns the array of observable values based on a VIATRA Query specification.
        Parameters:
        The - query specification
        Returns:
        the array of values
      • getObservableValue

        public static org.eclipse.core.databinding.observable.value.IObservableValue getObservableValue​(IQuerySpecification<?> query,
                                                                                                        IPatternMatch match,
                                                                                                        java.lang.String parameterName)
        Returns an observable value for the given match and parameterName.
        Parameters:
        query - the query specification
        match - the match object
        parameterName - the parameter name
        Returns:
        an observable value
      • getValueProperty

        public static org.eclipse.core.databinding.property.value.IValueProperty getValueProperty​(IQuerySpecification<?> query,
                                                                                                  java.lang.String parameterName)
        Returns an IValueProperty for the given query specification and parameterName.
        Parameters:
        query - the query specification
        parameterName - the parameter name
        Returns:
        a value property