Class SdkRow


  • public class SdkRow
    extends AbstractConfigRow
    Row displaying the selection of an SDK instance.
    • Constructor Detail

      • SdkRow

        public SdkRow​(org.eclipse.swt.widgets.Composite pParent,
                      java.lang.String pProperty,
                      ISdk pToSelect)
        Constructor.
        Parameters:
        pParent - the composite where to create the row
        pProperty - the property for the row events
        pToSelect - the configuration element to select first
    • Method Detail

      • addListener

        protected void addListener​(IConfigListener pConfigListener)
        Add the configuration listener to the correct configuration container.
        Specified by:
        addListener in class AbstractConfigRow
        Parameters:
        pConfigListener - the listener to add
      • removeListener

        protected void removeListener​(IConfigListener pConfigListener)
        Remove the configuration listener from the correct configuration container.
        Specified by:
        removeListener in class AbstractConfigRow
        Parameters:
        pConfigListener - the listener to remove
      • createTable

        protected AbstractTable createTable​(org.eclipse.swt.widgets.Composite pParent)
        Create the table to show the configuration elements in the dialog.
        Specified by:
        createTable in class AbstractConfigRow
        Parameters:
        pParent - the parent for the table.
        Returns:
        the initialized table
      • getConfigValues

        protected java.lang.String[] getConfigValues()
        Specified by:
        getConfigValues in class AbstractConfigRow
        Returns:
        the values to show in the list box.
      • getRowLabel

        protected java.lang.String getRowLabel()
        Specified by:
        getRowLabel in class AbstractConfigRow
        Returns:
        the label to show for the row
      • getElementName

        protected java.lang.String getElementName​(java.lang.Object pToSelect)
        Computes the name to use to select the given object.
        Specified by:
        getElementName in class AbstractConfigRow
        Parameters:
        pToSelect - the configuration object for which to get the name
        Returns:
        the name to use for the selection
      • getTableDialogTitle

        protected java.lang.String getTableDialogTitle()
        Specified by:
        getTableDialogTitle in class AbstractConfigRow
        Returns:
        the title of the configuration dialog.