Class CDOUIProvider

    • Constructor Detail

      • CDOUIProvider

        public CDOUIProvider()
        Default Constructor.
    • Method Detail

      • getText

        public java.lang.String getText​(java.lang.Object element)
        Description copied from class: DefaultUIProvider
        Returns the name for an element.
        Specified by:
        getText in interface UIProvider
        Overrides:
        getText in class DefaultUIProvider
        Parameters:
        element - the object to return the name for
        Returns:
        the name of this element
      • getImage

        public org.eclipse.swt.graphics.Image getImage​(java.lang.Object element)
        Description copied from class: DefaultUIProvider
        Returns the image for an element.
        Specified by:
        getImage in interface UIProvider
        Overrides:
        getImage in class DefaultUIProvider
        Parameters:
        element - the object to return the image for
        Returns:
        the name of this element
      • createAddRepositoryUI

        public org.eclipse.swt.widgets.Control createAddRepositoryUI​(org.eclipse.swt.widgets.Composite parent,
                                                                     ECPProperties repositoryProperties,
                                                                     org.eclipse.swt.widgets.Text repositoryNameText,
                                                                     org.eclipse.swt.widgets.Text repositoryLabelText,
                                                                     org.eclipse.swt.widgets.Text repositoryDescriptionText)
        Description copied from class: DefaultUIProvider
        The UIProvider can return its provider specific UI to allow the user to fill in provider specific data during the creation of an Repository.
        Specified by:
        createAddRepositoryUI in interface UIProvider
        Overrides:
        createAddRepositoryUI in class DefaultUIProvider
        Parameters:
        parent - the Composite to fill
        repositoryProperties - the ECPProperties of the repository to create
        repositoryNameText - the Text widget handling the repository name
        repositoryLabelText - the Text widget handling the repository label
        repositoryDescriptionText - the Text widget handling the repository description
        Returns:
        the created control