Package org.intermine.web.logic.query
Class DisplayConstraintHelpMessages
- java.lang.Object
-
- org.intermine.web.logic.query.DisplayConstraintHelpMessages
-
public final class DisplayConstraintHelpMessages extends java.lang.Object
Class to generate help messages appropriate to a given constraint for display in the QueryBuilder and template form.- Author:
- Richard Smith
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getHelpMessage(DisplayConstraint con)
Generate a context sensitive help message for a constraint.
-
-
-
Method Detail
-
getHelpMessage
public static java.lang.String getHelpMessage(DisplayConstraint con)
Generate a context sensitive help message for a constraint. The message will explain all available options - e.g. if a dropdown will explain how to enter multiple values, if a string field how to use wildcards.- Parameters:
con
- the constraint to generate help for- Returns:
- a context sensitive help message
-
-