Class MatcherProperties
- java.lang.Object
-
- org.eclipse.viatra.addon.databinding.runtime.adapter.MatcherProperties
-
public class MatcherProperties extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MatcherProperties.MatcherLabelProperty
protected static class
MatcherProperties.MatcherProperty
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static java.lang.String[]
getPropertyNames(IQuerySpecification<?> query)
Returns the array of observable values based on a VIATRA Query specification.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.
-
-
-
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 specificationmatch
- the match objectparameterName
- 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 specificationparameterName
- the parameter name- Returns:
- a value property
-
-