Interface EMFFormsSpreadsheetFormatDescriptionProvider

  • All Known Implementing Classes:
    EMFFormsSpreadsheetFormatDescriptionProviderImpl

    public interface EMFFormsSpreadsheetFormatDescriptionProvider
    A service that translates the format and the constraint information for a given structural feature into a human readable string that can be used to provide guidance when filling out a spreadsheet. A default implementation is provided by EMFFormsSpreadsheetFormatDescriptionProviderImpl; it can be overridden by providing a OSGi service instance with a higher priority.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFormatDescription​(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
      Based on the given structural feature a human readable format string is being computed; this string is meant to help a user to fill out forms in a spreadsheet.
    • Method Detail

      • getFormatDescription

        java.lang.String getFormatDescription​(org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
        Based on the given structural feature a human readable format string is being computed; this string is meant to help a user to fill out forms in a spreadsheet.
        Parameters:
        structuralFeature - used for the format description.
        Returns:
        A string that describes the format and the constraints of the structural feature.