Class ECPAbstractCustomControlSWT.SWTCustomControlHelper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHelp​(VDomainModelReference domainModelReference)
      This return a text providing a long helpful description of the feature.
      org.eclipse.swt.graphics.Image getImage​(int imageType)
      Allows to get an Image based on the constants defined in ECPAbstractCustomControlSWT.
      java.lang.String getLabel​(VDomainModelReference domainModelReference)
      This return a text providing a short label of the feature.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SWTCustomControlHelper

        public SWTCustomControlHelper()
    • Method Detail

      • getImage

        public org.eclipse.swt.graphics.Image getImage​(int imageType)
        Allows to get an Image based on the constants defined in ECPAbstractCustomControlSWT.
        Parameters:
        imageType - the image type to retrieve
        Returns:
        the retrieved Image or null if an unknown imageType was provided
      • getHelp

        public java.lang.String getHelp​(VDomainModelReference domainModelReference)
        This return a text providing a long helpful description of the feature. Can be used for example in a ToolTip.
        Parameters:
        domainModelReference - the VDomainModelReference to retrieve the help text for
        Returns:
        the String containing the helpful description or null if no description is found
        Since:
        1.3
      • getLabel

        public java.lang.String getLabel​(VDomainModelReference domainModelReference)
        This return a text providing a short label of the feature. Can be used for example as a label in front of the edit field.
        Parameters:
        domainModelReference - the VDomainModelReference to retrieve the text for
        Returns:
        the String containing the label null if no label is found
        Since:
        1.3